1
0
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:
mrdudz 2020-07-15 00:17:11 +02:00
parent 3558c0796d
commit 6035f1cb75
2 changed files with 28 additions and 0 deletions

14
libsrc/pce/gotox.s Normal file
View 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
View 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