Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk Interface #15

Open
Sploder12 opened this issue Feb 26, 2023 · 2 comments
Open

Disk Interface #15

Sploder12 opened this issue Feb 26, 2023 · 2 comments

Comments

@Sploder12
Copy link
Member

The most important part of a "Disk Operating System" is the ability to interface with a disk!
More specifically we are interested in an ATA interface since it is the most basic.
Note that this is a preliminary task for having a filesystem.

The must-haves are:

  • LBA addressing
  • CHS <-> LBA conversion
  • A way to get the capacity of a disk
  • A way to read/write an arbitrary amount of sectors into/from a buffer

It might be useful to note that the booting drive is stored in memory at 0x7dfd (or next to that address, I haven't verified it). This is the very first thing the boot sector does! (see boot_sect.asm for more info)

@shawnz99
Copy link
Collaborator

I'll start looking at this

@shawnz99
Copy link
Collaborator

I'm starting looking at this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants