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:
Kenneth J Davis 2021-07-22 23:02:18 -04:00
parent c6fafbbb2d
commit a193ba3116
1 changed files with 5 additions and 5 deletions

View File

@ -577,11 +577,11 @@ _net_name db ' ' ;-27 - 15 Character Network Name
global _internal_data
global _CritPatch
_CritPatch dw 0d0ch ;-11 zero list of patched critical
dw 0d0ch ; section variables
dw 0d0ch
dw 0d0ch
dw 0d0ch
_CritPatch dw 0 ;-11 zero list of patched critical
dw 0 ; section variables
dw 0 ; DOS puts 0d0ch here but some
dw 0 ; progs really write to that addr.
dw 0 ;-03 - critical patch list terminator
db 0 ;-01 - unknown
_internal_data: ; <-- Address returned by INT21/5D06
_ErrorMode db 0 ; 00 - Critical Error Flag