From 163e16bb59d524f576a60bf4772585b3ec515b99 Mon Sep 17 00:00:00 2001 From: Matthieu Bucchianeri Date: Wed, 12 Feb 2025 22:09:54 -0800 Subject: [PATCH] Fix address of the ROM segment. --- XTMax/Drivers/BootROM/bootrom.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/XTMax/Drivers/BootROM/bootrom.asm b/XTMax/Drivers/BootROM/bootrom.asm index d3036a1..064e9d7 100644 --- a/XTMax/Drivers/BootROM/bootrom.asm +++ b/XTMax/Drivers/BootROM/bootrom.asm @@ -63,8 +63,8 @@ cpu 8086 ; ensure we remain compatible with 8086 ; BIOS will look for the AA55 signature between C8000-DFFFF in 2KB increments. ; We choose an address in that range. ; -%define ROM_SEGMENT (0xc000) -org (ROM_SEGMENT << 4 | 0xe000) +%define ROM_SEGMENT (0xce00) +org 0 dw 0AA55h ; signature db 4 ; size in blocks of 512 bytes @@ -962,10 +962,6 @@ succeeded: clc ret -; -; Disk utilities -; - %ifdef USE_BOOTSTRAP ; ; INT 18h entry point. @@ -1016,6 +1012,10 @@ int18h_entry: jmp .loop %endif +; +; Disk utilities +; + %ifdef TAKE_OVER_FIXED_DISK_0 swap_fixed_disk_parameters_tables: push es