Commit Graph

355 Commits

Author SHA1 Message Date
c0bd238d54 New bootsect program to dump bios data area, aid for debugging hw 2020-12-15 20:16:42 +00:00
6bdb1da2ed Read disk geometry and DPT from BIOS 2020-10-30 09:29:22 +00:00
c06c6ac918 fat vbr: fix incorrect addition of partition offset 2020-10-25 14:22:53 +00:00
50aa6e4eec Use uppercase non-struct constants for BPB 2020-10-25 09:15:33 +00:00
dc6035fe9d Protypical implementation of DPT copying 2020-10-24 22:50:23 +00:00
33f4fe37a8 Makefile: Fix KVM detection to not trigger on weird ass make versions 2020-10-20 21:03:47 +00:00
ca3eebd692 Remove fields from BPB that are EBPB actually
This is just a trick so i can use bpb_size in the kernel later,
omitting things that are not relevant to interfacing the FS.
2020-10-15 20:20:17 +00:00
7b18c6d236 fix bpb struc: forgot single byte for flags 2020-10-14 20:16:43 +00:00
c41782c78f Build drive selection logic for FCBs 2020-10-13 20:10:23 +00:00
4e779c5a22 Lay out skeletons for FCB handling 2020-10-11 21:33:01 +00:00
31c6ef5876 boot/kernel: print banner 2020-09-27 15:45:19 +00:00
729e6790ef boot/fat: Save a byte restoring DL 2020-09-27 15:10:28 +00:00
909349a4cf boot/fat: Shave off a byte by storing final address on stack 2020-09-27 11:25:57 +00:00
386e91b4c8 boot/fat: Fix incorrect initialisation of dx 2020-09-27 10:48:05 +00:00
2dc6970721 boot/fat: Use segmentation to allow up to 64Kb fat/kernel size 2020-09-27 10:40:42 +00:00
adf67d9723 Rework fat boot sector, load FAT only once instead of partial 2020-09-23 23:01:50 +00:00
Ain
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
8ed9fe7465 Fix hdd booting using bpb struc 2020-09-19 08:22:50 +00:00
1d64c2364d Improve build transparency (documentation and inline version number) 2020-09-17 08:59:22 +00:00
e1bfaa5d88 automatically use kvm if available 2020-09-17 06:47:32 +00:00
8e87cf0f75 Load kernel from reserved sectors in fatfs 2020-09-17 05:57:46 +00:00
Ain
1ee0637eab Update goals 2020-09-15 22:02:38 +02:00
Ain
9cd4c04c42 Make kernel and fat.bs use BPB struct 2020-09-15 21:45:29 +02:00
Ain
303b1756e0 Fuck up the kernel, i have other ideas now 2020-09-15 21:44:32 +02:00
Ain
4b5993cfa9 WIP of asm86 2020-09-15 21:44:13 +02:00
79c902c197 kernel: Fix borked ax assignment 2020-08-31 20:21:10 +00:00
352540bd25 kernel: First steps of calculating drive tab data from BPB 2020-08-31 20:11:05 +00:00
cc3fe6c4ee kernel: fix banner printing 2020-08-27 21:01:41 +00:00
f0a000b7d1 kernel: implement diskio using drive table 2020-08-27 20:52:16 +00:00
4a294ee21c kernel: fix advancing of drive table pointer during drive init 2020-08-22 23:38:11 +00:00
3b39572043 kernel: fall back to defaults if int 13h/ah=8 spews bogus data 2020-08-22 23:36:25 +00:00
ff3a59c71e kernel: properly loop over floppies 2020-08-22 23:36:09 +00:00
c3f22e5aea remove docs 2020-08-15 21:16:50 +00:00
fde87d651c kernel: read A: geometry from BIOS 2020-08-15 21:15:31 +00:00
734ab3852a Remove skeleton of rom-based kernel 2020-08-15 21:02:30 +00:00
c604fd43e7 Remove attempt of rom-based debugger 2020-08-15 20:59:40 +00:00
d6b5792ff7 Make dprintf the default debugging facility 2020-08-15 20:58:40 +00:00
626b7e5624 Add struc for disk parameter table 2020-08-15 18:30:17 +00:00
Ain
a90ca60422 Add first steps of another assembler attempt 2020-07-19 12:07:03 +02:00
Ain
5382edc2ae Improve ordering of binary data in kernel 2020-07-04 10:35:38 +02:00
Ain
f9b180ea57 Implement file descriptor table and CON as file descriptor 2020-06-28 19:01:14 +02:00
Ain
65564b78af Start working on rom-based kernel 2020-05-29 00:32:30 +02:00
Ain
04a7087d79 debug: First steps on instruction decoding 2020-05-19 23:10:20 +02:00
Ain
e60e49735c debug: Add stub for instruction decoding 2020-05-19 18:26:22 +02:00
Ain
a31e574b3a debug: Split commands into thematically organized files 2020-05-18 23:43:54 +02:00
Ain
8056ad5cfb debug: commands are now always typed uppercase 2020-05-18 23:12:58 +02:00
Ain
d264404bb1 debug: print register name when changing register 2020-05-18 22:50:30 +02:00
Ain
8407275ba9 debug: Implement number parsing and editing of registers 2020-05-18 22:35:41 +02:00
Ain
a386416f28 debug: fix check if there are arguments 2020-05-18 20:17:58 +02:00
Ain
fc1aa47039 debug: Implement parsing of register names 2020-05-18 20:05:06 +02:00