Commit Graph

444 Commits

Author SHA1 Message Date
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
Ain
2a7087a21f debug: Reduce stack usage on entry from 5 to 4 words 2020-05-18 18:23:37 +02:00
Ain
9ce6ec5476 debug: Rework repl loop and implement help command '?' 2020-05-17 22:46:11 +02:00
Ain
31a72d594a debug: fix missing PnP product name string terminator 2020-05-17 18:09:50 +02:00
e30f99c1a7 debug.rom: Allocate lowmem segment instead of full relocate 2020-05-16 13:10:21 +00:00
e217b70bb7 Remove CP437 bitmap, i dont intend to use graphics mode for OS 2020-05-14 19:18:34 +00:00
df9f50c29a Remove leftover gitmodules 2020-05-14 19:17:34 +00:00
1647e70cae debug.rom: Implement cheapo versions of g and t commands 2020-05-13 21:30:43 +00:00
47037ad708 debug rom: implement cmd loop 2020-05-13 19:48:57 +00:00
064b6ff6af debug.rom: re-implement displaying flags and returning to code 2020-05-12 21:27:48 +00:00
c8adeb35d2 Drop debug.drv, rework debug rom instead 2020-05-12 20:47:34 +00:00
2569dde385 Add WIP for new debugger 2020-05-11 22:23:27 +00:00