From 466edd2316a4b32373acac5ad78554ffb82b722e Mon Sep 17 00:00:00 2001 From: ApacheThunder Date: Sat, 14 Dec 2024 16:06:54 -0600 Subject: [PATCH] Add 32KB DLDI support. --- source/io_dldi.s | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/io_dldi.s b/source/io_dldi.s index fdfbde1..c3f3d1c 100644 --- a/source/io_dldi.s +++ b/source/io_dldi.s @@ -35,7 +35,7 @@ _dldi_start: #ifndef NO_DLDI @--------------------------------------------------------------------------------- -@ Driver patch file standard header -- 16 bytes +@ Driver patch file standard header -- 32 bytes #ifdef STANDARD_DLDI .word 0xBF8DA5ED @ Magic number to identify this region #else @@ -43,12 +43,12 @@ _dldi_start: #endif .asciz " Chishm" @ Identifying Magic string (8 bytes with null terminator) .byte 0x01 @ Version number - .byte 0x0e @ 16KiB @ Log [base-2] of the size of this driver in bytes. + .byte 0x1a @ 32KiB @ Log [base-2] of the size of this driver in bytes. .byte 0x00 @ Sections to fix - .byte 0x0e @ 16KiB @ Log [base-2] of the allocated space in bytes. + .byte 0x1a @ 32KiB @ Log [base-2] of the allocated space in bytes. @--------------------------------------------------------------------------------- -@ Text identifier - can be anything up to 47 chars + terminating null -- 16 bytes +@ Text identifier - can be anything up to 47 chars + terminating null -- 32 bytes .align 4 .asciz "Loader (No interface)" @@ -93,7 +93,7 @@ _DLDI_shutdown: .align .pool - .space (_dldi_start + 16384) - . @ Fill to 16KiB + .space (_dldi_start + 32768) - . @ Fill to 32KiB _dldi_end: .end @@ -122,3 +122,4 @@ _DLDI_shutdown: #endif +