I/O stack refactoring completed

This commit is contained in:
FeralChild64 committed 2019-10-30 18:59:35 +01:00
1 parent ec98861613
commit ec3e78de88
13 files changed
+84 -23

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
//
// Well-known Kernal routine, described in:
//
// - http://sta.c64.org/cbm64kbdfunc.html
//
getin_keyboard: // XXX confirm that here is really a part of GETIN!
// Check for a key
lda NDX
bne !+
// Nothing in keyboard buffer to read
sec
rts
!:
lda KEYD
pha
phy_trash_a
jsr pop_keyboard_buffer
ply_trash_a
pla
clc
rts