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
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
4e779c5a22
Lay out skeletons for FCB handling
2020-10-11 21:33:01 +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
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
9cd4c04c42
Make kernel and fat.bs use BPB struct
2020-09-15 21:45:29 +02:00
035b69db10
fat.bs: Implement correctly for FAT12
2020-04-22 21:45:40 +02:00
34ef468aa9
fat.bs: Smaller BPB size when not FAT32
2020-04-22 21:45:06 +02:00
f46871502c
Pave way for supporting FAT16 and FAT12
2020-04-06 19:20:15 +00:00
955acdacba
Split code up into directories for bs and com binaries
2020-03-30 12:14:47 +00:00
bc238a3bf9
i still dont know what im doing
2020-03-01 16:45:16 +00:00
4847eb4d88
Revert "Throw out previous x86 stuff"
...
This reverts commit 807db4a592
.
2020-03-01 12:03:35 +00:00
807db4a592
Throw out previous x86 stuff
2019-12-22 02:52:40 +01:00
eb67071ffb
Ubuntu needs stdint.h for uint8_t
2019-11-24 11:28:39 +00:00
af61db5e40
Improve memory position handling
2019-10-28 10:49:42 +00:00
47630b2c03
Implement boot based on reserved sectors
2019-10-28 10:38:18 +00:00
f81de2bfe8
Rename kernel to bdos
2019-10-27 18:59:42 +00:00
f6b8df0598
Remove misplaced data
2019-10-12 15:10:19 +00:00
d1dab01633
Rename rdos.sys to rdos.bin
...
*.sys is meant for DOS-like driver binaries. I actually have a flat
binary with a specific load offset.
2019-09-29 21:26:59 +00:00
56f9df5773
Throw DOS api away, re-layout memory to fit CP/M model
2019-09-29 08:52:00 +00:00
80a7b03ddc
Provide config file via CX (len) and BX (ptr) to kernel entry
2019-09-24 21:33:04 +00:00
a4e6a943b0
Make bootloader load both kernel and kernel config
2019-09-24 21:14:29 +00:00
cd7aafde09
Run kernel with from offset 0
...
I try to get the interrupt handlers into a offset as low as possible.
This is necessity if i want to relocate it later on its own.
For running from HMA, a minimal offset of 16 bytes would still be
necessary.
2019-09-23 22:06:29 +00:00
df4d3a90e3
Use SYS extension for kernel
2019-09-23 22:05:01 +00:00
0b7d141af7
Add warning about mformat overwriting bootsector code
2019-09-23 21:19:12 +00:00
705cd5c725
Remove command line parsing from bootloader
2019-09-23 20:25:39 +00:00
54149839a3
Rename fatvbr -> fat, generalize makefile
2019-09-21 18:05:41 +00:00