Fix broken intr_load, use LDS instruction
This commit is contained in:
parent
de90b9cfd1
commit
dcbb719488
@ -44,17 +44,12 @@ intr_load:
|
||||
mul ah
|
||||
mov si, ax
|
||||
|
||||
; ES = 0
|
||||
; DS = 0
|
||||
xor ax, ax
|
||||
mov ds, ax
|
||||
|
||||
; load offset
|
||||
lodsw
|
||||
mov si, ax
|
||||
|
||||
; load segment
|
||||
lodsw
|
||||
mov ds, ax
|
||||
; load segment and offset in one go
|
||||
lds si, [si]
|
||||
|
||||
pop ax
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user