mirror of
https://github.com/cc65/cc65.git
synced 2025-01-16 13:31:16 +00:00
Align font to 256 bytes
This commit is contained in:
parent
0f250d06b9
commit
0eaf3eef6d
@ -25,6 +25,7 @@ fname= fname + '.s'
|
||||
with open(fname, 'w') as f:
|
||||
f.write(" .export _font160\n")
|
||||
f.write(' .rodata\n')
|
||||
f.write(' .align 256\n')
|
||||
f.write("_font160:\n")
|
||||
for i in range(0, int(len(data)/32)):
|
||||
printline(f, data[i * 32:i * 32 + 32])
|
||||
|
@ -1,5 +1,6 @@
|
||||
.export _font160
|
||||
.rodata
|
||||
.align 256
|
||||
_font160:
|
||||
.byte $0, $0, $41, $41, $0, $0, $14, $0
|
||||
.byte $0, $0, $0, $0, $1, $40, $0, $0
|
||||
|
Loading…
x
Reference in New Issue
Block a user