Re: A86: Re: reset flag


[Prev][Next][Index][Thread]

Re: A86: Re: reset flag




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