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.
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]: -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