|
|
(21 intermediate revisions by 3 users not shown) |
Line 6: |
Line 6: |
| | | |
| == Quickstart == | | == Quickstart == |
− | Assuming you don't have the Software List library, you can use MAME like any other Apple II emulator with the disk images you already have. For the II, II Plus, IIe, IIc, and IIGS, you can boot a 5.25" disk by using the command line switch '''-flop1'''. For example, "mame64 apple2e -flop1 Dung_Beetles.dsk". For the IIc Plus and IIGS, you can boot a 3.5" disk image by using the switch '''-flop3'''. For example, '''mame64 apple2gs -flop3 FTA_Nucleus.2mg'''. For the II, II Plus, IIe and IIgs, you can boot a hard drive image after inserting an expansion card that supports one by using the command line switch '''-hard1'''. For example, to boot Total Replay with the CFFA2 card emulation, use '''mame64 apple2ee -sl7 cffa2 -hard1 "Total Replay v3.0.2mg"'''. | + | Assuming you don't have the Software List library, you can use MAME like any other Apple II emulator with the disk images you already have. For the II, II Plus, IIe, IIc, and IIGS, you can boot a 5.25" disk by using the command line switch '''-flop1'''. For example, "mame apple2e -flop1 Dung_Beetles.dsk". For the IIc Plus and IIGS, you can boot a 3.5" disk image by using the switch '''-flop3'''. For example, '''mame apple2gs -flop3 FTA_Nucleus.2mg'''. For the II, II Plus, IIe and IIgs, you can boot a hard drive image after inserting an expansion card that supports one by using the command line switch '''-hard1'''. For example, to boot Total Replay with the CFFA2 card emulation, use '''mame apple2ee -sl7 cffa2 -hard1 "Total Replay v3.0.2mg"'''. |
| | | |
− | Some MAME basics: machines with keyboards like the Apple II start up with almost all of the keys going to the emulated machine. You can re-enable common MAME keys by pressing the UI Mode key, which by default is Scr Lock on Windows and Linux and back-Delete on Macs (Fn-Delete on non-full-size keyboards like MacBooks). These keys were chosen precisely because they're very uncommon in emulated machines and therefore unlikely to cause problems, in case you're wondering why they're weird. | + | Most of the Apple II models will auto-boot floppy disks. But if you want to boot a disk on the original '''apple2''' driver, the emulation will start up with a * prompt. Press 6, then Control-P, then press Enter/Return and the disk will start up. |
| + | |
| + | == Some MAME basics == |
| + | Emulated machines with keyboards like the Apple II start up with almost all of the keys going to the emulated machine. You can re-enable common MAME keys by pressing the '''UI Mode''' key, which by default is '''Scr Lock''' on Windows and Linux and '''forward-Delete''' on Macs ('''Fn-Delete''' on compact keyboards like MacBooks). These keys were chosen precisely because they're very uncommon in emulated machines and therefore unlikely to cause problems, in case you're wondering why they're weird. |
| | | |
| When you're in UI mode, these keys do useful things: | | When you're in UI mode, these keys do useful things: |
− | * Esc exits. If you have confirm_quit set to "0" in your mame.ini (as is the default), it will exit immediately. Otherwise MAME will confirm that you want to exit. | + | * '''Tab''' brings up the MAME menu, which allows you to change the machine configuration, swap floppy disks and CD-ROMs, and do other things. |
− | * P pauses and dims the screen slightly to indicate that you're paused. | + | * '''Esc''' exits. If you have '''confirm_quit''' set to "0" in your mame.ini (as is the default), it will exit immediately. Otherwise MAME will confirm that you want to exit. |
− | * F3 does a forced reset, and left shift + F3 does a "hard" reset, where MAME is torn completely down and restarted. Hard resets are handy for getting some configuration options to take effect. | + | * '''Left Alt + Enter''' ('''Left-Option + Return''' on Macs) toggles full-screen and windowed mode, like in many PC games. |
− | * Left Shift + F7 saves a save state, which freezes the current machine state and saves it to disk. MAME will prompt for a save slot; you can press any alphanumeric key (0-9 and A-Z) for 36 slots. | + | * '''P''' pauses and dims the screen slightly to indicate that you're paused. |
− | * Plain F7 loads a save state, with the same rules about the save slot. | + | * '''F3''' does a forced reset (this is not exactly the same as an Apple II Control-Reset; see below for details on that), and left shift + F3 does a "hard" reset, where MAME is torn completely down and restarted. Hard resets are handy for getting some configuration options to take effect. |
− | * F12 takes a screenshot. This will be saved as a .PNG inside the "snap" folder by default, with a folder in the snap folder named after the machine, like "apple2e" or "apple2gs". | + | * '''Left Shift + F7''' saves a save state, which freezes the current machine state and saves it to disk. MAME will prompt for a save slot; you can press any alphanumeric key (0-9 and A-Z) for 36 slots. |
− | * ~ (tilde/backtick) brings up sliders so you can override the default balance between audio chips, adjust brightness and contrast, and other settings. If you are running with the debugger enabled, ~ will instead freeze the machine and drop into the debugger. | + | * '''Plain F7''' loads a save state, with the same rules about the save slot. |
| + | * '''F12''' takes a screenshot. This will be saved as a .PNG inside the "snap" folder by default, with a folder in the snap folder named after the machine, like "apple2e" or "apple2gs". Note that by default the screenshot is the exact pixels that are rendered internally by MAME, so Apple II screenshots will appear squashed. You can change this with '''-snapsize'''. For instance, '''-snapsize 640x480''' will force the screenshot to be 640x480. '''-snapsize 560x384''' will create non-squashed screenshots for the 8-bit IIs, and '''-snapsize 704x462''' will do the same for the IIgs. |
| + | * '''~''' (tilde/backtick) brings up sliders so you can override the default balance between audio chips, adjust brightness and contrast, and other settings. If you are running with the debugger enabled, ~ will instead freeze the machine and drop into the debugger. |
| + | |
| + | When you *aren't* in the UI mode, these keys are interesting: |
| + | * '''Left Alt or Option''' is the Open Apple key (what Mac users call "Command"). |
| + | * '''Right Alt or Option''' is the Closed Apple key (what Mac users call "Option"). |
| + | * '''F12''' is the Apple II Reset key. On most machines, you can reset with Control + F12; on the IIe and later you can Control + Left Alt/Option + F12 to do a Control-Apple-Reset. This is the standard reset that real IIs do, as opposed to MAME's F3 reset. |
| | | |
| == Models and Clones == | | == Models and Clones == |
Line 34: |
Line 44: |
| ::- This was a final-configuration IIc (with the memory expansion slot) with the internal 5.25" disk drive swapped for a 3.5" one and a licensed copy of the 4 MHz Zip Chip accelerator included. MAME 0.222 and later support the built-in accelerator. | | ::- This was a final-configuration IIc (with the memory expansion slot) with the internal 5.25" disk drive swapped for a 3.5" one and a licensed copy of the 4 MHz Zip Chip accelerator included. MAME 0.222 and later support the built-in accelerator. |
| | | |
− | * '''Laser 128''' (1986, by VTech - driver name "laser128") | + | * '''Laser 128''' (1986, by VTech - driver names "laser128" for the later hardware revision, "laser128o" for the first hardware revision) |
| ::- This was an inexpensive Apple IIc clone with additional built-in peripherals and the ability to use an expansion slot card. It was not fully compatible with all software but most worked. | | ::- This was an inexpensive Apple IIc clone with additional built-in peripherals and the ability to use an expansion slot card. It was not fully compatible with all software but most worked. |
| * '''Laser 128 EX''' (1988, by VTech - driver name "las128ex") | | * '''Laser 128 EX''' (1988, by VTech - driver name "las128ex") |
Line 40: |
Line 50: |
| * '''Laser 128EX2''' (1988, by VTech - driver name "las128e2") | | * '''Laser 128EX2''' (1988, by VTech - driver name "las128e2") |
| ::- This was an Apple IIc Plus clone, available with either a 3.5" or 5.25" internal floppy drive. An accelerator was standard, like on the IIc Plus. MAME 0.222 and later support the accelerator. | | ::- This was an Apple IIc Plus clone, available with either a 3.5" or 5.25" internal floppy drive. An accelerator was standard, like on the IIc Plus. MAME 0.222 and later support the accelerator. |
| + | * '''Franklin ACE 2200''' (1985, by Franklin Computer - driver name "ace2200") |
| + | ::- This was an enhanced Apple IIe clone, available with 2 built-in 5.25" floppy drives and a built-in parallel port. Compatibility isn't 100% due to some issues with the ROMs. |
| + | * '''Franklin ACE 500''' (1986, by Franklin Computer - driver name "ace500") |
| + | ::- This was an Apple IIc clone, with a parallel port which the IIc didn't have. The ROMs have some compatibility fixes over the ACE 2200 but still aren't perfect. |
| | | |
| == The default configurations == | | == The default configurations == |
Line 71: |
Line 85: |
| * '''lang''' is the standard 16K Apple Language Card. This is installed by default, giving you a 64K system. | | * '''lang''' is the standard 16K Apple Language Card. This is installed by default, giving you a 64K system. |
| * '''ssram''' is the Saturn Systems 128K card, which is compatible with the language card and has additional RAM for programs which can use it. | | * '''ssram''' is the Saturn Systems 128K card, which is compatible with the language card and has additional RAM for programs which can use it. |
| + | *'''romcardfp''' is the Apple II ROM Card (aka "Firmware Card"), in the Autostart Monitor + Applesoft BASIC configuration. This effectively turns an Apple II into an Apple II Plus. (MAME 0.256 and later) |
| + | *'''romcardint''' is the Apple II ROM Card with the original Monitor and Integer BASIC installed. This turns an Apple II Plus into an Apple II, and also can be used to run Integer BASIC programs on a II Plus without a Language Card. (The Language Card is far more versatile though). (MAME 0.256 and later) |
| + | *'''romcard''' is the Apple II ROM Card and you get to choose what ROMs your II or II Plus has. When this card is installed, you get a -rom switch to load a 12KiB binary file containing the entire ROM image in $D0/$D8/$E0/$E8/$F0/$F8 order. You can't skip, so unused areas need to be filled with zeroes. (MAME 0.256 and later) |
| | | |
| | | |
Line 79: |
Line 96: |
| * '''diskiing13''' is the cycle-perfect Disk II controller with the old 13-sector PROMs installed, so it can boot DOS 3.2 13-sector disks without running BOOT13 from the DOS 3.3 System Master or qkumba's Anti-M. | | * '''diskiing13''' is the cycle-perfect Disk II controller with the old 13-sector PROMs installed, so it can boot DOS 3.2 13-sector disks without running BOOT13 from the DOS 3.3 System Master or qkumba's Anti-M. |
| * '''applesurance''' is the Applesurance Floppy Disk Controller, a Disk II clone with diagnostics built into the card's ROM. Holding down the M key on startup will bring up the menu. (added in MAME 0.219) | | * '''applesurance''' is the Applesurance Floppy Disk Controller, a Disk II clone with diagnostics built into the card's ROM. Holding down the M key on startup will bring up the menu. (added in MAME 0.219) |
| + | * '''superdrive''' is the Apple 3.5 Disk Controller Card, also known as the "SuperDrive" card. It brings 3.5" disk support to the IIe, which is useful for recent home-brew developments like Apple II DeskTop and Applecorn that don't fit on a 5.25" disk. In MAME it also works with the Laser 128 and Franklin ACE 2200. (added in MAME 0.241) |
| | | |
| ===Sound and Audio Cards=== | | ===Sound and Audio Cards=== |
Line 135: |
Line 153: |
| | | |
| ===Graphics Cards=== | | ===Graphics Cards=== |
| + | * '''grafex''' is the Grafex-32 card, which adds accelerated 2D video output with the NEC uPD7220 chip. This was from a design published in Radio Electronics Magazine over 3 issues in early 1986. |
| * '''arcbd''' is the Third Millenium Engineering Arcade Board, which added ColecoVision-like graphics and sound capability to the Apple II. | | * '''arcbd''' is the Third Millenium Engineering Arcade Board, which added ColecoVision-like graphics and sound capability to the Apple II. |
| * '''ezcgi''' is a graphics/sprites card from a design published in BYTE Magazine. | | * '''ezcgi''' is a graphics/sprites card from a design published in BYTE Magazine. |
Line 150: |
Line 169: |
| ===Parallel/Centronics Interface Cards=== | | ===Parallel/Centronics Interface Cards=== |
| * '''parallel''' is the Apple II Parallel Card. This card was rewritten for MAME 0.226 and now handshakes properly with the 'ap2000' printer. | | * '''parallel''' is the Apple II Parallel Card. This card was rewritten for MAME 0.226 and now handshakes properly with the 'ap2000' printer. |
− | * '''grapplerplus''' is the Orange Micro Grappler Plus parallel printer interface. This has functionality in its firmware to dump hi-res screens and other useful stuff. (Added in MAME 0.226). | + | * '''grapplus''' is the Orange Micro Grappler Plus parallel printer interface. This has functionality in its firmware to dump hi-res screens and other useful stuff. (Added in MAME 0.226). |
| * '''uniprint''' is the Videx Uniprint parallel printer interface. This also has special firmware functionality for printing hi-res screens. (Added in MAME 0.227). | | * '''uniprint''' is the Videx Uniprint parallel printer interface. This also has special firmware functionality for printing hi-res screens. (Added in MAME 0.227). |
| + | |
| + | ===Built-in parallel ports=== |
| + | MAME 0.239 and later support the built-in parallel port on the Laser 128 series, Franklin ACE 500, and Franklin ACE 2200. For all 3 machines the slot name is '''parallel'''. To use the Epson printer emulation with any of these machines, you would use the command-line option '''-parallel ap2000'''. |
| | | |
| ====Things to connect to a parallel card==== | | ====Things to connect to a parallel card==== |
| MAME currently emulates the Epson ActionPrinter 2000. This printer came out in 1991 but is fully compatible with previous Epson printers. In most cases you configure the software for an "Epson LX" or "FX" printer; the major exception is The Print Shop, which works better if you use "OLD EPSON" instead of "EPSON". The Print Shop also works better with the Grappler Plus emulation if you tell it the card is a plain Grappler rather than a Plus. In order to use it, you use the following switches: | | MAME currently emulates the Epson ActionPrinter 2000. This printer came out in 1991 but is fully compatible with previous Epson printers. In most cases you configure the software for an "Epson LX" or "FX" printer; the major exception is The Print Shop, which works better if you use "OLD EPSON" instead of "EPSON". The Print Shop also works better with the Grappler Plus emulation if you tell it the card is a plain Grappler rather than a Plus. In order to use it, you use the following switches: |
| | | |
− | '''-slX:CARDNAME:prn ap2000''', where X is the slot and CARDNAME is the card's name. For a Grappler Plus in slot 1 (which is pretty standard), that's '''-sl1 grapplerplus -sl1:grapplerplus:prn ap2000'''. For the Apple II Parallel Card in slot 1, that becomes '''-sl1 parallel -sl1:parallel:prn ap2000'''. | + | '''-slX:CARDNAME:prn ap2000''', where X is the slot and CARDNAME is the card's name. For a Grappler Plus in slot 1 (which is pretty standard), that's '''-sl1 grapplus -sl1:grapplus:prn ap2000'''. For the Apple II Parallel Card in slot 1, that becomes '''-sl1 parallel -sl1:parallel:prn ap2000'''. |
| | | |
| The printer's output will appear as a second screen, complete with a visible animated print head. Note that there is not yet a way to get printed output out of MAME, but we have plans to do so in the future. | | The printer's output will appear as a second screen, complete with a visible animated print head. Note that there is not yet a way to get printed output out of MAME, but we have plans to do so in the future. |
Line 211: |
Line 233: |
| | | |
| For CD-ROM, all MAME versions which fully support the Revision C SCSI card will accept .ISO, .BIN/.CUE, or .CHD CD-ROM images. Note that ISO images must be named to end in .iso for MAME to recognize them properly, it may crash otherwise. | | For CD-ROM, all MAME versions which fully support the Revision C SCSI card will accept .ISO, .BIN/.CUE, or .CHD CD-ROM images. Note that ISO images must be named to end in .iso for MAME to recognize them properly, it may crash otherwise. |
| + | |
| + | |
| + | [[Category:Year_1977]] |
| + | [[Category:Year_1979]] |
| + | [[Category:Year_1983]] |
| + | [[Category:Year_1984]] |
| + | [[Category:Year_1985]] |
| + | [[Category:Year_1986]] |
| + | [[Category:Year_1988]] |
Originally designed by Steve Wozniak, the Apple II series was both one of the first mass-market 8-bit microcomputers and the longest-lived. The machines exemplified Wozniak's design sensibilities of not including hardware when software can perform the same function, and of being wide open for expansion. Elements of the II's design influenced many later computers; PCs today have expansion slots in part because the Apple II did, for instance.
Assuming you don't have the Software List library, you can use MAME like any other Apple II emulator with the disk images you already have. For the II, II Plus, IIe, IIc, and IIGS, you can boot a 5.25" disk by using the command line switch -flop1. For example, "mame apple2e -flop1 Dung_Beetles.dsk". For the IIc Plus and IIGS, you can boot a 3.5" disk image by using the switch -flop3. For example, mame apple2gs -flop3 FTA_Nucleus.2mg. For the II, II Plus, IIe and IIgs, you can boot a hard drive image after inserting an expansion card that supports one by using the command line switch -hard1. For example, to boot Total Replay with the CFFA2 card emulation, use mame apple2ee -sl7 cffa2 -hard1 "Total Replay v3.0.2mg".
Most of the Apple II models will auto-boot floppy disks. But if you want to boot a disk on the original apple2 driver, the emulation will start up with a * prompt. Press 6, then Control-P, then press Enter/Return and the disk will start up.
Emulated machines with keyboards like the Apple II start up with almost all of the keys going to the emulated machine. You can re-enable common MAME keys by pressing the UI Mode key, which by default is Scr Lock on Windows and Linux and forward-Delete on Macs (Fn-Delete on compact keyboards like MacBooks). These keys were chosen precisely because they're very uncommon in emulated machines and therefore unlikely to cause problems, in case you're wondering why they're weird.
MAME defaults to configuring these systems to run the widest variety of software "out of the box".
If you switch MAME to "Partial Keyboard" emulation mode so that MAME keys work and press Tab, MAME's menu will appear. The Machine Configuration option will differ by Apple II model, but contains useful things:
These configuration settings are saved to the system's .cfg file and will persist across MAME runs.
To find out what a version of MAME supports for configurable slot and port devices, run MAME with the -listslots parameter on the commandline. The Apple II and II Plus have 8 slots, which are "sl0" through "sl7" plus a game port. The IIe has 8 slots, "sl1" through "sl7" plus the "aux" slot and the game port. The IIgs has "sl1" through "sl7", while the memory slot is handled through the "ramsize" switch. For instance, "-ramsize 4M" on the IIgs gives you 4 megabytes of RAM.
To empty a slot which has a card in it by default, use the -sl switch for the slot followed by two double quotes. For instance, to remove the Mockingboard in slot 4 on a IIe, you'd type -sl4 "" or to remove the language card from slot 0 on the II Plus for very old ill-behaved software, you'd use -sl0 "".
MAME 0.239 and later support the built-in parallel port on the Laser 128 series, Franklin ACE 500, and Franklin ACE 2200. For all 3 machines the slot name is parallel. To use the Epson printer emulation with any of these machines, you would use the command-line option -parallel ap2000.
MAME currently emulates the Epson ActionPrinter 2000. This printer came out in 1991 but is fully compatible with previous Epson printers. In most cases you configure the software for an "Epson LX" or "FX" printer; the major exception is The Print Shop, which works better if you use "OLD EPSON" instead of "EPSON". The Print Shop also works better with the Grappler Plus emulation if you tell it the card is a plain Grappler rather than a Plus. In order to use it, you use the following switches:
The printer's output will appear as a second screen, complete with a visible animated print head. Note that there is not yet a way to get printed output out of MAME, but we have plans to do so in the future.
This also works with the GS/OS Epson driver so GUI programs can print too. Use the Control Panel Slots to set slot 1 to Your Card, and Direct Connect Printer to Epson and Parallel Card. Then reboot the system and the Page Setup / Print dialogs will work in all standard GS desktop apps.
The IIe's auxiliary slot, named -aux on the command line, currently can support these cards:
To see what kinds of disk and other images are accepted for a given configuration, use the -listmedia option alongside whatever slot cards you want to use. IDE and SCSI cards will typically add at least one -hard / -harddisk option, the Apple II Rev. C SCSI card adds a -cdrom option as well, and of course the various diskii cards add -flop1 and -flop2. The wildcard is the two ComputerEyes devices, which add a -pic option for a .PNG file to use as the source image.
Note that some cards, like the Super Serial and Parallel, add configurable slots or ports of their own. You can see those by adding the card and appending -listslots to the end of the command line.
Most Apple IIs and clones have a special slot called "gameio" which emulates the 9 or 16 pin game I/O connector. You can connect the following devices to the game port:
MAME versions before 0.214 were only able to use images that had been converted to MAME's own CHD format.
To convert an Apple II hard drive image in 2MG format into CHD format, strip the first 64 bytes which contains the .2MG header:
To convert an Apple II hard drive image in PO or raw HDV format into CHD format:
MAME versions 0.214 and later can use images in 2MG, HDV or CHD format. If you want to use a hard drive image with a .RAW or .PO extension, then rename them to have a .HDV extension instead.
For CD-ROM, all MAME versions which fully support the Revision C SCSI card will accept .ISO, .BIN/.CUE, or .CHD CD-ROM images. Note that ISO images must be named to end in .iso for MAME to recognize them properly, it may crash otherwise.