Added code to setup and build the IDT. Updated the Bochs' configuration file to allow break points to be set and did some general code clean-up.

This commit is contained in:
2020-08-06 15:20:45 -05:00
parent d8071c0eac
commit 9fe73abe53
15 changed files with 453 additions and 19 deletions
+10
View File
@@ -38,3 +38,13 @@ load_gdt:
return:
ret ; Now we've changed CS to 0x08
global load_idt
; load_idt - Installs the IDT
; stack: [esp + 4] The address of the IDT
; [esp ] The return address
load_idt:
mov eax, [esp + 4]
lidt [eax]
ret