mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
added missing gotox/gotoy functions
This commit is contained in:
parent
3558c0796d
commit
6035f1cb75
14
libsrc/pce/gotox.s
Normal file
14
libsrc/pce/gotox.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; void __fastcall__ gotox (unsigned char x);
|
||||
;
|
||||
|
||||
.export _gotox
|
||||
|
||||
.import plot
|
||||
|
||||
.include "pce.inc"
|
||||
.include "extzp.inc"
|
||||
|
||||
_gotox:
|
||||
sta CURS_X ; Set X
|
||||
jmp plot ; Set the cursor position
|
14
libsrc/pce/gotoy.s
Normal file
14
libsrc/pce/gotoy.s
Normal file
@ -0,0 +1,14 @@
|
||||
;
|
||||
; void __fastcall__ gotoy (unsigned char y);
|
||||
;
|
||||
|
||||
.export _gotoy
|
||||
|
||||
.import plot
|
||||
|
||||
.include "pce.inc"
|
||||
.include "extzp.inc"
|
||||
|
||||
_gotoy:
|
||||
sta CURS_Y ; Set Y
|
||||
jmp plot ; Set the cursor position
|
Loading…
Reference in New Issue
Block a user