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

DOS1 mode reports "Disk I/O error" instead of "Disk offline" before any media is inserted #13

Closed
sdsnatcher opened this issue Dec 16, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@sdsnatcher
Copy link

Tested on Nextor 2.0.5-beta1

Before any media is inserted, DOS1 on BASIC will report "Disk I/O error" instead of "Disk offline".

Steps to reproduce:

  1. Boot the MSX without any media on the drive while holding the "1" key, to force the DOS1 mode
  2. Type the command FILES on the BASIC prompt
  • LUN_INFO will be called 3 times. (*1)
    Result-1: The error "Disk I/O error" will be reported instead of "Disk offline" like a normal floppy drive interface does.
    Note: You might repeat step-2 as much as you want
  1. Insert a media in the drive and type FILES
  • LUN_INFO will be called, and DEV_DW will be called to read the directory. The files will be shown.
  1. Remove the media from the drive and type FILES
  • Result-2: Now The "Disk offline" will be shown whenever needed
    Note: LUN_INFO won't be called ever again, even after media changes

*1: It doesn't make any difference if LUN_INFO reports a missing media by returning A=1 (LUN not available), or A=0 with the unknown fields set to zero (meaning not available).

@Konamiman Konamiman added the bug Something isn't working label Jan 11, 2019
@Konamiman
Copy link
Owner

Hi, I'm unable to reproduce this in Nextor 2.1.1. Since you report that you tested on Nextor 2.0.5, I'll assume that the issue is fixed by now. Please feel free to comment back if you are still able to reproduce the issue when using the latest Nextor kernel version.

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

2 participants