-
Notifications
You must be signed in to change notification settings - Fork 11
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
Failure to persist user/drive state #13
Comments
Wow. I just wrote a comment on the other one :D |
Great if you have a patch. Thanks |
No burden, I have an hour just now and I'll write up the things that jumped out at me. Probably no patches for the others though, at least not tonight! (And I appreciate some things might be a matter of interpretation so I'm happy for you to close any report I make as "Won't fix :)" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[I have a patch ready for this, which I will submit shortly]
When I was writing my emulator I wrote some test programs to cement my understanding of some of the expected behaviour. One simple script I wrote was ret.z80, which is a trivial binary which just tries to exit in a couple of different ways:
There is a binary which is located within that same directory which can be used for testing - but note that you really want to map this to a non-default drive. In my case I see this when I test:
Here you see that the execution of the binary succeeded in each of the invokations, each time the binary was launched and then terminated. However The last run switched back to the default A-drive.
You correctly pass this value along when reseting via the boot:
However that value is never set. I've made a couple of other changes to remove the "= 0" from the drive/user setting in the rest/state, and added the missing stores.
That allows things to work as expected.
The text was updated successfully, but these errors were encountered: