mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
some cart manual updates
This commit is contained in:
+8
-3
@@ -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.
@@ -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.
Reference in New Issue
Block a user