Byron Lathi
32c82044a7
Fix more bugs
2023-12-01 00:56:16 -08:00
Byron Lathi
597d15e234
Add terminal write as well, use it in kernel
2023-11-29 17:19:18 -08:00
Byron Lathi
e73d8db74c
Serial Fix
...
Fixes a typo with getc_nb, removes the RTC tick code (since we know it
works now and it is clogging up the screen), read characters in a loop
instead of just once.
2023-11-28 23:23:31 -08:00
Byron Lathi
fd9ccdbce4
Add serial driver and irq support
2023-11-28 22:54:26 -08:00
Byron Lathi
9ce5b7592f
Use longer rtc interval
2023-11-22 20:57:49 -08:00
Byron Lathi
930e802a86
Add init code for mapper
...
init_mapper now remaps so that it can change irq vectors
2023-11-22 17:33:12 -08:00
Byron Lathi
d172706313
Clear interrupt before waiting
2023-11-20 23:32:05 -08:00
Byron Lathi
7089b663ca
add interrupt init code (and increase rtc tick rate)
2023-11-20 22:23:18 -08:00
Byron Lathi
1e9be6c764
RTC: Fix threshold/irq_threshold initialization
...
Also throw some newlines in the kernel print messages.
2023-11-19 23:28:11 -08:00
Byron Lathi
680bccee62
Init rtc and pic in kernel
2023-11-19 22:11:29 -08:00
Byron Lathi
e3662e703c
Add back long string
2023-10-30 00:04:57 -07:00
Byron Lathi
2577ab2a9a
Update kernel makefile, test more kernel code
2023-10-28 13:12:41 -07:00
Byron Lathi
4104a2eeb9
Do a more sane string print first
2023-10-27 20:49:06 -07:00
Byron Lathi
85f53816f9
Remove unneeded CR
2023-09-27 23:03:22 -07:00
Byron Lathi
b2b3b84bc4
Kernel crashing
2023-08-26 23:15:36 +00:00
Byron Lathi
7ad1079289
Restart kernel
2023-08-12 11:59:45 -07:00