mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-04 04:24:28 +02:00
from dosemu2/fdpp - zero out critical patch list
Personal NetWare Server really writes to these addresses, so
putting 0x0d0c the way DOS does, is not safe.
See dosemu2/dosemu2#428
see 94bd3eb4b5
This commit is contained in:
parent
c6fafbbb2d
commit
a193ba3116
@ -577,11 +577,11 @@ _net_name db ' ' ;-27 - 15 Character Network Name
|
|||||||
global _internal_data
|
global _internal_data
|
||||||
|
|
||||||
global _CritPatch
|
global _CritPatch
|
||||||
_CritPatch dw 0d0ch ;-11 zero list of patched critical
|
_CritPatch dw 0 ;-11 zero list of patched critical
|
||||||
dw 0d0ch ; section variables
|
dw 0 ; section variables
|
||||||
dw 0d0ch
|
dw 0 ; DOS puts 0d0ch here but some
|
||||||
dw 0d0ch
|
dw 0 ; progs really write to that addr.
|
||||||
dw 0d0ch
|
dw 0 ;-03 - critical patch list terminator
|
||||||
db 0 ;-01 - unknown
|
db 0 ;-01 - unknown
|
||||||
_internal_data: ; <-- Address returned by INT21/5D06
|
_internal_data: ; <-- Address returned by INT21/5D06
|
||||||
_ErrorMode db 0 ; 00 - Critical Error Flag
|
_ErrorMode db 0 ; 00 - Critical Error Flag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user