AmiMasterGear is a Sega Master System and Game Gear emulator for AGA
Amigas, in 68020+ assembly, with sound, battery saves, frozen games and
CD32 pads. Since 2.0 there is also an RTG program that shows the game on
a Picasso96 screen (PiStorm), with a big 1080p menu. This is a community
version by Juan Antonio Gomez Galvez and z00p, made and published with
Juan's permission.
Juan's last public version on Aminet is 0.91 (misc/emu/AmiMasterGear,
2009). In 2026 he sent his sources for the community to carry on; this
version is built from his 0.8 source and keeps his menu, his Z80 and his
display. His own uploads stay on Aminet.
Source and issues: https://github.com/z00p/AmiMasterGear
2.0 changes
-----------
- Two programs: AGA (the 1.3 program, titles saying 2.0) and RTG. The
old program was called AmiMasterGear: unpacking over 1.x leaves it in
the drawer, and Shell scripts need the new names.
- RTG: the game on a 16-bit Picasso96 screen. The program draws the
picture itself, line by line, copies only the lines that changed and
leaves the scaling to the graphics board. Speed from the Amiga's
timer at the console's rate (59.92 Hz NTSC, 49.70 Hz PAL), not from
the display. Without a usable Picasso96 mode it runs as AGA.
- Screen: Sharp (default) opens 960x540, half of 1080p: Master System
at 2x, Game Gear at 3x, square pixels. Bigger fills more of the
display, a little softer.
- Scanlines: Arnold's seven settings (Off, Hard 25/50/75%, Blended
light, Blended, Blended strong). Off by default.
- Buffering: Double (default) shows each frame in the display's
vertical blank, so fast scrolling does not tear. Single draws
straight to the screen.
- Big menu: 1920x1080 (else 1280x720) in a pixel font, the logo and pad
pictures redrawn, Scanlines and Style in Screen Options. Otherwise
640x270 or 640x256 ("Menu = Classic" asks for that one).
- Settings: AmiMasterGear.config in the drawer (Screen, Scanlines,
ScanlineStyle, Buffering, Menu) or the RTG icon's ToolTypes
(RTGSCREEN=, SCANLINES=, SCANLINESTYLE=, BUFFERING=), which win.
- RTG requirements: a PiStorm-class accelerator with Picasso96 and a
16-bit mode. On a PiStorm the HDMI rate (50 or 60 Hz) is set at boot
in Emu68's config.txt; a game at another rate has frames dropped or
shown twice. Use 60 Hz output with Double.
1.3 changes
-----------
- The noise channel starts cleanly on a real Amiga: when a game
switches it between white noise (drums) and periodic noise (bass),
the channel is only restarted after Paula has really stopped. 1.2
could play the old noise on at the new pitch, so Jumping Jack'son's
bass sounded rough and buzzy. Heard on a real A1200.
- Picking a cartridge with a very long file name (65 characters or
more) no longer corrupts the program and crashes or hangs on the
next Insert. The bug dates from the original 0.8.
1.2 changes
-----------
- The Master System II and Game Gear's 224-line picture: Micro Machines
(Master System and Game Gear) and Micro Machines 2 (Game Gear) race
in it and the track no longer wraps. The picture grows upwards, so
192-line games stay where they were. PAL and NTSC.
- Without a prefs file Port 2 starts on CD32 Joypad (1.1: Keyboard
Only). Saved prefs still win; the keyboard always works.
- The Help page shows the CD32 buttons as they are since 1.1.
- Del gives one Pause per press (1.1 gave two: the game paused and
carried straight on).
- Overlapping sprites are drawn as the console draws them, so the cars
and boats in Micro Machines (SMS, GG) have their colours (1.1:
grey). "Sprites Priorities" in the menu, now on by
default.
- Background tiles marked "in front of sprites" cover them, as on the
console (Defenders of Oasis' dialogue boxes). "Background
Priorities" in the menu, now on by default.
- Prefs saved by 0.8 or 1.1 get both priority options switched on when
loaded; everything else in them is kept. 1.2 prefs keep your choice.
- Player 2: Joy-Control Port 1 on CD32 Joypad or KTRL CD32+ turns
player 2 on (1.1 also needed "JoyStick 2 ON", so a pad in port 1
did nothing).
- Periodic noise (kick drum and bass in many homebrew games) about
5.5 dB louder, in balance with the tunes as on the console.
Speed on a 68030/50
-------------------
Measured in WinUAE on a 68030/50 setup calibrated against a real
Blizzard 030/50, not on a real 030. Sonic, Shinobi, Alex Kidd, Sonic GG
and Micro Machines (SMS and GG, in a race) run at full speed, NTSC and
PAL. Without the frame limit Micro Machines (SMS), the slowest, reaches
128% of full speed on NTSC and 156% on PAL. The 224-line picture costs
about 2%, reading a CD32 pad about 5%, drawing overlapping sprites in
order about 9%, the background priority about 1.5%.
1.1 changes
-----------
- Cartridges of any size up to 4 MB load (0.8 refused sizes that were
not a multiple of 32 KB).
- Codemasters cartridges run (Micro Machines, Micro Machines 2 GG).
- Bank switching through IX/IY and SET/RES reaches the mapper, as on the
console: Electronic Dreams and Razing Core no longer stay black.
- Two cartridge RAM banks: Shining Force - The Sword of Hajya starts.
- Black Sea Treasure Hunters plays: TMS9918 text and Graphic II modes,
the 8 KB RAM mirror, the I/O port mirrors and real VDP status flags.
- Master System white at full brightness; Realtime Palette Refresh on by
default; NTSC (60 Hz) by default (saved prefs still win).
- Sound chip: the latch/data protocol as on the chip, 2 dB volume steps,
noise at its own rate and periodic noise (Jumping Jack'son on pitch).
- CD32 pads: a new reader; "KTRL CD32+" setting for the KTRL CD32+ and
the Mega Multi adapter. Red = 1, blue = 2, green = Pause, yellow =
Start (Game Gear), Play = Pause and Start, shoulders = back to the
menu. One pause per press.
- Insert opens the Cartridges drawer, Load/Save Frozen the Frozen
drawer; a failed frozen save or load gives a message.
- PadTest.sms and PadTest.gg pad test cartridges.
Tried on real hardware
----------------------
On an A1200 with a PiStorm, AGA screen, sound from Paula: the 224-line
picture (Micro Machines on the Master System and Game Gear, Micro
Machines 2 on the Game Gear, NTSC and PAL), the sprite colours and the
background priority (Micro Machines, Defenders of Oasis, Sonic, Shinobi,
Wonder Boy III), Alex Kidd, Columns, GG Aleste II, the Help page, Pause
from the Del key, battery saves (Shining Force, Defenders of Oasis),
frozen games, Black Sea Treasure Hunters, CD32 pads in both ports (a
KTRL CD32 and a PlayStation pad on a CD32 adapter, with PadTest), the
drums in Jumping Jack'son, and prefs from 1.1 getting both priority
options switched on. Not tried on hardware: the Port 2 default without
a prefs file (WinUAE only). 1.3: Jumping Jack'son's bass recorded by
line-in from the A1200 with the noise fix, and the 1.3 candidate run
there. The long-name fix was tested in WinUAE (a second Insert after a
69-character name).
No real 68030 was to hand: its speed is the WinUAE measurement only.
2.0, RTG, on the A1200 with a PiStorm (Emu68), HDMI 1080p60: Micro
Machines NTSC and PAL with Double (no tearing), Sonic with Scanlines On,
Hard 50%, the big menu, the scanline settings kept in the config. At
1080p50: the frame timing logged with Single and Double.
Known differences
-----------------
- RTG, Double at 50 Hz output: about 4% of frames miss the blank, a
small judder. Clean at 60 Hz. Workaround: Single, or 60 Hz output.
- RTG: TMS9918 picture modes (Black Sea Treasure Hunters) not drawn
yet: black. The AGA program draws them.
- 240-line picture (PAL Master System II only): not done. No game in
our test set uses it.
- Sprite collision flag in the Master System's own mode: still 0.8's.
- AGA: an occasional one-frame black flicker during play, seen on an A1200
(Micro Machines). Cause not yet found.
- AGA: a thin line can show at the left edge of the picture on bright
screens (also in 1.1).
- Not supported: FM sound unit, light gun, paddle, 3-D glasses, Game
Gear link cable.
Install
-------
Unpack AmiMasterGear-2.0 (this archive) and start AGA or RTG in the
AmiMasterGear drawer. With a CD32 pad in the joystick port nothing needs
setting; with a joystick pick "Amiga JoyStick" in Joy-Control and Save
Prefs. No games are included: use cartridge images you may legally
have.
Credits
-------
Juan Antonio Gomez Galvez and z00p; Multivac (icons and graphics in
Juan's original); Afrotechmods / FAmiga (CD32 pad read).
Sega Master System and Game Gear are trademarks of Sega. This project
is not affiliated with or endorsed by Sega.
|