interrupt: load data segment 0 instead of 2

This commit is contained in:
Edgaru089 2021-10-14 15:52:38 +08:00
parent aa11d25fa8
commit b89617b46a

View File

@ -11,7 +11,7 @@ section '.text' executable
; ;
; Clobbers: rax ; Clobbers: rax
interrupt_ReloadSegments: interrupt_ReloadSegments:
mov eax, 0x10 ; my data segment ;mov eax, 0x10 ; my data segment
xor ax, ax xor ax, ax
mov ds, ax mov ds, ax
mov es, ax mov es, ax