Add command line option to use the sequencer based Disk II card
This commit is contained in:
parent
cab42e9a94
commit
fc03b5533d
|
@ -18,7 +18,7 @@ Portable emulator of an Apple II+ or //e. Written in Go.
|
||||||
- 3.5 disks in PO or 2MG format
|
- 3.5 disks in PO or 2MG format
|
||||||
- Hard disk in HDV or 2MG format with ProDOS and SmartPort support
|
- Hard disk in HDV or 2MG format with ProDOS and SmartPort support
|
||||||
- Emulated extension cards:
|
- Emulated extension cards:
|
||||||
- DiskII controller
|
- DiskII controller (state machine based for WOZ files)
|
||||||
- 16Kb Language Card
|
- 16Kb Language Card
|
||||||
- 256Kb Saturn RAM
|
- 256Kb Saturn RAM
|
||||||
- 1Mb Memory Expansion Card (slinky)
|
- 1Mb Memory Expansion Card (slinky)
|
||||||
|
@ -223,6 +223,8 @@ Only valid on SDL mode
|
||||||
main rom file (default "<default>")
|
main rom file (default "<default>")
|
||||||
-saturnCardSlot int
|
-saturnCardSlot int
|
||||||
slot for the 256kb Saturn card. -1 for none (default -1)
|
slot for the 256kb Saturn card. -1 for none (default -1)
|
||||||
|
-sequencer
|
||||||
|
use the sequencer based Disk II card
|
||||||
-thunderClockCardSlot int
|
-thunderClockCardSlot int
|
||||||
slot for the ThunderClock Plus card. -1 for none (default 4)
|
slot for the ThunderClock Plus card. -1 for none (default 4)
|
||||||
-traceCpu
|
-traceCpu
|
||||||
|
|
|
@ -138,8 +138,8 @@ func MainApple() *Apple2 {
|
||||||
"forceCaps",
|
"forceCaps",
|
||||||
false,
|
false,
|
||||||
"force all letters to be uppercased (no need for caps lock!)")
|
"force all letters to be uppercased (no need for caps lock!)")
|
||||||
expermintalWoz := flag.Bool(
|
sequencerDisk2 := flag.Bool(
|
||||||
"xw",
|
"sequencer",
|
||||||
false,
|
false,
|
||||||
"use the sequencer based Disk II card")
|
"use the sequencer based Disk II card")
|
||||||
|
|
||||||
|
@ -288,7 +288,7 @@ func MainApple() *Apple2 {
|
||||||
a.AddFastChip(*fastChipCardSlot)
|
a.AddFastChip(*fastChipCardSlot)
|
||||||
}
|
}
|
||||||
if *disk2Slot > 0 {
|
if *disk2Slot > 0 {
|
||||||
if *expermintalWoz {
|
if *sequencerDisk2 {
|
||||||
err := a.AddDisk2Sequencer(*disk2Slot, diskImageFinal, *diskBImage)
|
err := a.AddDisk2Sequencer(*disk2Slot, diskImageFinal, *diskBImage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in New Issue