mirror of
https://github.com/cc65/cc65.git
synced 2025-08-13 08:25:28 +00:00
Fix bug in tgi_line : HRS(X) parameters are 16 bits.
This commit is contained in:
@@ -297,7 +297,13 @@ LINE:
|
|||||||
lda Y2
|
lda Y2
|
||||||
sta HRS4
|
sta HRS4
|
||||||
|
|
||||||
lda #$ff
|
lda #$00
|
||||||
|
sta HRS1+1
|
||||||
|
sta HRS2+1
|
||||||
|
sta HRS3+1
|
||||||
|
sta HRS4+1
|
||||||
|
|
||||||
|
lda #$FF
|
||||||
sta HRSPAT
|
sta HRSPAT
|
||||||
|
|
||||||
BRK_TELEMON(XDRAWA)
|
BRK_TELEMON(XDRAWA)
|
||||||
|
@@ -290,7 +290,14 @@ LINE:
|
|||||||
lda Y2
|
lda Y2
|
||||||
sta HRS4
|
sta HRS4
|
||||||
|
|
||||||
lda #$ff
|
|
||||||
|
lda #$00
|
||||||
|
sta HRS1+1
|
||||||
|
sta HRS2+1
|
||||||
|
sta HRS3+1
|
||||||
|
sta HRS4+1
|
||||||
|
|
||||||
|
lda #$FF
|
||||||
sta HRSPAT
|
sta HRSPAT
|
||||||
|
|
||||||
BRK_TELEMON(XDRAWA)
|
BRK_TELEMON(XDRAWA)
|
||||||
|
Reference in New Issue
Block a user