ensure 2 byte jmp rel8 thunk to init

surpress reloc abs warnings
corrected include paths/filenames
This commit is contained in:
2024-10-08 08:55:17 -04:00
parent 09d33086a0
commit 6643e3c990
3 changed files with 21 additions and 16 deletions

View File

@@ -21,7 +21,9 @@
[BITS 16]
[ORG 0x7A00]
[CPU KATMAI]
[WARNING -reloc-abs-word]
[WARNING -reloc-abs-byte]
[WARNING -reloc-abs-word] ; Yes, we use absolute addresses. surpress these warnings.
%define __STEVIA_MBR
jmp short (init - $$)
@@ -71,8 +73,8 @@ init:
;
; ###############
%include "kmem_func.inc"
%include "util/error_func.inc"
%include "util/kmem_func.nasm"
%include "util/error_func.nasm"
; ###############
; End Section
@@ -163,7 +165,7 @@ main:
;
; ###############
%include 'BIOS/func/ext_read.inc'
%include 'BIOS/func/ext_read.nasm'
; ###############
; End Section