Commit Graph

106 Commits

Author SHA1 Message Date
de04b5ca01 Make logging in drive a no-op if drive already logged in 2020-12-17 00:41:53 +00:00
bd3b27362d skip reads when sector number already matches 2020-12-17 00:10:02 +00:00
e096745c13 Implement map-like sector access for floppy drives 2020-12-15 23:29:35 +00:00
6bdb1da2ed Read disk geometry and DPT from BIOS 2020-10-30 09:29:22 +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
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
Ain
303b1756e0 Fuck up the kernel, i have other ideas now 2020-09-15 21:44:32 +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
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
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
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
5129a5499e Implement calculation of number of clusters 2020-05-11 21:19:51 +00:00
1b42f1a480 Implement calculation for FAT position 2020-05-10 16:47:48 +00:00
2cb39a4ff1 Implement lba read 2020-05-08 20:48:23 +00:00
a472c396e7 Implement reading of BPB from FAT partition 2020-05-07 22:56:37 +00:00
8d28dc9f85 Implement reading of partition offset and size 2020-05-06 20:28:30 +00:00
9377924eab Implement reading geometry info from floppy BPB 2020-05-04 19:49:26 +00:00
Ain
36f4673c91 Another attempt on disk i/o 2020-05-02 23:57:23 +02:00
Ain
6d1befb49f kernel/diskio: EBIOS access is first class citizen in kernel 2020-04-28 22:09:56 +02:00
Ain
b73bfbe043 Split out kernel components in kernel/ 2020-04-27 15:56:41 +02:00
Ain
4a92c4bc1e Drop MCBs as mean to manage memory 2020-04-18 22:59:46 +02:00
Ain
f7d3d5c62f Fix addressing mistake when splitting MCB 2020-04-17 23:59:57 +02:00
Ain
6d38a313c7 Implement MCB splitting 2020-04-17 23:33:42 +02:00
Ain
6c165f40c0 Create basic MCB at boot 2020-04-17 01:24:23 +02:00
f81de2bfe8 Rename kernel to bdos 2019-10-27 18:59:42 +00:00
Ain
da506d36ac Preserve AX on buffered input 2019-10-20 19:45:55 +00:00
Ain
f3a6ae338f Move out console interfacing into separate file 2019-10-20 19:11:44 +00:00
Ain
e86b1ba004 Another attempt at implementing a block layer 2019-10-20 09:56:27 +00:00
Ain
e70386bcfb Mask raw directory bit when giving drive number to int13 2019-10-17 19:19:12 +00:00
Ain
b3014ef8e4 Meh 2019-10-16 21:09:31 +00:00
Ain
4abfab2812 Test with easier to implement EQU syntax 2019-10-15 20:37:14 +00:00
Ain
66f54f639c WIP on fcb io 2019-10-14 17:59:48 +00:00
Ain
a65f54b121 Advance on FCB disk i/o 2019-10-12 18:33:26 +00:00
Ain
e07e13fd35 Add hexdump for kernel 2019-10-12 15:10:39 +00:00
Ain
7ba68e13f7 Implement CP/M basic char io 2019-10-08 19:53:41 +00:00
Ain
7877809bc1 WIP on FCB disk i/o 2019-10-08 17:54:39 +00:00
Ain
6e7a6563d5 Improve register hygiene 2019-09-29 21:33:28 +00:00
Ain
a0f2a71066 WIP on loading files from disk 2019-09-29 21:25:29 +00:00
Ain
1ae3c7a0b9 Implement FCB parsing in kernel 2019-09-29 12:23:39 +00:00
Ain
56f9df5773 Throw DOS api away, re-layout memory to fit CP/M model 2019-09-29 08:52:00 +00:00
Ain
cc28b42897 Factor out string token search 2019-09-28 12:37:16 +00:00
Ain
df8e47803a Generate rconfig.sys from distfile
*.sys files are affected by make clean.
2019-09-25 20:49:32 +00:00