added missing gotox/gotoy functions
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user