Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 259 Bytes
; Reading characters from the keyboard
; by Markus Persson
#macro nextkey(target) {
set i,[keypointer]
add i,0x9000
set target,[i]
ife target,0
jmp end
set [i],0
add [keypointer], 1
and [keypointer], 0xf
dat 0
Something went wrong with that request. Please try again.