Run kernel with from offset 0

I try to get the interrupt handlers into a offset as low as possible.
This is necessity if i want to relocate it later on its own.

For running from HMA, a minimal offset of 16 bytes would still be
necessary.
This commit is contained in:
Nero 2019-09-23 22:06:25 +00:00
parent df4d3a90e3
commit cd7aafde09
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ main:
pop es pop es
; jump into target ; jump into target
jmp 0x07B0:0x0100 jmp 0x07C0:0x0000
; Load a file into memory ; Load a file into memory
; IN AX pointer to 8.3 filename ; IN AX pointer to 8.3 filename

View File

@ -1,5 +1,5 @@
cpu 8086 cpu 8086
org 0x0100 org 0x0
jmp init jmp init
isr_dos_main: isr_dos_main: