Commit Graph

319 Commits

Author SHA1 Message Date
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
Nero 5129a5499e Implement calculation of number of clusters 2020-05-11 21:19:51 +00:00
Nero efb5ad146c Dummy for loading rdos drvs via option rom 2020-05-11 20:50:32 +00:00
Nero 1b42f1a480 Implement calculation for FAT position 2020-05-10 16:47:48 +00:00
Nero 2cb39a4ff1 Implement lba read 2020-05-08 20:48:23 +00:00
Nero a472c396e7 Implement reading of BPB from FAT partition 2020-05-07 22:56:37 +00:00
Nero 8d28dc9f85 Implement reading of partition offset and size 2020-05-06 20:28:30 +00:00
Nero 9377924eab Implement reading geometry info from floppy BPB 2020-05-04 19:49:26 +00:00
Nero 6317d48396 Write down some roadmap 2020-05-03 19:05:00 +02:00
Nero 36f4673c91 Another attempt on disk i/o 2020-05-02 23:57:23 +02:00
Nero 404825387b mbr: make use of BPB includes 2020-04-30 20:22:14 +02:00
Nero 6d1befb49f kernel/diskio: EBIOS access is first class citizen in kernel 2020-04-28 22:09:56 +02:00
Nero b73bfbe043 Split out kernel components in kernel/ 2020-04-27 15:56:41 +02:00
Nero 2d949a01f8 Implement whacky first version for 25h disk read 2020-04-26 23:14:34 +02:00
Nero 43e5cd6379 Direct console input: Dont return non-ascii keypresses 2020-04-25 21:54:15 +02:00
Nero da41f6b0e2 Rework early startup and fix bss memory reservation 2020-04-23 21:49:10 +02:00
Nero 4804bf28ea Place variables into area after binary 2020-04-23 21:36:20 +02:00
Nero 3619a20703 Implement some console i/o 2020-04-23 21:35:28 +02:00
Nero 035b69db10 fat.bs: Implement correctly for FAT12 2020-04-22 21:45:40 +02:00
Nero 34ef468aa9 fat.bs: Smaller BPB size when not FAT32 2020-04-22 21:45:06 +02:00
Nero 63e85af62f Fix building of hdd image 2020-04-22 21:44:43 +02:00
Nero abc7b563cd Revamp MBR
New features:
- ES:DI (potential PnP structure) is preserved
- FAT detection now works by checking for BPB values
- Uses booterr procedure
2020-04-21 23:27:00 +02:00
Nero bbfcd42f61 Set up interrupt table at startup directly (less code), not calling setint 2020-04-21 20:22:42 +02:00
Nero 94829aed1e qemu-hdd: Use hdd image with full partition table 2020-04-21 20:22:32 +02:00
Nero 22c1d45e59 Start document on EGA video 2020-04-20 21:41:42 +02:00
Nero 13e32675a1 Ship documentation on bios data area 2020-04-20 21:24:29 +02:00