diff --git a/libsrc/atari7800/buildfont160.py b/libsrc/atari7800/buildfont160.py index bb944e335..30ee02695 100644 --- a/libsrc/atari7800/buildfont160.py +++ b/libsrc/atari7800/buildfont160.py @@ -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]) diff --git a/libsrc/atari7800/font160.s b/libsrc/atari7800/font160.s index e9c2e46d8..e5ebbede2 100644 --- a/libsrc/atari7800/font160.s +++ b/libsrc/atari7800/font160.s @@ -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