View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000014||IDE Simulator||[All Projects] General||public||2021-12-06 04:23||2022-01-05 08:27|
|Summary||0000014: DOS utility to manage disk images|
|Description||A DOS utility is requested to control the IDE simulator from within a host PC.|
|Tags||No tags attached.|
Here's a beta version of a utility to access the IDE simulator from a host PC running DOS. Written in Borland C++, it should work on anything 8086 and up.
Compatibility-wise it can use ASPI (but this requires a loaded driver, and some will reject standard vendor-specific commands like this uses). It can access the hardware directly, but this may cause issues with EMM386 if used simultaneously. There's a third "sneaky" mode but support for that is not ready on the IDE simulator firmware yet.
Settings (driver, device index) can be set via command line parameters or environment variables, and if run without a command, it will display a text-based UI. To see a list of commands, run "idesim /?".
idesim.zip (25,240 bytes)
||Awesome, will check it out|
Ok. Running idesim with no commands yields "no device found" in the GUI. Using /driver direct gets a blank GUI, like this:
Pressing F10 does seem to bring up the correct information about the device, however.
Sorry about that - there was a tweak missing from the USB handling code misinterpreting a number. Attached is a fix.
idesim-2.zip (25,391 bytes)
All good. :)
Tried the new version, and it gets a bit further. ASPI mode still gets no device found. Direct mode detects the USB key, but shows nothing on it.
F10 info has a little more human readable stuff in this version.
||Ah, it looks like a minor bug in the path string generator. If you use the command line mode you'll see the files (e.g. 'idesim /driver direct dir usb0:/').|
Attached is an updated build that should fix the UI side to correctly request the content.
idesim-3.zip (25,459 bytes)
||Thanks Colin, will test again when I'm in front of the ide sin on Monday|
||So, not the Monday I meant, but the new version seems to work nicely now. Both GUI and commandline options (now that I've figured out the syntax) work cleanly - thank Colin!|
||Sweet! I missed this!|
@colin, everything seems to be working well with the OAK driver on the DOS native mode. I have to use "direct" to communicate which seems to work perfectly fine. You noted needing an ASPI driver loaded to use that path. Can you give us an example setup? OS+Driver?
Is there a setup that works in Windows 98 + command prompt window that would function or is Windows 98 going to bomb it because of the protection modes?
I can't actually remember from the olden days if Windows 98-loaded ASPI drivers provide a real mode interface inside command prompt windows (it'd maybe need to be a VXD if it did) but if so, the ASPI driver might work once installed (the same sort of drivers you'd install to enable a CD burner).
For the 'direct' mode it might work under Windows 98, those versions of Windows did allow some I/O access (memory was protected, but not all I/O, to allow some backwards compatibility with older apps). It might protect the I/O used for IDE though, as it may control which I/O ports non-kernel processes can use.
At some point I intend to make Windows 3.1 and Windows 95 (and above) versions of the utility, just haven't started yet :)
||And for actual DOS ASPI drivers there's a few floating around online (I found some looking for "DOS CD burning" solutions). I didn't actually get this path to work yet though - I was able to talk to the driver from my code, but the OAK Technologies one (same people as OAKCDROM.SYS) crashed, and there was another one (maybe Panasonic?) that rejected vendor commands, so i couldn't test it with that one.|
|2021-12-06 04:23||colin||New Issue|
|2021-12-06 04:23||colin||Status||new => assigned|
|2021-12-06 04:23||colin||Assigned To||=> colin|
|2021-12-06 04:26||colin||File Added: idesim.zip|
|2021-12-06 04:26||colin||Note Added: 0000101|
|2021-12-07 00:02||SpocksBeer||Note Added: 0000102|
|2021-12-07 00:22||SpocksBeer||Note Added: 0000103|
|2021-12-07 06:18||colin||File Added: idesim-2.zip|
|2021-12-07 06:18||colin||Note Added: 0000104|
|2021-12-07 21:47||SpocksBeer||Note Added: 0000105|
|2021-12-10 03:24||colin||Note Added: 0000106|
|2021-12-10 07:40||colin||File Added: idesim-3.zip|
|2021-12-10 07:40||colin||Note Added: 0000107|
|2021-12-10 09:21||SpocksBeer||Note Added: 0000108|
|2021-12-20 03:53||SpocksBeer||Note Added: 0000109|
|2021-12-20 21:18||flynnsbit||Note Added: 0000110|
|2021-12-31 15:05||flynnsbit||Note Added: 0000111|
|2022-01-05 08:25||colin||Note Added: 0000112|
|2022-01-05 08:27||colin||Note Added: 0000113|