From a99c0bbc066b6d5736bd3a086087475e2f9e18f0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 4 Dec 2017 13:46:39 +0000 Subject: [PATCH] v65c816: expose the load base to asm for the doexec fixups --- Kernel/platform-v65c816/kernel.def | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-v65c816/kernel.def b/Kernel/platform-v65c816/kernel.def index bf7d1bbc..0b09abdb 100644 --- a/Kernel/platform-v65c816/kernel.def +++ b/Kernel/platform-v65c816/kernel.def @@ -14,10 +14,12 @@ KERNEL_FAR .set $000000 ; 24 bit ; Add this to the bank number to get the high 8bits of the 16bit CPU stack ; for this process -STACK_BANKOFF .set $F0 ; F000-FCFF +STACK_BANKOFF .set $F0 ; F000-FBFF ; Direct page for IRQ processing (saves us saving/restoring DP registers) ; Can probably use the same page as the IRQ CPU stack... FIXME IRQ_DP .set $FD00 ; FD00-FDFF KERNEL_DP .set $00 ; We use the real ZP for kernel DP -MAP_SIZE .set $FC00 \ No newline at end of file +MAP_SIZE .set $FC00 + +PROGBASE .set $0100 -- 2.34.1