Add command line option to use the sequencer based Disk II card

This commit is contained in:
Ivan Izaguirre 2021-05-10 22:24:41 +02:00
parent cab42e9a94
commit fc03b5533d
2 changed files with 6 additions and 4 deletions

View File

@ -18,7 +18,7 @@ Portable emulator of an Apple II+ or //e. Written in Go.
- 3.5 disks in PO or 2MG format
- Hard disk in HDV or 2MG format with ProDOS and SmartPort support
- Emulated extension cards:
- DiskII controller
- DiskII controller (state machine based for WOZ files)
- 16Kb Language Card
- 256Kb Saturn RAM
- 1Mb Memory Expansion Card (slinky)
@ -223,6 +223,8 @@ Only valid on SDL mode
main rom file (default "<default>")
-saturnCardSlot int
slot for the 256kb Saturn card. -1 for none (default -1)
-sequencer
use the sequencer based Disk II card
-thunderClockCardSlot int
slot for the ThunderClock Plus card. -1 for none (default 4)
-traceCpu

View File

@ -138,8 +138,8 @@ func MainApple() *Apple2 {
"forceCaps",
false,
"force all letters to be uppercased (no need for caps lock!)")
expermintalWoz := flag.Bool(
"xw",
sequencerDisk2 := flag.Bool(
"sequencer",
false,
"use the sequencer based Disk II card")
@ -288,7 +288,7 @@ func MainApple() *Apple2 {
a.AddFastChip(*fastChipCardSlot)
}
if *disk2Slot > 0 {
if *expermintalWoz {
if *sequencerDisk2 {
err := a.AddDisk2Sequencer(*disk2Slot, diskImageFinal, *diskBImage)
if err != nil {
panic(err)