Skip to content

Commit 6140352

Browse files
committed
bios: clarify why to pad to FEF0h before mem_top
1 parent 3c6b8e5 commit 6140352

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bios.asm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4080,6 +4080,10 @@ tm_msec equ $+36
40804080

40814081

40824082
times 0FEF0h - ($ - $$) db 0
4083+
; The BIOS image is loaded at F000h:0100h,
4084+
; so 0100h+FEF0h points to FFF0h which is
4085+
; the last paragraph of the image, as well as
4086+
; of memory below the HMA.
40834087

40844088
mem_top:
40854089
jmp 0F000h:100h

0 commit comments

Comments
 (0)