Skip to content

Conversation

@markpizz
Copy link
Contributor

@markpizz markpizz commented Sep 1, 2025

Historically some devices may not have been able to be DISABLED once they've been ENABLED.

This change allows such a device to be disabled when SET {-F} DISABLE command is invoked with the -F flag specified.

@hharte
Copy link
Contributor

hharte commented Sep 2, 2025

Hello @markpizz

Instead of requiring -F, why not disable the timers unconditionally if the device does not have any attached units?

Thanks,
Howard

@markpizz
Copy link
Contributor Author

markpizz commented Sep 2, 2025

Instead of requiring -F, why not disable the timers unconditionally if the device does not have any attached units?

Patrick had units doing timing activity. Units could be doing anything.

In any case, the point here is that a functional change to how a command behaves conceptually requires different input. For whatever reason, someone might want the prior behavior, so it remains as the default.

The -F forces disabling of devices with attached units or units in the event queue.

deltecent added a commit to deltecent/open-simh that referenced this pull request Sep 2, 2025
This PR contains the following:

Adds a new SD Systems SBC200 device.
Adds a new SD Systems VFII VersaFloppy II device.
Adds ability to load HEX files at a specified address.
Adds support for SD Systems ExpandoRAM banked memory.
Adds improved DSK image support to the WD179X device.
Adds support for formats that don't include the FC index mark to WD179X WRITE_TRACK command.
Fixed WD179X VERIFY register.
Updated CMakeList.txt
Included PR open-simh#492 in scp.c
Replaced binary notation with hex notation in s100_scb200.c

This PR passes Howard's AltairZ80 tests.

Additional tests were added here:

https://github.com/deltecent/altairz80-tests/

Additional packages were added here:

https://github.com/deltecent/altairz80-packages/
deltecent added a commit to deltecent/open-simh that referenced this pull request Sep 3, 2025
This PR contains the following:

Adds a new SD Systems SBC200 device.
Adds a new SD Systems VFII VersaFloppy II device.
Adds ability to load HEX files at a specified address.
Adds support for SD Systems ExpandoRAM banked memory.
Adds improved DSK image support to the WD179X device.
Adds support for formats that don't include the FC index mark to WD179X WRITE_TRACK command.
Fixed WD179X VERIFY register.
Updated CMakeList.txt
Included PR open-simh#492 in scp.c
Replaced binary notation with hex notation in s100_scb200.c
Fixed Warnings

This PR passes Howard's AltairZ80 tests.

Additional tests were added here:

https://github.com/deltecent/altairz80-tests/

Additional packages were added here:

https://github.com/deltecent/altairz80-packages/
deltecent added a commit to deltecent/open-simh that referenced this pull request Sep 6, 2025
This PR contains the following:

Adds a new SD Systems SBC200 device.
Adds a new SD Systems VFII VersaFloppy II device.
Adds ability to load HEX files at a specified address.
Adds support for SD Systems ExpandoRAM banked memory.
Adds improved DSK image support to the WD179X device.
Adds support for formats that don't include the FC index mark to WD179X WRITE_TRACK command.
Fixed WD179X VERIFY register.
Updated CMakeList.txt
Included PR open-simh#492 in scp.c
Replaced binary notation with hex notation in s100_scb200.c
Fixed Warnings
Fixed DTR comments

This PR passes Howard's AltairZ80 tests.

Additional tests were added here:

https://github.com/deltecent/altairz80-tests/

Additional packages were added here:

https://github.com/deltecent/altairz80-packages/
@markpizz markpizz force-pushed the extend_scp_device_disable branch from 2fcf526 to 1071f78 Compare October 1, 2025 04:23
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