Include "extzp.inc" instead of using direct imports of symbols.
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
; void gotox (unsigned char x);
|
||||
;
|
||||
.export _gotox
|
||||
.import plot
|
||||
.importzp CURS_X
|
||||
.import plot
|
||||
.include "extzp.inc"
|
||||
|
||||
_gotox: sta CURS_X ; Set new position
|
||||
jmp plot ; And activate it
|
||||
|
||||
Reference in New Issue
Block a user