Re: A92: TIOS::KB_VARS+$?? and Keyboard Matrix (ATTN: David Ellsworth)


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

Re: A92: TIOS::KB_VARS+$?? and Keyboard Matrix (ATTN: David Ellsworth)




At 08:35 PM 1/16/98 -0600, Aaron A. Hill wrote:
>
>David,
>
>This is a piece of code to wait for the ESC key...
>
>      waitKeyPressLoop:
>        tst.w   tios::kb_vars+$1C
>        beq     waitKeyPressLoop
>        move.w  tios::kb_vars+$1E,d0
>        clr.w   tios::kb_vars+$1C
>        cmp.w   #$0108,d0
>        beq     exit
>        bra     waitKeyPressLoop
>
>How does the tios::kb_vars relate to the matrix?  Is this just a reference
>to the buffer?

I would suggest scrapping that and switching to...

waitEsc:
	jsr	flib::idle_loop
	cmp.w	#$0108,d0
	beq	exit
	bra	waitEsc

>Could you please explain how to use the table in lowlevel.txt with the
>ti-92?

It is all explained in perfect detail if you read carefully enough...maybe
I'll include a sample keyboard matrix program with a later version of Fargo.

---
David Ellsworth
davidell@earthling.net
IRC: eXocomp
ICQ: 2300673


References: