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

Fix unmounted HD gives I/O ERROR #452

Closed
sicklittlemonkey opened this Issue Aug 2, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@sicklittlemonkey
Contributor

sicklittlemonkey commented Aug 2, 2017

From this discussion:
https://groups.google.com/forum/#!topic/comp.sys.apple2.programmer/T39SHsCuBx8

The HD implementation should return ProDOS errors so that BASIC.SYSTEM can translate them.

Changing these lines (starting line 451) in Harddisk.cpp:
#define DEVICE_UNKNOWN_ERROR 0x03
#define DEVICE_IO_ERROR 0x08
->
#define DEVICE_UNKNOWN_ERROR 0x28
#define DEVICE_IO_ERROR 0x27

Does this:
]CAT,S7,D2
I/O ERROR
->
]CAT,S7,D2
NO DEVICE CONNECTED

Cheers,
Nick.

@tomcw tomcw added this to the 1.27 milestone Aug 10, 2017

@tomcw tomcw added the bug label Sep 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment