Skip to content

Conversation

skx
Copy link
Contributor

@skx skx commented Jul 3, 2024

The command-line interface allows the specification of local directories to be used as CP/M drives.

I accidentally noticed that the final drive is not specified as expected because I happen to have a P-drive setup for Turbo-Pascal:

$ ./target/debug/iz-cpm --disk-p /home/skx/Repos/github.com/skx/cpm-dist/P
iz-cpm https://github.com/ivanizag/iz-cpm
CP/M 2.2 Emulation
Press ctrl-c ctrl-c Y to return to host

A>p:
P>dir
Bdos Err On P: Bad Sector

No File

There is a loop setup which runs from 0-15, but it excludes the last value. This PR updates to use 0-16, so that drive 15 (P:) is included.

The command-line interface allows the specification of local
directories to be used as CP/M drives.

I accidentally noticed that the final drive is not specified
as expected because I happen to have a P-drive setup for Turbo-Pascal:

```
$ ./target/debug/iz-cpm --disk-p /home/skx/Repos/github.com/skx/cpm-dist/P
iz-cpm https://github.com/ivanizag/iz-cpm
CP/M 2.2 Emulation
Press ctrl-c ctrl-c Y to return to host

A>p:
P>dir
Bdos Err On P: Bad Sector

No File
```

There is a loop setup which runs from 0-15, but it excludes the last
value.  This PR updates to use 0-16, so that drive 15 (P:) is included.
@ivanizag ivanizag merged commit 730ffbb into ivanizag:master Jul 3, 2024
@ivanizag
Copy link
Owner

ivanizag commented Jul 3, 2024

You are right. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants