Files
cc65/libsrc/plus4/cpeekcol.s
2022-07-24 03:59:19 +02:00

15 lines
183 B
ArmAsm

.export _cpeekcolor
.include "plus4.inc"
.segment "CODE"
_cpeekcolor:
ldy CURS_X
lda (CRAM_PTR),y ; get color
;and #$0f is this ok?
ldx #0
rts