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

FREEZER: mount seems not to work correctly with new dos_attach #91

Open
2 tasks
lydon42 opened this issue Sep 1, 2024 · 4 comments
Open
2 tasks

FREEZER: mount seems not to work correctly with new dos_attach #91

lydon42 opened this issue Sep 1, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@lydon42
Copy link
Member

lydon42 commented Sep 1, 2024

The new dos_attach MEGA65/mega65-core#628 shows that freezer does something wrong. If trying to mount an image to drive 1 after startup using freezer, a dir u9 following that will hang. The drive registers show that no image was mounted.

Inspection shows that the driveselect code does both use the hyppo call as well as wild poking to the registers. The poking is not needed, this is all done by dos_attach and the unfreeze. So get rid of the useless poking, and all should be fine?

Edit: the main goal is to check what exactly freezer does and how it interacts with HYPPO. It should do everything using HYPPO DOS Traps, so all internal states are updated correctly (just poking registers will not change the currenttask entries for example).

Todo:

  • Check diskchooser
  • Check makedisk
@lydon42 lydon42 added the bug Something isn't working label Sep 1, 2024
@lydon42 lydon42 self-assigned this Sep 1, 2024
@lydon42
Copy link
Member Author

lydon42 commented Sep 1, 2024

diskchooser does not seem to do wild freeze_poke'ing, so that seem ok...

But makedisk does. makedisk should use dos_attach instead of poking into frozen memory.

@Schwefelholz
Copy link

Tried with development.20241022.13.76fac1b.

Mounting an existing disk image directly after startup using freezer and issuing dir u9 does not hang with this core.

Creating a new disk image in freezer, after pressing (1) EXTERNAL 1565 is successfully creating a new image, but instead of attaching it to drive 1 it is connected to drive 0. I would not have expected it that way...

@Pimau
Copy link

Pimau commented Oct 26, 2024

Same here, with mega65r6-20241022.13-develo-76fac1b.cor.

  • DIR U9 working directly after boot, Freezer, mount existing image
  • A newly created image after boot, Freezer, create is NOT attached to unit 9, but "overwrites" an already mounted on unit 8

@eilers
Copy link

eilers commented Oct 26, 2024

Same here, with mega65r6-20241022.13-develo-76fac1b.cor.

  • DIR U9 working directly after boot, Freezer, mount existing image
  • A newly created image after boot, Freezer, create is NOT attached to unit 9, but "overwrites" an already mounted on unit 8

I can confirm this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants