Commit Graph

319 Commits

Author SHA1 Message Date
Nero 7d7b4a89e6 Make mechanism for using qemu with option roms generic 2019-09-18 11:03:21 +00:00
Nero c70f388548 Get MBR ready, add hdimage target 2019-09-17 22:41:39 +00:00
Nero 7c4a618385 Add first attempt of a MBR 2019-09-17 21:53:10 +00:00
Nero da03aa1481 Relocate boot sector to 0x600 2019-09-16 12:05:15 +00:00
Nero cff186a1bb Make better use of mformat features 2019-09-16 10:26:48 +00:00
Nero fe42e9145a fatvbr: correctly setup segment registers 2019-09-15 19:49:58 +00:00
Nero 956df75dae Add mechanism for additional files on floppy 2019-09-15 19:03:08 +00:00
Nero fc0dd47d48 Remove rom and serial boot methods from qemu testing 2019-09-15 18:01:48 +00:00
Nero bfb5b227b6 Fix cmdline setup in fatvbr 2019-09-15 17:51:44 +00:00
Nero e143159a7a Rename floppy bootsec into fatvbr, thats more accurate 2019-09-15 17:33:01 +00:00
Nero 567e09f7e9 Bootloader: parse cmdline field 2019-09-15 17:26:09 +00:00
Nero 4c9086e365 Rework bootloader to have adjustable memory layout 2019-09-14 13:18:23 +00:00
Nero 83d6b76ed5 Remove isacon debug and stdio serial, use terminal via curses instead 2019-09-11 19:32:40 +00:00
Nero 6cbcc3efca Experimental cache.asm not checked in yet 2019-09-10 22:03:50 +00:00
Nero d5ba0f3e30 Remove intr function not in line with int 21h
If we have them, use them for setting up ourselves
2019-09-10 21:50:58 +00:00
Nero e86bde72f8 Rework interrupt handling, realign stuff for relative jumps 2019-09-10 21:38:52 +00:00
Nero e4dec4b14c Oi vey, sar is sign-extending, which is not what we want 2019-09-10 13:44:44 +00:00
Nero cd258ccbe4 Work on interrupt subfunctions, remove drvtab experiments 2019-09-08 15:18:37 +00:00
Nero 05c7e905d0 Fix copying of kernel arguments 2019-09-08 11:00:19 +00:00
Nero b6972dcc69 Fix floppy VBR: wrong stack location 2019-09-08 10:03:00 +00:00
Nero e7108f6622 Fix max argument length 126 -> 127 2019-09-08 01:05:32 +00:00
Nero d853b87ec7 Use COM-based format, get bootloader working 2019-09-08 01:04:01 +00:00
Nero 11b4d07dc1 Split up kernel and debug rom 2019-09-06 23:42:39 +00:00
Nero 4fa383bb2e Add basic 21h functions 2019-09-05 22:24:39 +00:00
Nero b1e9b75693 Remove unused nop area 2019-09-04 16:41:07 +00:00
Nero 40bd6f5d12 qemu: Dont try to use display if there is none 2019-09-04 13:38:32 +00:00
Nero a0adadeaf4 Add drive table initialisation 2019-09-03 10:58:06 +00:00
Nero e6e75082e3 Register IV 1 and 3 per default 2019-09-01 14:16:47 +00:00
Nero dcbb719488 Fix broken intr_load, use LDS instruction 2019-09-01 14:15:26 +00:00
Nero de90b9cfd1 Routine for loading far ptr from IVT 2019-09-01 14:05:40 +00:00
Nero 809a959608 Improve register hygiene for interrupt setup 2019-09-01 13:48:28 +00:00
Nero b5cc332a02 Remove malloc, pursue a more DOS-like MM approach 2019-09-01 13:46:48 +00:00
Nero abe7d1c5f4 Add free_sector 2019-08-31 12:00:33 +00:00
Nero ffe6eb0904 Add malloc_sector 2019-08-31 11:57:15 +00:00
Nero 126e3aae74 implement malloc and free for default 16 byte paragraphs 2019-08-30 23:15:20 +00:00
Nero f0abe935fd Fix crap... 2019-08-30 22:24:40 +00:00
Nero 4e188235f9 Add malloc table dump 2019-08-30 22:18:05 +00:00
Nero aec0218ccf Mark reserved memory ranges as allocated on start 2019-08-30 21:48:39 +00:00
Nero 9443996f56 Notes on malloc functions 2019-08-30 17:43:46 +00:00
Nero 385bf15414 Add malloc 2019-08-30 17:40:47 +00:00
Nero 6b424844e9 Optimize fix_chs code 2019-06-24 17:05:57 +00:00
Nero 75ebf6dfd9 Complement gitignore by additional build artifact types 2019-06-24 16:52:45 +00:00
Nero a0ea232b7c Remove attempt of ramdisk layer 2019-06-24 16:50:51 +00:00
Nero 4b35c68345 debugger: Use opcode order for arithmetic register display 2019-06-24 16:49:36 +00:00
Nero 78d5b6aa28 Add prototype for serial bootloader 2019-06-24 16:47:31 +00:00
Nero 1259fe14fe Rework VBR 2019-05-19 20:07:08 +00:00
Nero c288bbffb9 Fix alignment fuckup in VBR 2019-05-07 17:50:07 +00:00
Nero 8aafa98c6a Revamp debugger, including support for printing padded numbers 2019-05-05 11:18:55 +00:00
Nero dab565ee41 debug ISR: display flags 2019-05-02 21:06:02 +00:00
Nero 9b1c54f5d3 Disable interrupts during boot 2019-05-02 20:51:20 +00:00