SMS/Game Gear emulator, CLI frontend
- Size
- 37K (37,440 bytes)
- Added
- 2026-11-20 13:05
- Downloads
- 2
- Long Description
- # AmiMasterGearCLI RC4 Command-line adaptation of AmiMasterGear 0.81 Original emulator by Juan Antonio Gomez Galvez CLI adaptation by C.R.A.N.E (TecniMan) Contact: amigacrane@gmail.com ## ABOUT AmiMasterGearCLI is an unofficial command-line adaptation of AmiMasterGear, the Sega Master System and Game Gear emulator for AGA Amigas originally designed and programmed by Juan Antonio Gomez Galvez. This version is based on the publicly released AmiMasterGear 0.81 assembly source. The goal of AmiMasterGearCLI is not to replace or redesign the original emulator. The original emulation core has intentionally been kept as close as possible to AmiMasterGear 0.81. The main purpose of this adaptation is to remove the original graphical frontend and make AmiMasterGear easier to launch from AmigaDOS, scripts, frontends and WHDLoad environments. ## REQUIREMENTS * Amiga with AGA chipset * 68020 or better * AmigaOS 3.x environment * Sufficient memory for the selected ROM ## INSTALLATION Copy: AmiMasterGearCLI wherever you want on your Amiga. Optionally copy: AmiMasterGearCLI.prefs to: S:AmiMasterGearCLI.prefs and edit it with any text editor. ## USAGE Basic usage: AmiMasterGearCLI <ROM> Example: AmiMasterGearCLI DH1:ROMs/SMS/Sonic.sms AmiMasterGearCLI can also use command-line options to override preferences. Examples: AmiMasterGearCLI Sonic.sms JOY1=AMIGA AmiMasterGearCLI Sonic.sms VIDEO=NTSC REGION=JP AmiMasterGearCLI Sonic.sms WHDLOAD ## EXIT AND PAUSE KEYS RC4 adds configurable pause and exit keys. They can be defined in AmiMasterGearCLI.prefs: PAUSEKEY=P EXITKEY=F10 Supported configurable keys include: DEL P F1-F10 ESC HELP SPACE ENTER RAWxx RAWxx can be used to specify an Amiga raw key code directly. The original AmiMasterGear exit keys remain available as safety exits: ESC HELP This means AmiMasterGearCLI can now provide its own configurable QuitKey without requiring WHDLoad. For example: PAUSEKEY=P EXITKEY=F10 WHDLOAD=NO allows P to act as the Master System Pause button and F10 to exit directly back to AmigaDOS. ## PREFERENCES AmiMasterGearCLI does not use the original binary AmiMasterGear.prefs file. Instead it uses a simple human-readable text file: S:AmiMasterGearCLI.prefs Example: TYPE=AUTO VIDEO=PAL REGION=EU VLINES=289 JOY1=AMIGA JOY2=OFF SWAP=NO SPEED=REAL GFX=1 SPR=1 BORDER=BLACK SHOWFPS=NO LOADBAT=YES SAVEBAT=YES RTSCROLL=YES RTPALETTE=NO PAUSEKEY=P EXITKEY=F10 WHDLOAD=NO The supplied AmiMasterGearCLI.prefs can be used as a starting point. Command-line options override values from the preferences file. ## MAIN CHANGES FROM AMIMASTERGEAR 0.81 * Command-line-only launcher. * Direct ROM loading from AmigaDOS. * Original GadTools graphical frontend removed from the runtime build. * No frontend dependency on GadTools, Intuition or ASL. * New human-readable AmiMasterGearCLI.prefs text configuration. * Configurable Master System Pause key through PAUSEKEY. * Configurable emulator exit key through EXITKEY. * Pause/NMI handling corrected so the Master System Pause input works independently of VDP interrupt state. * Duplicate NMI generation from keyboard/joystick Pause input avoided. * Optional WHDLoad-friendly interrupt/VBR handling so WHDLoad QuitKey can remain active. * Clean return to the AmigaDOS shell. * Original Z80, VDP, PSG, AGA/Copper and general emulation architecture intentionally retained. ## COMPATIBILITY Game compatibility should generally be comparable to the original AmiMasterGear version on which this adaptation is based. AmiMasterGearCLI does not attempt to fix or redesign the historical emulation core. If a game did not work correctly in the original AmiMasterGear, it may also fail in AmiMasterGearCLI. ## PAUSE / NMI HANDLING The Sega Master System Pause button is connected to the Z80 NMI input rather than being part of the normal controller input. AmiMasterGearCLI RC4 includes corrected Pause/NMI handling based on the RC3.2 implementation. Pause in