Commit Graph

258 Commits

Author SHA1 Message Date
Ain
d8fe1b211c Change kernel blob format to be option rom compatible 2019-04-20 21:02:35 +00:00
Ain
3b3fa349d4 Make interrupt landing pads safe against external DS values 2019-04-16 07:23:22 +00:00
Ain
8cdc21b596 Relocate kernel to 0x01000 per convention 2019-04-16 07:22:53 +00:00
Ain
0094ee6b95 Add 01h and 02h for DOSAPI 2019-04-14 19:35:55 +00:00
Ain
4b9d6da85c Clarify comment 2019-04-14 15:30:29 +00:00
Ain
ac8e07d5ce intr: Ship table with first 16 ISR offsets 2019-04-09 22:38:20 +00:00
Ain
befad93b30 Add build artifacts to gitignore 2019-04-01 19:57:09 +00:00
Ain
517c156c3d kernel: relocate to HMA if available 2019-03-31 22:58:19 +00:00
Ain
fa6e624604 kernel: wip 2019-03-31 20:54:51 +00:00
Ain
59f769d530 Floppy booting is broken on QEMU 2019-03-31 20:54:19 +00:00
Ain
781366a4a4 Fix Makefile 2019-03-31 20:53:33 +00:00
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