From fc03b5533da28d04fe4f62a99b6756b547ffb366 Mon Sep 17 00:00:00 2001 From: Ivan Izaguirre Date: Mon, 10 May 2021 22:24:41 +0200 Subject: [PATCH] Add command line option to use the sequencer based Disk II card --- README.md | 4 +++- apple2main.go | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d145452..b9987a0 100644 --- a/README.md +++ b/README.md @@ -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 "") -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 diff --git a/apple2main.go b/apple2main.go index 63d491c..21cbfd1 100644 --- a/apple2main.go +++ b/apple2main.go @@ -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)