Make stage 2 entry (after GDT) call driver setup

The driver setup, which in turn calls all the drivers' setup functions
wasn't being called until now. Now, it is included and being called.

The test text which was used to test some display functions in older
revisions is also gone now.
This commit is contained in:
Eric-Paul Ickhorn 2024-07-23 23:57:58 +02:00
parent 94e5e70305
commit 6e8e022937
Signed by: epickh
GPG Key ID: CD23347165438512
1 changed files with 8 additions and 6 deletions

View File

@ -46,9 +46,6 @@ stage_2_setup_entry:
cli
hlt
some_text:
db "This is some text.", 0x00
; Utilities
; Memory Management
%include "memory/a20.asm"
@ -58,13 +55,18 @@ some_text:
bits 32
stage2_true_entry:
mov [dword 0xb8000], byte 'X'
mov [dword 0xb8000 + 1], byte 0x31
push ebp
mov ebp, esp
call setup_drivers
mov esp, ebp
pop ebp
cli
hlt
%include "utility/math.asm"
%include "utility/memory.asm"
%include "utility/display.asm"
; Driver Manager
; %include "drivers/manager.asm"
%include "drivers/manager.asm"