Hi,
How can you get the getKey value of a keypress and display it on the screen?
Thanks in advance!
How can you get the getKey value of a keypress and display it on the screen?
Thanks in advance!
.nolist
#include "ti83plus.inc"
#include "keyval.inc"
#include "dcs7.inc"
.list
.org $9D95-2
.db $BB,$6D
INIT:
xor d
ret
jr Start
.dw Description
.db $07,$00
.dw $0000 ;no icon
.dw $0000
.dw $0000 ;the routine to open files. DCS will start you here instead of at $9D95
;if a file is pending
Description:
.db "GetKey Tester",0
Start:
bcall(_Homeup)
MainLoop:
in a,(4)
bit 3,a ;[ON] key
jr z,Quit
bcall(_GetCSC)
ld l,a
ld h,0
bcall(_disphl)
bcall(_newline)
jr Mainloop
Quit:
bcall(_homeup)
ret
Start:
.nolist
#include "ti83plus.inc"
#include "keyval.inc"
#include "dcs7.inc"
.nolist
#include "ti83plus.inc"
#include "keyval.inc"
#include "dcs7.inc"
.list
.org $9D95-2
.db $BB,$6D
INIT:
xor d
ret
jr Start
.dw Description
.db $07,$00
.dw $0000 ;no icon
.dw $0000
.dw $0000 ;the routine to open files. DCS will start you here instead of at $9D95
;if a file is pending
Description:
.db "GetKey Tester",0
.nolist
#include "ti83plus.inc"
#include "keyval.inc"
#include "dcs7.inc"
.list
.org $9D95-2
.db $BB,$6D
INIT:
xor d
ret
jr Start
.dw Description
.db $07,$00
.dw $0000 ;no icon
.dw $0000
.dw $0000 ;the routine to open files. DCS will start you here instead of at $9D95
;if a file is pending
Description:
.db "GetKey Tester",0
Start:
bcall(_Homeup)
MainLoop:
in a,(4)
bit 3,a ;[ON] key
jr z,Quit
bcall(_GetCSC)
ld l,a
ld h,0
bcall(_disphl)
bcall(_newline)
jr Mainloop
Quit:
bcall(_homeup)
ret
Advertisement