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

R41 + no SD Card => Doesn't throw error #401

Open
stefan-b-jakobsson opened this issue May 10, 2022 · 2 comments
Open

R41 + no SD Card => Doesn't throw error #401

stefan-b-jakobsson opened this issue May 10, 2022 · 2 comments

Comments

@stefan-b-jakobsson
Copy link
Contributor

I think the R41 release candidate doesn't work properly if there is no SD Card image mounted.

You would expect "Device not present" to be thrown when trying to open and read a file in this situation.

Error checks I've done:

  • Check if carry bit is set after calling OPEN
  • Check if carry bit is set after calling CHKIN
  • Calling READST after each CHRIN, checking for any non zero return value

Non of the above caught the error (or even EOI).

@mist64 mist64 transferred this issue from commanderx16/x16-rom May 11, 2022
@markjreed
Copy link

If there's no SD card image, it falls back to the host filesystem, right?

@stefan-b-jakobsson
Copy link
Contributor Author

Yes.
So it shouldn't say device not present.
The problem is really that when reading a file byte by byte with Kernal functions, it doesn't say file not found, if you have no SD card

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants