mirror of
https://github.com/gungwald/rnd.git
synced 2024-06-20 08:29:27 +00:00
Fix syntax errors
This commit is contained in:
parent
2c9e853569
commit
df494e25bd
|
@ -71,11 +71,11 @@ PUTF .MACRO
|
||||||
.ENDM
|
.ENDM
|
||||||
|
|
||||||
; Overwrites A and Y
|
; Overwrites A and Y
|
||||||
HLIN .MACRO x1,x2,y
|
HLIN .MACRO x1,x2,y1
|
||||||
ldy x1 ;Leftmost X coordinate
|
ldy x1 ;Leftmost X coordinate
|
||||||
lda x2
|
lda x2
|
||||||
sta H2 ;Rightmost X coordinate
|
sta H2 ;Rightmost X coordinate
|
||||||
lda y ;Y coordinate
|
lda y1 ;Y coordinate
|
||||||
jsr HLINE
|
jsr HLINE
|
||||||
.ENDM
|
.ENDM
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
;
|
;
|
||||||
;**************************
|
;**************************
|
||||||
|
|
||||||
.code
|
.code
|
||||||
|
|
||||||
.include "symbols.s"
|
.include "symbols.s"
|
||||||
.include "macros.s"
|
.include "macros.s"
|
||||||
|
@ -99,4 +99,7 @@ setRandomColor
|
||||||
jsr SETCOLR ;Set the color
|
jsr SETCOLR ;Set the color
|
||||||
rts
|
rts
|
||||||
|
|
||||||
x2 .db 0
|
.data
|
||||||
|
|
||||||
|
x2 .byte 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user