mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
Batch analysis of all 273 profiles to identify HLE/embedded fallbacks. Added hle_fallback: true where the core has verified software replacement for missing BIOS files: - Embedded ROMs: vice (102), ep128emu (22), fuse (18), frodo (4) - HLE BIOS: bsnes* (33 across 3 profiles), puae (9 AROS), noods (4), melonds* (6 FreeBIOS), flycast (3 reios) - Open-source replacements: sameboy (8), pokemini (1), gpsp (1) - Built-in fallbacks: np2kai (7), atari800 (6 Altirra), picodrive (3), quasi88 (4), gambatte (2) Conservative: only added where notes or source code confirm HLE. Skipped 50+ profiles where files are optional alternatives, not HLE replaceable (neocd, opera, kronos, pcem, etc.)
44 lines
1.9 KiB
YAML
44 lines
1.9 KiB
YAML
emulator: Handy
|
|
type: libretro
|
|
source: "https://github.com/libretro/libretro-handy"
|
|
profiled_date: "2026-03-18"
|
|
core_version: "0.95"
|
|
display_name: "Atari - Lynx (Handy)"
|
|
systems: [atari-lynx]
|
|
|
|
notes: |
|
|
Handy is an Atari Lynx emulator. The core loads lynxboot.img from
|
|
the system directory and validates it by CRC32 (0x0D973C9D). If the
|
|
file is missing or the CRC does not match, the core falls back to an
|
|
internal HLE BIOS that replicates the boot sequence in software
|
|
(ram clear, cart loader decrypt, jump to $0200).
|
|
|
|
The HLE path intercepts CPU calls to ROM addresses FE00, FE19, FE4A
|
|
and FF80 via a Mikie register write trap (address 0xFD97). When
|
|
useEmu is true (no valid BIOS loaded), CRom initialises mRomData
|
|
with a default fill byte (0x88) plus reset vectors pointing to
|
|
the HLE entry points. The cart decryption uses a hardcoded RSA
|
|
public key (lynxdec.cpp) identical to the real hardware.
|
|
|
|
With the real BIOS, the first frame has unusually high cycle counts
|
|
because hardware timers start from the boot ROM rather than being
|
|
set artificially. Blip_Buffer::end_frame() caps the audio buffer
|
|
to handle this overflow.
|
|
|
|
File path: libretro.cpp retro_load_game() joins
|
|
RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY with "lynxboot.img".
|
|
No subdirectory.
|
|
|
|
files:
|
|
- name: "lynxboot.img"
|
|
system: atari-lynx
|
|
description: "Atari Lynx boot ROM (Mikie internal 512B ROM)"
|
|
required: false
|
|
hle_fallback: true
|
|
size: 512
|
|
md5: "fcd403db69f54290b51035d82f835e7b"
|
|
sha1: "e4ed47fae31693e016b081c6bda48da5b70d7ccb"
|
|
crc32: "0d973c9d"
|
|
source_ref: "rom.h:48-49 (ROM_SIZE=0x200, ROM_CRC32=0xD973C9D), rom.cpp:76-128 (CRom constructor), libretro.cpp:1231-1258 (bios path + CSystem init)"
|
|
notes: "Validated by CRC32 at load time. If invalid or missing, core uses HLE fallback (system.cpp HLE_BIOS_* functions). Games work without it but the real boot ROM provides accurate startup timing."
|