From dbceb5ba5d216bec85d228f1e68dbd509c30eed9 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 2 Sep 2018 21:53:08 +0100 Subject: [PATCH] cromemco: commit initial pieces on the udata side We need to revisit all this due to the lack of a true common --- Kernel/platform-cromemco/commonmem.s | 9 +++++++++ Kernel/platform-cromemco/kernel.def | 16 ++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Kernel/platform-cromemco/commonmem.s create mode 100644 Kernel/platform-cromemco/kernel.def 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 -- 2.34.1