Files
libretro/emulators/m2000.yml
T
Abdessamad Derraz e7aa9e870b fix: state libretro core versions from their code
Each libretro profile records version_basis and core_version is read
there at its pin. snes9x states 1.63 in snes9x.h, nestopia 2.0.0, mgba
0.11.0, vice 3.10, atari800's libretro tree 7.0.0. Cores whose build
takes its version from git carry the nearest tag in describe form
(flycast v2.7-90-ge88b0ce, ppsspp, duckstation, gearcoleco), placeholders
copied from .info files (Git, SVN) are replaced by the code's statement,
and a code that states none is null with kind none.
2026-10-27 19:21:27 +01:00

35 lines
1.2 KiB
YAML

emulator: M2000
type: libretro
core_classification: official_port
source: "https://github.com/p2000t/M2000"
upstream: "https://github.com/p2000t/M2000"
profiled_date: "2026-03-24"
source_commit: "da0b8cbef2007c907f5db2166847c3209643865d"
core_version: "0.9.5"
version_basis:
kind: file
path: "src/P2000.h"
pattern: '#define\s+EMULATOR_VERSION\s+"([^"]+)"'
display_name: "Philips - P2000T (M2000)"
cores:
- m2000
systems:
- philips-p2000t
notes: |
M2000 is a Philips P2000T home computer emulator by Dion Olsthoorn,
based on the original emulator by Marcel de Kogel (1997). The libretro
port is maintained by the same author in the same repository.
All ROMs are embedded in the binary via header files:
- monitor_rom (4096 bytes) and basic_nl_rom (16384 bytes) in m2000_roms.h
- SAA5050 teletext font in m2000_saa5050.h
retro_init() calls InitP2000(monitor_rom, basic_nl_rom) which copies
the embedded arrays into ROM memory (src/P2000.c:292-328). LoadFont() uses
the embedded saa5050_fnt array (m2000_libretro.c:103-161). No system
directory access. The standalone version loads P2000ROM.bin, BASIC.bin
and Default.fnt from disk, but the libretro port embeds all three.
files: []