Re: A86: Re: reset flag
[Prev][Next][Index][Thread]
Re: A86: Re: reset flag
correct me if i'm wrong, but doesn't _getkey wait until a key is pressed?
so if you took _getkey out of your program, would it still wait for a
key?
-josh
On Sat, 13 Nov 1999 11:29:26 EST "Ricky Cobb" <arcadesdude@hotmail.com>
writes:
>
>in the _getcsc and/or _clrScrn routine it tests this flag and waits
>untill a
>key is pressed to clear the screen. ex:
>
>----------------------------------------
>;waits untill a key is pressed then clears screen
>
>#include "ti86asm.inc"
>
>.org _asm_exec_ram
>
>ld hl,$FC00
>ld de,$FC01
>ld (hl),255
>ldir ;black screen
>
>set 2,(iy+09)
>call _getkey
>call _clrScrn
>res 2,(iy+09) ;wait untill key pressed to clear it
>
>jp _jforcecmdnochar ;ret without done message
>
>;PLEASE run from homescreen only some shells have problems
>;with _jforce
>
>
>.end
>
>----------------------------------------------
>Ricky Cobb
>arcadesdude@hotmail.com
>icq# 41440378
>
>
>
>
>>From: "David Phillips" <david@acz.org>
>>Reply-To: assembly-86@lists.ticalc.org
>>To: <assembly-86@lists.ticalc.org>
>>Subject: Re: A86: Re: reset flag
>>Date: Sat, 13 Nov 1999 02:07:50 -0700
>>
>>
>>Nice one :) Any idea why it sets the flag?
>>
>> > 0d4e fb ei
>> > 0d4f cd4502 call #0245 ;_getcsc
>> > 0d52 fdcb09d6 set 2,(iy+#09)
>> > 0d56 cd2b3e call #3e2b ;_getkey
>> > 0d59 cdcb3d call #3dcb ;_clrScrn
>> > 0d5c fdcb0996 res 2,(iy+#09)
>> > 0d60 c3d802 jp #02d8
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.