This commit is contained in:
mrdudz
2022-07-24 04:59:45 +02:00
parent 193b7b9ee7
commit 10c2ce205b
3 changed files with 58 additions and 75 deletions

View File

@@ -1,8 +1,6 @@
.export _cpeekchar
.export _cpeekcharxy
.import _gotoxy
.import mul40
.importzp ptr4
@@ -10,10 +8,6 @@
.segment "CODE"
_cpeekcharxy:
jsr _gotoxy ; Set cursor
_cpeekchar:
lda ROWCRS
@@ -31,7 +25,7 @@ _cpeekchar:
;; convert to asc
;; ugly hack here to make tetris fx work :=P
;; FIXME: ugly hack here to make tetris fx work :=P
lda #' '
cpx #0
beq @l

View File

@@ -1,12 +1,7 @@
.include "atmos.inc"
.import _gotoxy
.export _cpeekchar,_cpeekcharxy
_cpeekcharxy:
jsr _gotoxy ; Will pop x parameter
.export _cpeekchar
_cpeekchar:

View File

@@ -1,18 +1,12 @@
.export _cpeekchar
.export _cpeekcharxy
.import _gotoxy
.import ppubuf_waitempty
.include "nes.inc"
.segment "CODE"
_cpeekcharxy:
jsr _gotoxy ; Set cursor
_cpeekchar:
; wait until all console data has been written