Commit Graph

444 Commits

Author SHA1 Message Date
Nero 729e6790ef boot/fat: Save a byte restoring DL 2020-09-27 15:10:28 +00:00
Nero 909349a4cf boot/fat: Shave off a byte by storing final address on stack 2020-09-27 11:25:57 +00:00
Nero 386e91b4c8 boot/fat: Fix incorrect initialisation of dx 2020-09-27 10:48:05 +00:00
Nero 2dc6970721 boot/fat: Use segmentation to allow up to 64Kb fat/kernel size 2020-09-27 10:40:42 +00:00
Nero adf67d9723 Rework fat boot sector, load FAT only once instead of partial 2020-09-23 23:01:50 +00:00
Nero 31eac279c2 Revert to more sensible kernel.bs boot scheme
I think i should consider it a necessity that the kernel is accessible
as a regular file. This makes installing rdos on another blockdev
much easier.
2020-09-20 19:58:19 +02:00
Nero 8ed9fe7465 Fix hdd booting using bpb struc 2020-09-19 08:22:50 +00:00
Nero 1d64c2364d Improve build transparency (documentation and inline version number) 2020-09-17 08:59:22 +00:00
Nero e1bfaa5d88 automatically use kvm if available 2020-09-17 06:47:32 +00:00
Nero 8e87cf0f75 Load kernel from reserved sectors in fatfs 2020-09-17 05:57:46 +00:00
Nero 1ee0637eab Update goals 2020-09-15 22:02:38 +02:00
Nero 9cd4c04c42 Make kernel and fat.bs use BPB struct 2020-09-15 21:45:29 +02:00
Nero 303b1756e0 Fuck up the kernel, i have other ideas now 2020-09-15 21:44:32 +02:00
Nero 4b5993cfa9 WIP of asm86 2020-09-15 21:44:13 +02:00
Nero 79c902c197 kernel: Fix borked ax assignment 2020-08-31 20:21:10 +00:00
Nero 352540bd25 kernel: First steps of calculating drive tab data from BPB 2020-08-31 20:11:05 +00:00
Nero cc3fe6c4ee kernel: fix banner printing 2020-08-27 21:01:41 +00:00
Nero f0a000b7d1 kernel: implement diskio using drive table 2020-08-27 20:52:16 +00:00
Nero 4a294ee21c kernel: fix advancing of drive table pointer during drive init 2020-08-22 23:38:11 +00:00
Nero 3b39572043 kernel: fall back to defaults if int 13h/ah=8 spews bogus data 2020-08-22 23:36:25 +00:00
Nero ff3a59c71e kernel: properly loop over floppies 2020-08-22 23:36:09 +00:00
Nero c3f22e5aea remove docs 2020-08-15 21:16:50 +00:00
Nero fde87d651c kernel: read A: geometry from BIOS 2020-08-15 21:15:31 +00:00
Nero 734ab3852a Remove skeleton of rom-based kernel 2020-08-15 21:02:30 +00:00
Nero c604fd43e7 Remove attempt of rom-based debugger 2020-08-15 20:59:40 +00:00
Nero d6b5792ff7 Make dprintf the default debugging facility 2020-08-15 20:58:40 +00:00
Nero 626b7e5624 Add struc for disk parameter table 2020-08-15 18:30:17 +00:00
Nero a90ca60422 Add first steps of another assembler attempt 2020-07-19 12:07:03 +02:00
Nero 5382edc2ae Improve ordering of binary data in kernel 2020-07-04 10:35:38 +02:00
Nero f9b180ea57 Implement file descriptor table and CON as file descriptor 2020-06-28 19:01:14 +02:00
Nero 65564b78af Start working on rom-based kernel 2020-05-29 00:32:30 +02:00
Nero 04a7087d79 debug: First steps on instruction decoding 2020-05-19 23:10:20 +02:00
Nero e60e49735c debug: Add stub for instruction decoding 2020-05-19 18:26:22 +02:00
Nero a31e574b3a debug: Split commands into thematically organized files 2020-05-18 23:43:54 +02:00
Nero 8056ad5cfb debug: commands are now always typed uppercase 2020-05-18 23:12:58 +02:00
Nero d264404bb1 debug: print register name when changing register 2020-05-18 22:50:30 +02:00
Nero 8407275ba9 debug: Implement number parsing and editing of registers 2020-05-18 22:35:41 +02:00
Nero a386416f28 debug: fix check if there are arguments 2020-05-18 20:17:58 +02:00
Nero fc1aa47039 debug: Implement parsing of register names 2020-05-18 20:05:06 +02:00
Nero 2a7087a21f debug: Reduce stack usage on entry from 5 to 4 words 2020-05-18 18:23:37 +02:00
Nero 9ce6ec5476 debug: Rework repl loop and implement help command '?' 2020-05-17 22:46:11 +02:00
Nero 31a72d594a debug: fix missing PnP product name string terminator 2020-05-17 18:09:50 +02:00
Nero e30f99c1a7 debug.rom: Allocate lowmem segment instead of full relocate 2020-05-16 13:10:21 +00:00
Nero e217b70bb7 Remove CP437 bitmap, i dont intend to use graphics mode for OS 2020-05-14 19:18:34 +00:00
Nero df9f50c29a Remove leftover gitmodules 2020-05-14 19:17:34 +00:00
Nero 1647e70cae debug.rom: Implement cheapo versions of g and t commands 2020-05-13 21:30:43 +00:00
Nero 47037ad708 debug rom: implement cmd loop 2020-05-13 19:48:57 +00:00
Nero 064b6ff6af debug.rom: re-implement displaying flags and returning to code 2020-05-12 21:27:48 +00:00
Nero c8adeb35d2 Drop debug.drv, rework debug rom instead 2020-05-12 20:47:34 +00:00
Nero 2569dde385 Add WIP for new debugger 2020-05-11 22:23:27 +00:00