From 1b49724c505f5b21c40e03ade727f02bdb16111c Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Tue, 28 Jan 2020 18:37:19 +0100 Subject: [PATCH] small fix for vector alignment problem --- c64/kernal/screen/chrout_screen_jumptable_codes.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c64/kernal/screen/chrout_screen_jumptable_codes.s b/c64/kernal/screen/chrout_screen_jumptable_codes.s index 499ed5ed..a3dc700d 100644 --- a/c64/kernal/screen/chrout_screen_jumptable_codes.s +++ b/c64/kernal/screen/chrout_screen_jumptable_codes.s @@ -93,7 +93,7 @@ chrout_screen_jumptable_hi: #else -.if (mod(*, $2) == 1) { nop } // align code so that vector never crosses page boundary +.if (mod(*, $2) == 1) { brk } // align code so that vector never crosses page boundary chrout_screen_jumptable: @@ -120,6 +120,6 @@ chrout_screen_jumptable: .word chrout_screen_DEL .word chrout_screen_RETURN -.if (mod(*, $2) == 1) { nop } // make sure routine size is always the same, needed by build system +.if (mod(*, $2) == 0) { brk } // make sure routine size is always the same, needed by build system #endif