Many fixes and improvements to the BIOS Extension ROM. (#33)
* Revert "Uploaded_2_9_2025"
This reverts commit ec79bbdbc9.
* Fixing DEBUG_IO builds.
* Make the IO port base a define.
* Fix CPU test to properly handle 808x vs V20.
* Improve timeout management logic.
* Improve SD Card initialization logic.
* Implement INT18h bootstrapping.
* Implementing a different test for processor type.
* Allow use with another fixed drive (eg: ESDI drive).
* Allow swapping driver ID between the BIOS disk and XTMax.
* Fix address of the ROM segment.
* Fixing missing STI at the top of the handler.
* Major rework of IO to use MOVSW.
* More code reorg and auto-detecting second drive.
* Update XTSD to use MOVSW.
* Add diagnostics program.
* Workaround for MS-DOS strange handling of interrupts.
* Use a lookup table for the memory map.
* Make the BootROM relocatable.
* Some more refactor of the Teensy code.
This commit is contained in:
committed by
GitHub
parent
ec79bbdbc9
commit
fe8385da08
@@ -9,10 +9,8 @@ print_string:
|
||||
push bx
|
||||
push si
|
||||
mov si, ax
|
||||
%ifndef AS_COM_PROGRAM
|
||||
mov ax, ROM_SEGMENT
|
||||
mov ax, cs
|
||||
mov ds, ax
|
||||
%endif
|
||||
mov ah, 0xe
|
||||
xor bx, bx
|
||||
cld
|
||||
@@ -42,10 +40,8 @@ print_hex:
|
||||
push dx
|
||||
push si
|
||||
mov dx, ax
|
||||
%ifndef AS_COM_PROGRAM
|
||||
mov ax, ROM_SEGMENT
|
||||
mov ax, cs
|
||||
mov ds, ax
|
||||
%endif
|
||||
xor bx, bx
|
||||
cld
|
||||
.nibble1:
|
||||
@@ -130,10 +126,19 @@ dump_regs:
|
||||
call print_hex
|
||||
mov ax, space
|
||||
call print_string
|
||||
pushf
|
||||
pop ax
|
||||
call print_hex
|
||||
mov ax, space
|
||||
call print_string
|
||||
mov ax, newline
|
||||
call print_string
|
||||
pop ax
|
||||
ret
|
||||
|
||||
registers_msg db ' AX BX CX DX DS SI ES DI BP', 0xD, 0xA, 0
|
||||
registers_msg db ' AX BX CX DX DS SI ES DI BP FLAGS', 0xD, 0xA, 0
|
||||
%endif
|
||||
|
||||
colon db ':', 0
|
||||
space db ' ', 0
|
||||
newline db 0xD, 0xA, 0
|
||||
|
||||
Reference in New Issue
Block a user