This commit is contained in:
mrdudz
2022-07-24 04:54:34 +02:00
parent d40def3d2d
commit 193b7b9ee7
6 changed files with 0 additions and 228 deletions

View File

@@ -1,33 +0,0 @@
.export _cpeekchar
.export _cpeekcharxy
.import _gotoxy
.include "cbm510.inc"
.include "extzp.inc"
.segment "CODE"
_cpeekcharxy:
jsr _gotoxy ; Set cursor
_cpeekchar:
lda #0
ldx #0
rts
;; ?!?!
ldx IndReg
ldy #$0F
sty IndReg
ldy CURS_X
lda (SCREEN_PTR),y ; get char
stx IndReg
ldx #0
rts