added fixed files for c64/c16/plus4/vic20/pet

This commit is contained in:
mrdudz
2017-06-17 03:46:53 +02:00
parent b523f070f3
commit dd14f15f94
11 changed files with 413 additions and 0 deletions

21
libsrc/c64/cpeekcol.s Normal file
View File

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