Skip to content

Commit

Permalink
optromloader.asm: Enable workaround for int13h disabling interrupts o…
Browse files Browse the repository at this point in the history
…n some BIOS implementations.
  • Loading branch information
rvalles committed Sep 17, 2021
1 parent 1a79ade commit 90bb610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optromloader.asm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ start:
mov [.calloptrom+3],es ;replace target segment in long call
mov si,rominit_str
call printstr
;sti ;some bad BIOSs disable on int13 and forget to restore
sti ;some bad BIOSs disable interrupts on int 13h
.calloptrom:
call $CAFE:3 ;long call. Segment placeholder gets replaced by mov above
;*** Tell BIOS to try booting elsewhere
Expand Down

0 comments on commit 90bb610

Please sign in to comment.