msxbuild/lib/emuctl/z80.bat
Willem Cazander 390d6cdc3e
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 4s
Make z80 speed selection silent.
2024-06-24 00:08:27 +02:00

20 lines
353 B
Batchfile

rem Select z80 speed
IFF 3 == %1
echo 'Select 3.51 Mhz'
omsxctl set speed 100 > NUL
exit 0
ENDIFF
IFF 7 == %1
echo 'Select 7 Mhz'
omsxctl set speed 200 > NUL
exit 0
ENDIFF
IFF 11 == %1
echo 'Select 11 Mhz'
omsxctl set speed 333 > NUL
exit 0
ENDIFF
echo 'Select openMSX Z80 emulation speed'
echo 'Usage: z80 <3/7/11>'
exit 1