some cart manual updates

This commit is contained in:
2023-07-30 22:53:27 -04:00
parent 9c55fe4d2c
commit 20fe6106dd
4 changed files with 10 additions and 5 deletions
+8 -3
View File
@@ -23,12 +23,17 @@ main_loop
ldx #screen_height-1 ldx #screen_height-1
screen_copy screen_copy
ldy #screen_width-1 ldy #0
@ @
lda (src),y lda (src),y
cmp #$ff ; end of line marker
bne not_eol
not_eol
sta (dest),y sta (dest),y
dey iny
bpl @- cpy #screen_width
bne @-
adw src #screen_width adw src #screen_width
adw dest #screen_width adw dest #screen_width
dex dex
Binary file not shown.
+2 -2
View File
@@ -301,8 +301,8 @@ for line in out2.split('\n'):
# print(c, ord(c), utf_to_internal[c]) # print(c, ord(c), utf_to_internal[c])
bin_out.append(utf_to_internal[c]) bin_out.append(utf_to_internal[c])
if len(line) < 40: if len(line) < 40:
bin_out += bytes(40-len(line)) # bin_out += bytes(40-len(line))
bin_out.append(255)
# save to a file # save to a file
with open('manual.bin', 'wb') as f: with open('manual.bin', 'wb') as f:
f.write(bin_out) f.write(bin_out)
Binary file not shown.