MEGA65 / mega65-core

MEGA65 FPGA core
Other
240 stars 85 forks source link

Hyppo: dos_d81attachX needs to update process_descriptor #619

Closed lydon42 closed 1 year ago

lydon42 commented 1 year ago

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.

lydon42 commented 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.

lydon42 commented 1 year ago

Ok, I worked around this using the real drive state.