Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!vela!m.cs.uiuc.edu!ernie!bazyar From: bazyar@ernie (Jawaid Bazyar) Newsgroups: comp.sys.apple2 Subject: Re: Multi-Colored Text screens Message-ID: <1991Mar20.000332.1774@m.cs.uiuc.edu> Date: 20 Mar 91 00:03:32 GMT References: <9103191801.AA11712@apple.com> Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager)) Reply-To: bazyar@cs.uiuc.edu (Jawaid Bazyar) Organization: Mutation Testing Facility, University of Illinois Lines: 20 In article <9103191801.AA11712@apple.com> TSEMM@ALASKA.BITNET ("Edward M. Moore") writes: >I've seen some assembly programs which display multi-colors on a text >screen. I would like to do a simular thing on my IIGS through basic. >I know I'm going to have to poke, but I'm not sure what/and where to poke. >Can anyone lend me assistance? >Thanks! Well, it's more complex than that. You have to poke every time the guns gets to a new text line and you want to change colors. You need an assembly routine (BASIC is not even close to being fast enough) to watch the Y location of the electron gun, or perhaps there's a slightly better way to read it, but that's the gist of it. I would disassemble the GS Phone Toner (a BASIC program) and see how they set it up, then stick the assembly code in your program. -- Jawaid Bazyar |"I'm sure K&R have never heard of Mike." Senior/Computer Engineering | bazyar@cs.uiuc.edu |"That's okay. I'm sure Mike's never heard of K&R". Apple II Forever! | (discussion about Orca/C)