Files
cc65/libsrc/c64/soft80_cpeekcol.s
2017-06-17 03:46:53 +02:00

22 lines
223 B
ArmAsm

.export _cpeekcol
.export _cpeekcolxy
.import _gotoxy
.include "c64.inc"
.segment "CODE"
_cpeekcolxy:
jsr _gotoxy ; Set cursor
_cpeekcol:
ldy #0
lda (CRAM_PTR),y ; get char
and #$0f
ldx #0
rts