Commit Graph

21 Commits

Author SHA1 Message Date
Lucia Ceionia
2114741766 Might? have fixed one race condition bug. Still crashing for unknown reasons on my laptop rarely 2023-02-02 18:15:14 -06:00
Lucia Ceionia
750b1edc16 Register arguments can be passed to v86 code 2023-02-02 14:52:26 -06:00
Lucia Ceionia
7937de6ef0 Added fun fault recovery :3 (I think I spotted a race condition in exception handling during testing, but whatever, that can wait) 2023-02-02 01:44:35 -06:00
Lucia Ceionia
ce771b19bb Fixed small mistake in last commit 2023-02-02 01:34:49 -06:00
Lucia Ceionia
02f03d2224 Usermode can now call system functions (currently get key, gfx mode) with INT 21H, Test switch to graphics mode is done from Usermode 2023-02-02 00:50:16 -06:00
Lucia Ceionia
679eb8cf57 More advanced Fault handling (recovers to text mode), Keyboard handler converted to C and improved (shifting, simple get_key added) 2023-02-01 20:42:05 -06:00
Lucia Ceionia
0faa2eb553 Adds more fault 'hanlders', Sets A20 for some hardware, Fixes some other minor stuff 2023-02-01 14:18:27 -06:00
Lucia Ceionia
afaf5e1a03 Implemented Paging! Moved Kernel to 0x100000, Moved TSS above 1M, Moved V86 to 0x8000, Moved Usermode test to 0x400000, Moved lots of things! 2023-01-31 21:26:43 -06:00
Lucia Ceionia
43e902e83c Fixed disk handling 2023-01-04 19:36:29 -06:00
Lucia Ceionia
9aa56cdce2 Actually read the dir 2022-09-22 10:08:56 -05:00
Lucia Ceionia
9216b3359a Fixed some Task stuff, added DOSFS filesystem 2022-09-21 17:14:11 -05:00
Lucia Ceionia
6ebee28032 Fixed problem loading null segs on real hardware 2022-09-20 13:13:42 -05:00
Lucia Ceionia
8c309c6d9f Added kernel disk reading test 2022-09-19 19:46:26 -05:00
Lucia Ceionia
606fc37e37 'Better' task management, needs more testing 2022-09-19 16:06:01 -05:00
Lucia Ceionia
c80a420da0 Usermode can return to caller, ret value in EAX. 2022-09-18 00:30:24 -05:00
Lucia Ceionia
1545a9a790 V86 returns to caller 2022-09-17 16:31:41 -05:00
Lucia Ceionia
8bfcd4fd19 GPT handler detects V86 mode; Interrupt printing fixes 2022-09-16 17:07:27 -05:00
Lucia Ceionia
192d4f04ed Fixed & Improved Makefile, Made V86 GPF handler not directly dereference
a null pointer - due to optimization breaking.
2022-09-16 15:50:58 -05:00
Lucia Ceionia
880118e7b4 Refactored into multiple files 2022-09-14 21:54:59 -05:00
Lucia Ceionia
0fa405dd98 real initial commit 2022-09-14 16:50:44 -05:00
Lucia Ceionia
cf7710ad25 Initial commit 2022-09-14 20:53:05 +00:00