Skip to content

Commit

Permalink
loader: manually enable a20 if 0x2401 fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rouseabout committed Jan 15, 2025
1 parent 77ca14b commit 36fa4d9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions loader/loader.asm
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ start:
mov ss, ax
mov sp, 0x7c00

%if 0
mov ax, 0x2401
int 0x15
%endif
jnc .continue

cli
mov al, 2
out 0x92, al
sti

.continue:
mov si, zsetup
call printz

Expand Down

0 comments on commit 36fa4d9

Please sign in to comment.