(First timer here) FDISK: Getting into the nitty-gritty
Posted: Fri May 03, 2024 2:20 pm
I'll preface this with a bit so y'all know that while I'm a bit of a n00b in the OS department, I've been programming for a while - mainly on emulators. Been coding in C for almost 25 years now - and been learning x86 ASM recently. I've made a few attempts at rewriting DOS that went down in smoke, but I've got a few pieces of those projects. And then IBM and Microsoft dropped PC DOS/MS-DOS 4.0 on us recently
I was looking at some of the pieces we've got that aren't likely to need too much updating, and decided FDISK could use a nicer interface, but couldn't really get too deep into the weeds because the code's partially algolized (anyone who's seen the original code to the Bourne Shell will know what I mean). I almost think it'll be easier to just gut the thing and start fresh.
And this is where I'm deep in the weeds. I know a bit of the basics, and keep RBIL open most times (remember, 8088 target here in C/ASM) so at the high level I'm fine. It's when I get down to stuff like enumerating hard drives and handling MBR that I'm lost, and not really finding the info I need (if I just need to RTFW - read the f'n wiki - it's possible I just haven't found the right page yet!)
(For what it's worth, I'll be using the same license that the existing code has, and I _can_ avail myself of the existing code, inasfar as it's part of 4.0 and therefore legitimate.)
I was looking at some of the pieces we've got that aren't likely to need too much updating, and decided FDISK could use a nicer interface, but couldn't really get too deep into the weeds because the code's partially algolized (anyone who's seen the original code to the Bourne Shell will know what I mean). I almost think it'll be easier to just gut the thing and start fresh.
And this is where I'm deep in the weeds. I know a bit of the basics, and keep RBIL open most times (remember, 8088 target here in C/ASM) so at the high level I'm fine. It's when I get down to stuff like enumerating hard drives and handling MBR that I'm lost, and not really finding the info I need (if I just need to RTFW - read the f'n wiki - it's possible I just haven't found the right page yet!)
(For what it's worth, I'll be using the same license that the existing code has, and I _can_ avail myself of the existing code, inasfar as it's part of 4.0 and therefore legitimate.)