Fix text display due to change in Y offset

This commit is contained in:
Terence Boldt 2021-12-23 08:25:28 -05:00
parent f24dcb21d1
commit f9d50f406d
5 changed files with 11 additions and 11 deletions

Binary file not shown.

View File

@ -1,3 +1,4 @@
;i/o ports to write to
writeLatchHigh = $C081
writeLatchLow = $C080
@ -57,7 +58,7 @@
ldy #<text
drawtxt:
lda (buflo),y
sta $07D0,y ;put text on last line
sta $07D0-<text,y ;put text on last line
iny
bne drawtxt
@ -191,4 +192,3 @@ end:
.byte 0,0 ;0000 blocks = check status
.byte 3 ;bit 0=read 1=status
.byte <entry ;low byte of entry

Binary file not shown.

View File

@ -2,6 +2,7 @@ ca65 V2.18 - N/A
Main file : Firmware.asm
Current file: Firmware.asm
000000r 1 ;i/o ports to write to
000000r 1 writeLatchHigh = $C081
000000r 1 writeLatchLow = $C080
000000r 1
@ -61,7 +62,7 @@ Current file: Firmware.asm
00C721 1 A0 C3 ldy #<text
00C723 1 drawtxt:
00C723 1 B1 44 lda (buflo),y
00C725 1 99 D0 07 sta $07D0,y ;put text on last line
00C725 1 99 0D 07 sta $07D0-<text,y ;put text on last line
00C728 1 C8 iny
00C729 1 D0 F8 bne drawtxt
00C72B 1
@ -208,5 +209,4 @@ Current file: Firmware.asm
00C7FC 1 00 00 .byte 0,0 ;0000 blocks = check status
00C7FE 1 03 .byte 3 ;bit 0=read 1=status
00C7FF 1 35 .byte <entry ;low byte of entry
00C800 1
00C800 1
00C7FF 1

Binary file not shown.