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

Allow SAVE/LOAD to disk #5

Open
unbibium opened this issue Aug 17, 2021 · 1 comment
Open

Allow SAVE/LOAD to disk #5

unbibium opened this issue Aug 17, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@unbibium
Copy link
Owner

CBM disk drives took responsibility for the filesystem. Reading and writing files were simple serial transactions between the computer and the drive. This is why you could turn on the machine and just type LOAD"*",8,1 and it would load the first file on disk.

Atari disk drives had a microprocessor, but it was limited to reading and writing by sector. Atari computers had disk routines, but they were limited to reading the first few sectors from disk and loading enough code to boot the rest of the disk. To access a filesystem, a DOS had to be loaded into memory. There were multiple filesystems, and not all were compatible with each other.

With these two competing paradigms in play, designing a way to save to disk is going to be difficult.

Options as I see them:

  • create some serial adapter to connect real CBM disk drives, and adapt CBM's I/O directly
  • adapt Atari's sector-based I/O protocol, AND write a filesystem around it, to use Atari disk drives.
@unbibium unbibium added enhancement New feature or request help wanted Extra attention is needed labels Aug 17, 2021
@polluks
Copy link

polluks commented Aug 30, 2021

You don't have to write a filesystem from scratch, use a game DOS like https://atariwiki.org/wiki/Wiki.jsp?page=XBIOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants