libretro / hatari

New rebasing of Hatari based on Mercurial upstream. Tries to be a shallow fork for easy upstreaming later on.
25 stars 41 forks source link

allow force ntsc / 60hz in core options #88

Open filevans opened 1 year ago

filevans commented 1 year ago

hello, this setting is available by command line which doesn't seem accessible in retroarch, please could the setting be added to core options?

hatari [options] [disk image | directory | Atari program ] --country < x > Set EmuTOS ROM country code on Mega/ST/STe machines lacking NVRAM, when EmuTOS indicates supporting multiple ones. In 512k EmuTOS images, country code selects the TOS keyboard layout and screen refresh (US = 60Hz NTSC, 50Hz PAL otherwise)

thank you

bbbradsmith commented 1 year ago

The EmuTOS project provides command line tools for preparing the TOS ROM for a specific language like that:

Though Hatari can identify EmuTOS ROMs, I don't think it has a user option to be able to override this on its own, so there isn't such an option that this core would be able to provide.

If someone wanted to add the feature, it would have to duplicate whatever those command line tools do.

filevans commented 1 year ago

yes it can be changed to ntsc 60hz by command-line in the standalone emulator, which can't be accessed in the retroarch core

bbbradsmith commented 1 year ago

Ah, I see. That is a new feature from 2.4.1 (change). Seems to be accessible from the command line only, and not in the UI.

filevans commented 1 year ago

So could you include this option in the Retroarch core then?

bbbradsmith commented 1 year ago

This core is based on a very old version of Hatari that does not have that feature, though it is possible for someone to add.

I have included it in a different core that is based on Hatari 2.4.1, but if someone else would like an example about how to add it to this core, it's a small addition to tos.c: tos.c. Similar changes could be made to this core to add the feature.