Command line
AppleWin can be driven from the command line as
follows:
-d1 <pathname>
Start with a floppy disk in drive-1 (and auto power-on the Apple II)
-d2 <pathname>
Start with a floppy disk in drive-2
-h1 <pathname>
Start with hard disk 1 plugged-in (and auto power-on the Apple II). NB. Hard disk controller card gets enabled.
-h2 <pathname>
Start with hard disk 2 plugged-in. NB. Hard disk controller card gets enabled.
-s7 empty
Remove the hard disk controller card from slot 7.
Useful to allow a floppy disk to boot from slot 6, drive 1. Use in combination with -d1.
-r <number of pages>
Emulate a RAMworks III card with 1 to 127 pages (each page is 64K, giving a max of 8MB)
-load-state <savestate>
Load a save-state file
NB. This takes precedent over the -d1,d2,h1,h2,s7 and -r switches.
-f
Start in full-screen mode
-fs-height=<best|nnnn>
Use to select a better resolution for full-screen mode.
- best: picks the highest resolution where the height is an integer multiple of (192*2)
- nnnn: select a specific resolution with height=nnnn pixels
NB. This changes the display resolution (and restores on exit).
-f8rom <rom-file>
Use custom 2K ROM at [$F800..$FFFF]. <rom-file> must be 2048 bytes long
-printscreen
Enable the dialog box to display the last file saved to
-no-printscreen-key
Prevent the PrintScreen key from being registered
-use-real-printer
Enables Advanced configuration control to allow dumping to a real printer
-noreg
Disable registration of file extensions (.do/.dsk/.nib/.po)
-memclear <n>
Where n is [0..7]:
- 0 Initialize memory to zero
- 1 Initialize memory to random values
- 2 Initialize memory to 4 byte pattern: FF FF 00 00
- 3 Initialize memory to even pages FF, odd pages 00
- 4 Initialize memory to first half page 00, last half page FF
- 5 Initialize memory to first half page FF, last half page 00
- 6 Initialize memory to byte offset of that page
(current memory address low byte)
i.e. 00:00 01 02 03 ... for page $20
- 7 Initialize memory to page address
(current memory address high byte)
i.e. 00:20 20 20 20 ... for page $20
-modem
Shorthand for passing -dtr -dcd -dsr
Use with GBBS Pro (or any other BBS package). See the GBBS Pro 2.2 book from Call-A.P.P.L.E.
-dtr
Support SSC's DTR (Data Terminal Ready) control bit
-dcd
Support SSC's DCD (Data Carrier Detect) status bit
-dtr
Support SSC's DSR (Data Set Ready) status bit
Debug arguments:
-l or -log
Enable logging. Creates an AppleWin.log file
-m
Disable DirectSound support
-no-printscreen-dlg
Suppress the warning message-box if AppleWin fails to capture the PrintScreen key