Commit Graph

228 Commits

Author SHA1 Message Date
Ain
8b750aabe9 kernel: Generalize startup code into main 2019-03-24 18:24:25 +00:00
Ain
8d12a42442 Make setup generic for both NBP and DOS startup 2019-03-24 17:59:45 +00:00
Ain
bcff1efe59 Add routine to backup IVT 2019-03-24 17:59:03 +00:00
Ain
0414af640a Implement block-based heap 2019-03-24 14:45:53 +00:00
Ain
6f7815bbe2 nbp: cosmetic fix 2019-03-23 21:27:25 +00:00
Ain
40a7c52bae kernel heap: dont trash ES 2019-03-23 21:27:06 +00:00
Ain
4489dd1b47 de-inline debug_init from main 2019-03-23 21:26:46 +00:00
Ain
d54f8ac4b9 Make relocation code not trash potentially important registers 2019-03-23 20:54:08 +00:00
Ain
5becc89872 Instead of adjusting CS, always relocate NBP to 0x00500 2019-03-23 20:37:18 +00:00
Ain
1005a24c7f Split nbp up into startup code and main 2019-03-23 20:23:17 +00:00
Ain
260db9f8d7 Move kernel libs into subdir, create NBP-specific entrypoint 2019-03-23 20:17:47 +00:00
Ain
c2e68a217e Move LISP stuff into subdir 2019-03-23 20:13:05 +00:00
Ain
b080b4830b Refocus malloc on lisp node allocation, implement basic cons creation 2019-03-18 13:27:00 +00:00
Ain
34eb0a2bd6 Optimize malloc for block reuse 2019-03-16 11:08:11 +00:00
Ain
8d541ce498 PoC for heap 2019-03-16 10:46:01 +00:00
Ain
ffba354a4e Remove superfluous cpu definition 2019-03-14 16:38:21 +00:00
Ain
4150ef90ef Start IVT handling, create debug IR as example user 2019-03-14 16:17:02 +00:00
Ain
8c4821967c WIP on main 2019-03-13 21:11:49 +00:00
Ain
4d827ec4e9 Add proper _exit procedure 2019-03-13 21:11:30 +00:00
Ain
bb675a67a7 Add missing dumpreg.asm 2019-03-13 21:10:41 +00:00
Ain
e76ec880bb Auxillary files for building and testing via PXE 2019-03-13 21:07:45 +00:00
Ain
6270e04339 Use BIOS instead of MS-DOS for kprintf 2019-03-13 20:11:56 +00:00
Ain
6ce37b4e28 Adjust CS at startup and HLT-loop after main 2019-03-13 20:11:19 +00:00
Ain
56f01a0888 Remove memory/mcb management 2019-03-13 17:28:38 +00:00
Ain
b21acb076c WIP 2019-03-13 17:27:52 +00:00
Ain
271ee98e27 Got mtab to be able to split up memory ranges 2019-03-11 00:21:19 +00:00
Ain
816b44a417 WIP 2019-03-10 22:38:32 +00:00
Ain
86b5b2a7aa PoC 2019-03-10 19:23:09 +00:00