# Geartowns

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/geartowns/

Geartowns emulates Fujitsu FM Towns. It reads 6 files, 1 of them required: without a required file it does not start games.

**About this profile**

| Detail | Value |
|---|---|
| Type | libretro |
| Classification | Official port |
| Source | [https://github.com/drhelius/Geartowns](https://github.com/drhelius/Geartowns) |
| Version | 1.0.6-3-g0b3ee18, 3 commits after tag [`1.0.6`](https://github.com/drhelius/Geartowns/tree/1.0.6) |
| Revision | [drhelius/Geartowns@0b3ee180c3d0](https://github.com/drhelius/Geartowns/commit/0b3ee180c3d0405cac29f6b2587bc9e458664504) |
| Run by | [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/) |
| Profiled | 2026-11-09 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/geartowns.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/geartowns.json) |
| Cores | geartowns |
| Systems | [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns) |

**Install this emulator's files**

The installer finds the setup and its BIOS folder, then downloads only the files this emulator reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator geartowns
```

**macOS:**

Press Cmd+Space. Type **Terminal**, press Return. Click Copy. Press Cmd+V. Press Return.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator geartowns
```

**Linux:**

Open a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator geartowns
```

**Steam Deck:**

Hold power, pick **Switch to Desktop**. Open **Konsole**. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator geartowns
```

**Android (Termux):**

Install **Termux**, a terminal app. Paste the line. Press Enter. Accept the Python install and allow the storage access Android asks for.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator geartowns
```

**On the device:**

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator geartowns
```

**Technical notes**

FM Towns emulator by Ignacio Sanchez (drhelius). The same tree builds the desktop application and the libretro core (platforms/libretro). The core emulates the Model 1/2, 1F/2F, 10F/20F, II CX, UX, UG, HG, HR, UR, ME, MA, MX, MF/Fresh and the Marty, the HC being listed but not emulated ([`src/system/machine_profiles.h:120-134`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/system/machine_profiles.h#L120-L134), `emulated` field). The version string is `git describe` at build time ([`platforms/libretro/Makefile:369-371`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/Makefile#L369-L371)).

retro_load_game() fails when load_bios() finds no firmware ([`platforms/libretro/libretro.cpp:818-822`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/libretro.cpp#L818-L822)). load_bios() searches system/geartowns first, then the system directory itself, each time accepting first only a set made for the selected model and then any set ([`platforms/libretro/libretro.cpp:937-964`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/libretro.cpp#L937-L964)). Firmware::FindSources() takes as candidates the folder itself, every direct subfolder and every .zip in it ([`src/media/firmware.cpp:288-348`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L288-L348)). Folder and zip names are free. A candidate counts only when the System, OS, Font and Dictionary ROMs are all present at the right size, and the CRC32 of its System ROM names the set ([`src/media/firmware.cpp:377-416`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L377-L416), [`src/media/firmware.h:115-125`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L115-L125)).

Six sets are known ([`src/media/firmware.h:115-125`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L115-L125)): fmtowns (Model 1/2), freetowns (Free FM Towns Project replacement ROMs, used by the Model 1/2), fmtownsux (UX, also used by 1F/2F, 10F/20F, CX and UG), fmtmarty (Marty), fmtownshr (HR, also used by the HG and UR) and the V10 set (made for the MF/Fresh and MX, also used by the HG, UR, ME and MA). The V10 set is read from the MAME fmtownsftv files or from the single MX mask ROM. On Auto the model comes from the game database and falls back to the Model 1/2 or to the first model in release order that has a set made for it or accepted by it ([`src/geartowns_core.cpp:2088-2142`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/geartowns_core.cpp#L2088-L2142), [`src/geartowns_core.cpp:2238-2243`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/geartowns_core.cpp#L2238-L2243)). A 1.44 MB floppy (2HD at 300 rpm) inserted on Auto replaces a model without a three-mode drive by the first one in release order that has it ([`src/geartowns_core.cpp:803-806`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/geartowns_core.cpp#L803-L806), [`src/geartowns_core.cpp:2115-2123`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/geartowns_core.cpp#L2115-L2123)). A set made for another model still loads in the second pass, with a warning ([`platforms/libretro/libretro.cpp:966-999`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/libretro.cpp#L966-L999)).

File names are matched without case, inside a zip only at the archive root ([`src/media/firmware.cpp:622-671`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L622-L671)). Accepted names, one group per component, are (FMT_SYS.ROM, FMT_SYS_A.ROM, FMTHR_SYS.ROM), (FMT_DOS.ROM, FMT_DOS_A.ROM), (FMT_FNT.ROM), (FMT_DIC.ROM), (FMT_F20.ROM, FMT_F20_A.ROM), (MYTOWNS.ROM, MYTOWNSUX.ROM, MYTOWNSM2.ROM, MYTOWNSFTV.ROM, MYTOWNSHR.ROM, MYTOWNSMX.ROM) and (MAR_EX0.ROM to MAR_EX3.ROM) ([`src/media/firmware.cpp:28-42`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L28-L42)). Without separate files the components are cut from 2 MiB mask ROMs ([`src/media/firmware.cpp:500-516`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L500-L516)). For the Marty, MROM.M36 holds the OS at 0 and the first three extension parts, and MROM.M37 the fourth extension part, the 20-dot font at 0x80000, the dictionary at 0x100000, the font at 0x180000 and the System ROM at 0x1C0000. For the MX, FMTOWNSIIMXBIOS.M79 holds the OS at 0, the font at 0x80000, the System ROM at 0xC0000, the 20-dot font at 0x100000 and the dictionary at 0x180000.

Each component must have its exact size or it is rejected ([`src/media/firmware.cpp:538-620`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L538-L620), [`src/common/defines.h:48-55`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/common/defines.h#L48-L55)): System 256 KiB, OS 512 KiB, Font 256 KiB, Dictionary 512 KiB, 20-dot Font 512 KiB, Serial 32 bytes, Extension 2 MiB (four 512 KiB parts). System, OS, Font and Dictionary are required. A missing 20-dot Font or Extension is replaced by 0xFF, a missing Serial ROM is generated ([`src/media/firmware.cpp:76-165`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L76-L165), [`src/media/firmware.cpp:260-263`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L260-L263)). The CRC32 of every component is looked up in game_db.h ([`src/media/firmware.cpp:167-184`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L167-L184), [`src/media/game_db.h:345-380`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L345-L380)), and an unknown CRC only produces a warning. The Free FM Towns set is known by System 65DC3B1F, OS 43C18E92, Font 736D9CB1 and a blank Dictionary 504BF849. The Marty slices are known by System 937311F6, OS 2BC2AF96, Extension E1A9FA72 and 20-dot Font 75660AAC.

The CMOS is written by the core next to the saves ([`platforms/libretro/libretro.cpp:3365-3379`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/libretro.cpp#L3365-L3379)). It is state, not a file to obtain.

## Files

**6 files**: 1 required, 5 optional.

By kind: 6 BIOS ZIPs.

In this collection: 6 in repo and 0 missing.

## Required

| File | Contents | Status |
|---|---|---|
| ** ### `fmtowns.zip` ** FM Towns Model 1/2 firmware set - Path: `geartowns/fmtowns.zip`- System: [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns)- Set for the Model 1/2, the machine Auto falls back to. The same four files load from any subfolder of system/geartowns or from system/geartowns itself. The core has no CRC for a Model 1/2 20-dot Font, and fmt_f20.rom is read when present. - Collection copy: [`bios/Fujitsu/FM Towns/fmtowns.zip`](https://abdess.github.io/retrobios/systems/fujitsu/#sha1-8ba3bf533b0b)- Platforms: `fmtowns.zip`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#fmtowns), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#fmtowns). `bios/fmtowns.zip`: [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#fmtowns) **Source and 4 members** - Source: [`platforms/libretro/libretro.cpp:818-822`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/libretro.cpp#L818-L822), [`platforms/libretro/libretro.cpp:946-964`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/platforms/libretro/libretro.cpp#L946-L964), [`src/media/firmware.h:117`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L117), [`src/media/firmware.cpp:28-33`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L28-L33), [`src/media/firmware.cpp:288-348`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L288-L348), [`src/media/game_db.h:345-349`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L345-L349) - `fmt_sys.rom`: 256.0 KB, CRC32 `53319e23`- `fmt_dos.rom`: 512.0 KB, CRC32 `112872ee`- `fmt_fnt.rom`: 256.0 KB, CRC32 `955c6b75`- `fmt_dic.rom`: 512.0 KB, CRC32 `b314c659` | 4 | in repoBIOS ZIP |

## Optional

| File | Contents | Status |
|---|---|---|
| ** ### `fmtownsux.zip` ** FM Towns II UX firmware set - Path: `geartowns/fmtownsux.zip`- System: [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns)- Set for the UX, also used by the 1F/2F, 10F/20F, CX and UG. - Collection copy: [`bios/Fujitsu/FM Towns/fmtownsux.zip`](https://abdess.github.io/retrobios/systems/fujitsu/#sha1-803023b68b8f)- Platforms: `fmtownsux.zip`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#fmtowns), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#fmtowns). `bios/fmtownsux.zip`: [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#fmtowns) **Source and 5 members** - Source: [`src/media/firmware.h:119-120`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L119-L120), [`src/media/firmware.cpp:28-35`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L28-L35), [`src/media/game_db.h:351-356`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L351-L356) - `fmt_sys_a.rom`: 256.0 KB, CRC32 `92f3fa67`- `fmt_dos_a.rom`: 512.0 KB, CRC32 `22270e9f`- `fmt_fnt.rom`: 256.0 KB, CRC32 `dd6fd544`- `fmt_dic.rom`: 512.0 KB, CRC32 `82d1daa2`- `mytownsux.rom`: 32 B, CRC32 `5cc7e6bc` | 5 | in repoBIOS ZIP |
| ** ### `fmtmarty.zip` ** FM Towns Marty firmware set - Path: `geartowns/fmtmarty.zip`- System: [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns)- The core checks the CRC32 of the slices it cuts from the two mask ROMs, not of the files: System 937311F6, OS 2BC2AF96, Extension E1A9FA72, 20-dot Font 75660AAC. The Marty 2 layout with separate FMT_*.ROM and MAR_EX0.ROM to MAR_EX3.ROM files is read the same way. - Collection copy: [`bios/Fujitsu/FM Towns/fmtmarty.zip`](https://abdess.github.io/retrobios/systems/fujitsu/#sha1-639fef8ce517)- Platforms: `fmtmarty.zip`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#fmtowns), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#fmtowns). `bios/fmtmarty.zip`: [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#fmtowns) **Source and 2 members** - Source: [`src/media/firmware.h:121`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L121), [`src/media/firmware.cpp:500-516`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L500-L516), [`src/media/game_db.h:358-362`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L358-L362) - `mrom.m36`: 2.0 MB- `mrom.m37`: 2.0 MB | 2 | in repoBIOS ZIP |
| ** ### `fmtownshr.zip` ** FM Towns II HR firmware set - Path: `geartowns/fmtownshr.zip`- System: [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns)- Set for the HR, and first choice for the HG and UR. - Collection copy: [`bios/Fujitsu/FM Towns/fmtownshr.zip`](https://abdess.github.io/retrobios/systems/fujitsu/#sha1-239c1ade320f) **Source and 5 members** - Source: [`src/media/firmware.h:122`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L122), [`src/media/firmware.cpp:28-35`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L28-L35), [`src/media/game_db.h:364-366`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L364-L366) - `fmthr_sys.rom`: 256.0 KB, CRC32 `8aeff982`- `fmt_dos.rom`: 512.0 KB- `fmt_fnt.rom`: 256.0 KB- `fmt_dic.rom`: 512.0 KB- `mytownshr.rom`: 32 B, CRC32 `c52f0e89` | 5 | in repoBIOS ZIP |
| ** ### `fmtownsftv.zip` ** FM Towns II V10 firmware set (MF/Fresh) - Path: `geartowns/fmtownsftv.zip`- System: [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns)- V10 set for the MF/Fresh and MX, also used by the ME and MA, and second choice for the HG and UR. - Collection copy: [`bios/Fujitsu/FM Towns/fmtownsftv.zip`](https://abdess.github.io/retrobios/systems/fujitsu/#sha1-027ac214a55f) **Source and 6 members** - Source: [`src/media/firmware.h:123-124`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L123-L124), [`src/media/firmware.cpp:28-35`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L28-L35), [`src/media/game_db.h:368-371`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L368-L371) - `fmt_sys.rom`: 256.0 KB, CRC32 `afe4ebcf`- `fmt_dos.rom`: 512.0 KB- `fmt_fnt.rom`: 256.0 KB- `fmt_dic.rom`: 512.0 KB- `fmt_f20.rom`: 512.0 KB, CRC32 `9f55a20c`- `mytownsftv.rom`: 32 B, CRC32 `a961aae7` | 6 | in repoBIOS ZIP |
| ** ### `fmtownsmx.zip` ** FM Towns II MX firmware set (V10) - Path: `geartowns/fmtownsmx.zip`- System: [Fujitsu FM Towns](https://abdess.github.io/retrobios/systems/fujitsu/#fm-towns)- The V10 set in the MX layout: OS, font, System ROM, 20-dot font and dictionary are cut from the one mask ROM, and the System ROM slice is the V10 one (AFE4EBCF). Serves the same models as fmtownsftv.zip. - Collection copy: [`bios/Fujitsu/FM Towns/fmtownsmx.zip`](https://abdess.github.io/retrobios/systems/fujitsu/#sha1-da6bfb4149c3) **Source and 2 members** - Source: [`src/media/firmware.h:123-124`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.h#L123-L124), [`src/media/firmware.cpp:28-35`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L28-L35), [`src/media/firmware.cpp:500-516`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/firmware.cpp#L500-L516), [`src/media/game_db.h:373-374`](https://github.com/drhelius/Geartowns/blob/0b3ee180c3d0405cac29f6b2587bc9e458664504/src/media/game_db.h#L373-L374) - `fmtownsiimxbios.m79`: 2.0 MB- `mytownsmx.rom`: 32 B, CRC32 `16e78766` | 2 | in repoBIOS ZIP |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
