Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!bbn!spdcc!merk!alliant!rosenkra
From: rosenkra@Alliant.COM (Bill Rosenkranz)
Newsgroups: comp.sys.atari.st
Subject: Re: Read Screen Character
Message-ID: <2009@alliant.Alliant.COM>
Date: 21 Jun 88 01:50:42 GMT
References: <8806151250.AA29397@ucbvax.Berkeley.EDU> <478@mks.UUCP> <5143@june.cs.washington.edu> <755@lakesys.UUCP>
Reply-To: rosenkra@alliant.UUCP (Bill Rosenkranz)
Organization: Alliant Computer Systems, Littleton, MA
Lines: 25

---
In article <755@lakesys.UUCP> jason@lakesys.UUCP (Jason) writes:
>	Another way to do it (not reading the character bit maps after on the
>screen) would be to take over the character output routines (I don't recall
>what this would take), and put all the characters into an array. Of course,
>
>	Jason
>"Not your average iconoclast"

i have actually done something along these lines (replacing the bios trap 13
handler with my own - in a futile attempt to buffer alcyon output to a file
trouble is alcyon does not use trap13...waaahhh). it looks for any Bconout
call going to dev=2 (CON:) and tee's to either a file or a buffer. it works
well and _SHOULD_ be portable across ROM versions since i get the handler
pointer from a sys vector. it is still kind of a kludge since i am not a 68000
as wiz, but it does work well from C (alcyon, of course :^).

if anybody wants it, i'll post it here (it is short). actually i don't
know if i CAN post it since it is basically the code in ROM with 10 or 12
lines added...if atari is listening, give me the ok (it is in abacus internals
and you can easily look at it with dis2nd or any other disassembler, so this
should not be a problem...)

-bill
...!rutgers!mit-eddie!alliant!rosenkra