Split files
This commit is contained in:
19
libsrc/atari7800/wherey.s
Normal file
19
libsrc/atari7800/wherey.s
Normal file
@@ -0,0 +1,19 @@
|
||||
;
|
||||
; 2022-04-16, Karri Kaksonen
|
||||
;
|
||||
; unsigned char wherey()
|
||||
;
|
||||
|
||||
.export _wherey
|
||||
.import CURS_Y
|
||||
|
||||
;-----------------------------------------------------------------------------
|
||||
; Get cursor Y position
|
||||
;
|
||||
.proc _wherey
|
||||
|
||||
ldx #0
|
||||
lda CURS_Y
|
||||
rts
|
||||
.endproc
|
||||
|
||||
Reference in New Issue
Block a user