Closed lydon42 closed 1 year ago
surprise, hyppo already seems to do this! so it's only the "attaching" of the internal drive that is missing.
So what we need is an dos_d81detach0 and dos_d81detach1 in addition to the dos_d81detach. Those should also update the process descriptor entries accordingly.
Then the ROM needs to use the hyppo call to detach an image.
Ok, I worked around this using the real drive state.
The image name needs to be updated by dos_d81attachX, because of the BASIC65 MOUNT command.
Currently only the FREEZER seems to set the image name in the process descriptor, this is the wrong place to do it.