From a1b13b31efac57aeb4169fabcb46b706b885a7f5 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Tue, 21 Jul 2020 18:18:52 +0200 Subject: [PATCH] removed unneeded 65C02 bugfix --- src/basic/basic_commands_01/cmd__jumptable_01.s | 11 +---------- src/basic/basic_commands_02/cmd__jumptable_02.s | 11 +---------- src/basic/basic_functions/fun__jumptable.s | 11 +---------- src/kernal/screen/chrout_screen_jumptable_codes.s | 11 +---------- 4 files changed, 4 insertions(+), 40 deletions(-) diff --git a/src/basic/basic_commands_01/cmd__jumptable_01.s b/src/basic/basic_commands_01/cmd__jumptable_01.s index cc119e31..6e3f4f61 100644 --- a/src/basic/basic_commands_01/cmd__jumptable_01.s +++ b/src/basic/basic_commands_01/cmd__jumptable_01.s @@ -41,18 +41,9 @@ command_01_jumptable_hi: #else // HAS_OPCODES_65C02 - -__before_command_01_jumptable: - -.if (mod(*, $2) == 1) { brk } // align code so that vector never crosses page boundary - command_01_jumptable: + // Note: 65C02 has the page boundary vector bug fixed! put_jumptable(command_01_list) - // Make sure routine size is always the same - build system limitation - -.if (__before_command_01_jumptable == command_01_jumptable) { brk } - - #endif diff --git a/src/basic/basic_commands_02/cmd__jumptable_02.s b/src/basic/basic_commands_02/cmd__jumptable_02.s index 6b669104..f554611f 100644 --- a/src/basic/basic_commands_02/cmd__jumptable_02.s +++ b/src/basic/basic_commands_02/cmd__jumptable_02.s @@ -41,20 +41,11 @@ command_02_jumptable_hi: #else // HAS_OPCODES_65C02 - -__before_command_02_jumptable: - -.if (mod(*, $2) == 1) { brk } // align code so that vector never crosses page boundary - command_02_jumptable: + // Note: 65C02 has the page boundary vector bug fixed! put_jumptable(command_02_list) - // Make sure routine size is always the same - build system limitation - -.if (__before_command_02_jumptable == command_02_jumptable) { brk } - - #endif #endif diff --git a/src/basic/basic_functions/fun__jumptable.s b/src/basic/basic_functions/fun__jumptable.s index 266ff347..d5b47811 100644 --- a/src/basic/basic_functions/fun__jumptable.s +++ b/src/basic/basic_functions/fun__jumptable.s @@ -55,18 +55,9 @@ function_jumptable_hi: #else // HAS_OPCODES_65C02 - -__before_function_jumptable: - -.if (mod(*, $2) == 1) { brk } // align code so that vector never crosses page boundary - function_jumptable: + // Note: 65C02 has the page boundary vector bug fixed! put_jumptable(function_list) - // Make sure routine size is always the same - build system limitation - -.if (__before_function_jumptable == function_jumptable) { brk } - - #endif diff --git a/src/kernal/screen/chrout_screen_jumptable_codes.s b/src/kernal/screen/chrout_screen_jumptable_codes.s index 1f4fe7b3..07d30cd4 100644 --- a/src/kernal/screen/chrout_screen_jumptable_codes.s +++ b/src/kernal/screen/chrout_screen_jumptable_codes.s @@ -83,18 +83,9 @@ chrout_screen_jumptable_hi: #else // HAS_OPCODES_65C02 - -__before_chrout_screen_jumptable: - -.if (mod(*, $2) == 1) { brk } // align code so that vector never crosses page boundary - chrout_screen_jumptable: + // Note: 65C02 has the page boundary vector bug fixed! put_jumptable(chrout_list) - // Make sure routine size is always the same - build system limitation - -.if (__before_chrout_screen_jumptable == chrout_screen_jumptable) { brk } - - #endif