Fixed int promotion problem in wherex and wherey.

Moved wherex and wherey into separate modules.


git-svn-id: svn://svn.cc65.org/cc65/trunk@1867 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-01-01 21:33:49 +00:00
parent 0b1ee642aa
commit 38dcb86552
3 changed files with 25 additions and 15 deletions

18
libsrc/cbm/wherey.s Normal file
View File

@@ -0,0 +1,18 @@
;
; Ullrich von Bassewitz, 06.08.1998
;
; unsigned char wherey (void);
;
.export _wherey
.import PLOT
.proc _wherey
sec
jsr PLOT ; Get cursor position
txa
ldx #$00
rts
.endproc