Skip to content

Consider- MAN: DurexForth Disk II #328

Answered by lonetech
Whammo asked this question in Q&A
Discussion options

You must be logged in to vote

TLDR: There's only one structure in Commodore 1541 intended for fast random access, REL files. Only one can be opened at a time. Indexing is a separate story and the documentation suggests storing indices in separate SEQ files, but hashing could improve that picture.
I don't think the suggested index structure would serve us very well, but there are alternatives.

Are you suggesting multiple SEQ files for random access? Because that might be more nicely done with REL files. As I understand it, those are handled by the disk drive and effectively build a second file with an array of allocated sectors (detailed information in the 1541 user's guide). The directory is a singly linked list, slow…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Whammo
Comment options

Whammo Jul 10, 2022
Collaborator Author

Answer selected by Whammo
Comment options

You must be logged in to vote
2 replies
@lonetech
Comment options

@Whammo
Comment options

Whammo Jul 16, 2022
Collaborator Author

Comment options

Whammo
Jul 12, 2022
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants