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