set ds/es to a tiny memory model after entering Unreal mode

ss/fs/gs will all be huge/flat model after
This commit is contained in:
2025-09-05 15:43:22 -04:00
parent b9b3e92632
commit b5ae11f850
2 changed files with 8 additions and 2 deletions

View File

@@ -69,8 +69,8 @@
%endmacro
%endif
%ifnmacro __DEFLAT_DS_ES
%macro __DEFLAT_DS_ES 0
%ifnmacro __TINY_DS_ES
%macro __TINY_DS_ES 0
mov ax, __STAGE2_SEGMENT
mov ds, ax
mov es, ax