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
Change the mechanism to access mounted files #93
Change the mechanism to access mounted files #93
Commits on Aug 25, 2021
-
Add the UD_SSEC field to the unit descriptor.
This stores the first data sector of the file that's mounted, relative to the start of the drive (3 bytes, we assume 4th byte is always 0). Also, _GDLI temporarily returns that first sector number.
Configuration menu - View commit details
-
Copy full SHA for 3391b2b - Browse repository at this point
Copy the full SHA 3391b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78899bc - Browse repository at this point
Copy the full SHA 78899bcView commit details
Commits on Aug 27, 2021
-
Remove the extra code for supporting reentrant file access.
When mounted files were accessed via file access functions some extra code to save and restore variables was needed since these functions are not reentrant. Now that the mounted files are accessed via direct sector access, this extra code is not needed anymore.
Configuration menu - View commit details
-
Copy full SHA for 9470baa - Browse repository at this point
Copy the full SHA 9470baaView commit details
Commits on Aug 29, 2021
-
Don't keep mounted files open.
Once mounted files are accessed via direct sector access there's no need to keep the mounted file open. So: - Remove the code that opens/closes the file on mount/unmount. - Store the file name in the unit descriptor, for _GDLI. - Check the read only mount flag explicitly in CALL_UNIT. - Remove no longer needed auxiliary code and variables.
Configuration menu - View commit details
-
Copy full SHA for f01ce38 - Browse repository at this point
Copy the full SHA f01ce38View commit details -
Verify that a file is in consecutive clusters when mounting it.
_MAPDRV will return an .ICLUS error if the file to mount is not stored across consecutive clusters (i.e. it's fragmented).
Configuration menu - View commit details
-
Copy full SHA for 92ce718 - Browse repository at this point
Copy the full SHA 92ce718View commit details -
Add the "Invalid cluster sequence" BASIC error.
Also reword "Invalid cluster number" error message to "Invalid cluster number or sequence".
Configuration menu - View commit details
-
Copy full SHA for 5552556 - Browse repository at this point
Copy the full SHA 5552556View commit details -
Update documentation regarding file mounting.
* Add new "Invalid cluster sequence" BASIC error to user manual. * Mention that a file must be stored across consecutive sectors to be mountable in the user manual. * Mention that MAPDRV requires a file to be stored across consecutive sectors to be mountable, in the programmers reference. * Mention that .ICLUS is returned by MAPDRV if a file to be mounted is not stored across consecutive sectors, in the programmers reference.
Configuration menu - View commit details
-
Copy full SHA for 5601825 - Browse repository at this point
Copy the full SHA 5601825View commit details
Commits on Aug 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 49e652e - Browse repository at this point
Copy the full SHA 49e652eView commit details
Commits on Sep 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a3ba5e5 - Browse repository at this point
Copy the full SHA a3ba5e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9b551 - Browse repository at this point
Copy the full SHA 2a9b551View commit details
Commits on Jan 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d3171ba - Browse repository at this point
Copy the full SHA d3171baView commit details
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c2d30b7 - Browse repository at this point
Copy the full SHA c2d30b7View commit details