Fix syntax errors

This commit is contained in:
Bill Chatfield 2020-10-30 01:38:08 -04:00
parent 2c9e853569
commit df494e25bd
2 changed files with 7 additions and 4 deletions

View File

@ -71,11 +71,11 @@ PUTF .MACRO
.ENDM
; Overwrites A and Y
HLIN .MACRO x1,x2,y
HLIN .MACRO x1,x2,y1
ldy x1 ;Leftmost X coordinate
lda x2
sta H2 ;Rightmost X coordinate
lda y ;Y coordinate
lda y1 ;Y coordinate
jsr HLINE
.ENDM

View File

@ -4,7 +4,7 @@
;
;**************************
.code
.code
.include "symbols.s"
.include "macros.s"
@ -99,4 +99,7 @@ setRandomColor
jsr SETCOLR ;Set the color
rts
x2 .db 0
.data
x2 .byte 0