added missing gotox/gotoy functions
This commit is contained in:
parent
3558c0796d
commit
6035f1cb75
2 changed files with 28 additions and 0 deletions
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…
Add table
Reference in a new issue