Commit Graph

36 Commits

Author SHA1 Message Date
Greg Shuflin
ad88a0784b Move test utils into separate module 2022-02-25 19:39:09 -08:00
Greg Shuflin
56f003e8cc Simple test 2022-02-20 12:10:34 -08:00
Greg Shuflin
aa03bdad88 More test niceties 2022-02-20 02:15:04 -08:00
Greg Shuflin
a5fb50ffb5 Tests and test output over serial working 2022-02-20 02:01:45 -08:00
Greg Shuflin
4d7aa79434 Have panic handler print message 2022-02-19 01:01:32 -08:00
Greg Shuflin
1cfd133cb2 Run cargo fmt 2022-02-19 01:00:56 -08:00
Greg Shuflin
5c0ea91e65 Add back code for writing to screen 2022-02-19 01:00:27 -08:00
Greg Shuflin
2889490657 Add modern (2022) version of inital code 2022-02-13 19:56:35 -08:00
greg
7af0fe2c6c Update Cargo.toml 2021-04-16 02:07:40 -07:00
greg
a73a10f7a3 Update bootloader 2019-07-19 00:48:05 -07:00
greg
6a61e8f220 Keyboard typing support 2019-07-18 21:49:57 -07:00
greg
817a99d589 Add keyboard interrupt handler 2019-07-18 10:35:13 -07:00
greg
8b262daa3c Add halt loop 2019-07-18 10:31:02 -07:00
greg
0b8cd65458 Handle timer interrupt 2019-07-18 10:28:20 -07:00
greg
2627b216a1 Programmable Interrupt Controller 2019-07-18 03:28:55 -07:00
greg
0264a5e4b6 GDT, IDT stuff
set a separate stack for double-fault handler
2019-07-18 03:01:57 -07:00
greg
4c0ce08bc8 Double fault 2019-07-11 02:51:00 -07:00
greg
596bb35697 Triple-fault by deliberately dividing by zero with no handler 2019-07-11 02:44:26 -07:00
greg
41dfe6215d And put back interrupt/panic 2019-07-11 02:39:31 -07:00
greg
380b7adfbb Fix vga printing newlines 2019-07-11 02:38:49 -07:00
greg
9b61d543d6 Breakpoint interrupt 2019-07-11 02:35:02 -07:00
greg
c07949da0e Start interrupt table 2019-07-11 02:27:58 -07:00
greg
5be5acfef9 Panic handler 2019-07-11 01:47:49 -07:00
greg
ec115c43c4 Add kernel print macros 2019-07-11 01:46:28 -07:00
greg
0c0a53f1be Better vga buffer 2019-07-10 23:39:12 -07:00
greg
df27e7c2ee Add x86_64 package 2019-07-11 00:44:22 +00:00
greg
1aa9ea2810 Add some crates 2019-07-10 03:09:42 -07:00
greg
00e97bbd24 Write trait 2019-07-10 02:45:37 -07:00
greg
65c824e104 Add volatile crate 2019-07-10 02:27:20 -07:00
greg
0e9bff7bff Vga buffer + test for it 2019-07-10 02:25:12 -07:00
greg
be54882fe2 Add run script 2019-07-10 01:39:24 -07:00
greg
b2af51ffa6 Print to vga buffer 2019-07-10 01:37:58 -07:00
greg
3ed67bfd33 Add cargo config 2019-07-09 18:44:49 -07:00
greg
163c4cddcd Add os json file 2019-07-09 23:37:08 +00:00
greg
8d88b46702 Freestanding binary 2019-07-09 09:42:41 -07:00
greg
5448750610 Initial commit 2019-07-09 02:02:08 -07:00