mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 14:49:46 +02:00
some cart manual updates
This commit is contained in:
+8
-3
@@ -23,12 +23,17 @@ main_loop
|
||||
|
||||
ldx #screen_height-1
|
||||
screen_copy
|
||||
ldy #screen_width-1
|
||||
ldy #0
|
||||
@
|
||||
lda (src),y
|
||||
cmp #$ff ; end of line marker
|
||||
bne not_eol
|
||||
|
||||
not_eol
|
||||
sta (dest),y
|
||||
dey
|
||||
bpl @-
|
||||
iny
|
||||
cpy #screen_width
|
||||
bne @-
|
||||
adw src #screen_width
|
||||
adw dest #screen_width
|
||||
dex
|
||||
|
||||
Binary file not shown.
@@ -301,8 +301,8 @@ for line in out2.split('\n'):
|
||||
# print(c, ord(c), utf_to_internal[c])
|
||||
bin_out.append(utf_to_internal[c])
|
||||
if len(line) < 40:
|
||||
bin_out += bytes(40-len(line))
|
||||
|
||||
# bin_out += bytes(40-len(line))
|
||||
bin_out.append(255)
|
||||
# save to a file
|
||||
with open('manual.bin', 'wb') as f:
|
||||
f.write(bin_out)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user