1
0
mirror of synced 2026-02-28 17:30:08 +00:00

Fix address of the ROM segment.

This commit is contained in:
Matthieu Bucchianeri
2025-02-12 22:09:54 -08:00
parent 845ba3666c
commit 163e16bb59

View File

@@ -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