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

Missing SIO disk driver #1

Open
ytmytm opened this issue Nov 7, 2022 · 1 comment
Open

Missing SIO disk driver #1

ytmytm opened this issue Nov 7, 2022 · 1 comment

Comments

@ytmytm
Copy link
Owner

ytmytm commented Nov 7, 2022

Needs these parts to be implemented:

  • InitForIO and DoneForIO to setup/restore anything required by OS ROM to make SIO work (pages $02 and $03 can be freely used, zero page may have to be restored)
  • need to read 256 sector at a time using track & sector designation
  • there can be up to 255 tracks (track 0 doesn't exist) and up to 256 sectors on each track
  • track 18 is special, needs to hold disk header in (18,0) and start of directory in (18,1)
  • GEOS will put a Commodore DOS-like filesystem upon that, so no compatibility with native Atari disks
  • SetDevice needs to be implemented to swap disk driver from $9000-$9D80 in main RAM with $5000-$5D80 in extended RAM bank 0

SIO can be handled through ROM functions (like cc65 does?) or directly.

@ytmytm
Copy link
Owner Author

ytmytm commented Nov 17, 2022

This seems to implement SIO access without resorting to ROM: https://www.horus.com/~hias/atari/#hipatch

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

1 participant