boot page table works

This commit is contained in:
2026-06-15 23:35:01 -05:00
parent 25da0f6a71
commit fe3725db99
7 changed files with 100 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
#define PIC1_ADDR 0x20
#define PIC2_ADDR 0xA0
#define PIC1_ADDR 0x20 + 0xC0000000
#define PIC2_ADDR 0xA0 + 0xC0000000
#define PIC1_COMMAND PIC1_ADDR
#define PIC1_DATA (PIC1_ADDR+1)
#define PIC2_COMMAND PIC2_ADDR

View File

@@ -5,7 +5,7 @@
#define VGA_WIDTH 80
#define VGA_HEIGHT 25
#define VGA_MEMORY 0xB8000
#define VGA_MEMORY (0xB8000 + 0xC0000000)
enum vga_color {
VGA_COLOR_BLACK = 0,