Began moving to C. (No C yet)

If you want to build the assembly version, run the buildAsm.sh script
Currently just setting up the bootloader.
This commit is contained in:
2024-01-02 14:40:32 +01:00
parent 845e33479a
commit 726247a4f2
15 changed files with 365 additions and 74 deletions
+24
View File
@@ -0,0 +1,24 @@
resetTextMode:
pusha
mov ah, 0 ; Set mode
mov al, 0x03 ; 25x80, Text mode
int 0x10
mov ah, 0x0b ; Change color/palette
mov bh, 0x00 ; Change BG color
mov bl, 0x01 ; Blue BG
int 0x10
popa
ret
resetGraphicsMode:
pusha
mov ah, 0 ; Set mode
mov al, 0x13 ; 320x200, 256 color graphics mode
int 0x10
popa
ret