mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Direct use of monitor function instead of subroutine call.
This commit is contained in:
parent
6edf57324e
commit
14958949c2
@ -1,3 +1,8 @@
|
||||
|
||||
SCRNBASE := $D000 ; Base of video RAM
|
||||
VIDEORAMSIZE := $0400 ; Size of C1P video RAM (1 kB)
|
||||
SCRNBASE := $D000 ; Base of video RAM
|
||||
VIDEORAMSIZE := $0400 ; Size of C1P video RAM (1 kB)
|
||||
|
||||
CURSORPOS := $0200 ; Cursor position for OUTPUTC routine
|
||||
|
||||
OUTPUTC := $BF2D ; Output character at cursor position
|
||||
INPUTC := $FD00 ; Input character from keyboard
|
||||
|
@ -1,11 +1,8 @@
|
||||
;
|
||||
; char cgetc (void);
|
||||
;
|
||||
|
||||
.export _cgetc
|
||||
.include "c1p.inc"
|
||||
|
||||
; Use INPUT routine from 65V PROM MONITOR
|
||||
_cgetc:
|
||||
jsr $FEED
|
||||
rts
|
||||
; Direct use of input routine from 65V PROM MONITOR
|
||||
_cgetc = INPUTC
|
||||
|
Loading…
x
Reference in New Issue
Block a user