progress on serial and added editor

This commit is contained in:
2026-03-16 04:31:47 +00:00
parent a4446cdb62
commit 6061e1701e
47 changed files with 1878 additions and 396 deletions
+31 -1
View File
@@ -1,14 +1,44 @@
include serial: "./serial.dsa"
include idt: "./idt.dsa"
include print: "./print.dsa"
resb buff: 256
dw stack: 0x1000
_init:
ldw stack, bpr
mov bpr, spr
call idt::setup_base
call idt::setup_io
db hello: "Serial works lol. this took ages and some clanker forgetting to dereference a pointer."
db hello2: "hello2"
db hello: "Test message, hello world etc etc."
main:
lwi hello, rg0
push rg0
call serial::print
pop zero
lwi hello, rg0
push rg0
call print::print
pop zero
//lwi buff, rg0
//lwi 32, rg1
//push rg0
//push rg1
push zero
call serial::read_byte
pop rg0
//pop zero
push rg0
call print::print
pop zero
lwi hello2, rg0
push rg0
call print::print
pop zero
hlt