Commit Graph

47 Commits

Author SHA1 Message Date
Ain
9a6ecabfd7 vbr: now able to load first cluster 2019-03-31 20:53:14 +00:00
Ain
dad80532ab Allow arbitrary floppy sizes 2019-03-31 13:22:24 +00:00
Ain
208b2f95b5 vbr: Reorder code, improve error behavior 2019-03-31 13:08:39 +00:00
Ain
6e209d9e55 vbr: reduce size for error reporting 2019-03-31 12:44:50 +00:00
Ain
8bb23d8a25 Remove whacky print_inline 2019-03-31 12:44:07 +00:00
Ain
1c4a0cf185 lib/print: shave off some bytes 2019-03-31 12:25:17 +00:00
Ain
9aa032a90c Rename vbr to fat12vbr 2019-03-30 12:39:53 +00:00
Ain
97fe07a210 vbr: implement file searching in rootdir 2019-03-29 23:48:18 +00:00
Ain
cb3c977286 vbr: bail out on disk read error 2019-03-29 22:32:50 +00:00
Ain
f70242dfa2 vbr: display drive geometry 2019-03-29 21:40:44 +00:00
Ain
a46114f6bd kernel: strip down to dumb binary, expect bootloader to load into sane location and setup stack 2019-03-27 23:07:04 +00:00
Ain
6bfb0dd21e vbr: read root directory into memory 2019-03-27 23:06:13 +00:00
Ain
7492e99c3f vbr: relocate to 0x00500 2019-03-27 23:05:46 +00:00
Ain
f1d11d84a2 Create fdimage using mtools 2019-03-27 22:10:03 +00:00
Ain
c88395c12d vbr: work in progress on block reading 2019-03-27 22:05:00 +00:00
Ain
391a1aa7d5 vbr: CHS reading seems to work so far 2019-03-26 20:46:40 +00:00
Ain
96234c2a40 vbr: Parse CHS from BIOS to optionally overwrite hardcoded CHS data 2019-03-25 22:00:07 +00:00
Ain
2229c319b6 Add first steps for VBR bootloader 2019-03-25 08:51:37 +00:00
Ain
414f35a1ce Trying to figure out best directory structure... 2019-03-24 18:30:49 +00:00
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