1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

Use direct access to the position variables, since gotoxy uses them also.

git-svn-id: svn://svn.cc65.org/cc65/trunk@2844 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-12-27 15:51:11 +00:00
parent 1af46f9998
commit 63437207a1
2 changed files with 5 additions and 9 deletions

View File

@ -5,13 +5,11 @@
; ;
.export _wherex .export _wherex
.import PLOT .import CURS_X: zp
.proc _wherex .proc _wherex
sec lda CURS_X
jsr PLOT ; Get cursor position
tya
ldx #$00 ldx #$00
rts rts
.endproc .endproc

View File

@ -5,13 +5,11 @@
; ;
.export _wherey .export _wherey
.import PLOT .import CURS_Y: zp
.proc _wherey .proc _wherey
sec lda CURS_Y
jsr PLOT ; Get cursor position
txa
ldx #$00 ldx #$00
rts rts
.endproc .endproc