From: Alan Cox Date: Sun, 2 Sep 2018 20:53:08 +0000 (+0100) Subject: cromemco: commit initial pieces on the udata side X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=dbceb5ba5d216bec85d228f1e68dbd509c30eed9;p=FUZIX.git cromemco: commit initial pieces on the udata side We need to revisit all this due to the lack of a true common --- diff --git a/Kernel/platform-cromemco/commonmem.s b/Kernel/platform-cromemco/commonmem.s new file mode 100644 index 00000000..522503a8 --- /dev/null +++ b/Kernel/platform-cromemco/commonmem.s @@ -0,0 +1,9 @@ +; +; Common on z80pack is at 0xF000 as defined by hardware. +; + + .module commonmem + + .area _COMMONMEM + + .include "../cpu-z80/std-commonmem.s" diff --git a/Kernel/platform-cromemco/kernel.def b/Kernel/platform-cromemco/kernel.def new file mode 100644 index 00000000..f3a5687e --- /dev/null +++ b/Kernel/platform-cromemco/kernel.def @@ -0,0 +1,16 @@ +; UZI mnemonics for memory addresses etc + +U_DATA .equ 0xF000 ; (this is struct u_data from kernel.h) +U_DATA__TOTALSIZE .equ 0x300 ; 256+256+256 bytes. + +U_DATA_STASH .equ 0xED00 ; ED00-EFFF + +PROGBASE .equ 0x0000 +PROGLOAD .equ 0x0100 + +Z80_TYPE .equ 1 + +Z80_MMU_HOOKS .equ 0 + + +CONFIG_SWAP .equ 0