mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
222668c016
If kbhit() detects that a key is pressed, it fetches and buffers the character. If cgetc() detects a buffered character, this one is returned instead of fetching one with the PROM routine.
21 lines
589 B
ArmAsm
21 lines
589 B
ArmAsm
;
|
|
; Additional zero page locations for the Challenger 1P.
|
|
; NOTE: The zeropage locations contained in this file get initialized
|
|
; in the startup code, so if you change anything here, be sure to check
|
|
; not only the linker config, but also the startup file.
|
|
;
|
|
|
|
; ------------------------------------------------------------------------
|
|
|
|
.include "extzp.inc"
|
|
|
|
.segment "EXTZP" : zeropage
|
|
|
|
CURS_X: .res 1
|
|
CURS_Y: .res 1
|
|
SCREEN_PTR: .res 2
|
|
CHARBUF: .res 1
|
|
|
|
; size 5
|
|
; Adjust size of the ZP segment in osic1p.cfg if the size changes
|