From c72c77e3dc866dc0f59a7a3109458cae9a2b120f Mon Sep 17 00:00:00 2001 From: Alexander Tsidaev Date: Sun, 23 Nov 2014 17:12:57 +0500 Subject: [PATCH] zx128: fd_bankcmd eliminated at last --- Kernel/platform-zx128/zx128.s | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/Kernel/platform-zx128/zx128.s b/Kernel/platform-zx128/zx128.s index eb45dcd9..20e12159 100644 --- a/Kernel/platform-zx128/zx128.s +++ b/Kernel/platform-zx128/zx128.s @@ -24,7 +24,6 @@ .globl map_save .globl map_restore - .globl _fd_bankcmd .globl _kernel_flag ; exported debugging tools @@ -58,29 +57,6 @@ platform_interrupt_all: _trap_reboot: rst 0 -; -; We need the right bank present when we cause the transfer -; -_fd_bankcmd: - ret - pop de ; return - pop bc ; command - pop hl ; bank - push hl - push bc - push de ; fix stack - ld a, i - di - push af ; save DI state - call map_process ; HL alread holds our bank - ld a, c ; issue the command - ; out (13), a ; - call map_kernel ; return to kernel mapping - pop af - ret po - ei - ret - ; ----------------------------------------------------------------------------- ; KERNEL MEMORY BANK (below 0xC000, only accessible when the kernel is mapped) ; ----------------------------------------------------------------------------- -- 2.34.1