msxbuild/lib/emuctl/z80.bat

20 lines
353 B
Batchfile
Raw Permalink Normal View History

2024-06-23 18:17:01 +00:00
rem Select z80 speed
IFF 3 == %1
echo 'Select 3.51 Mhz'
2024-06-23 22:08:27 +00:00
omsxctl set speed 100 > NUL
2024-06-23 18:17:01 +00:00
exit 0
ENDIFF
IFF 7 == %1
echo 'Select 7 Mhz'
2024-06-23 22:08:27 +00:00
omsxctl set speed 200 > NUL
2024-06-23 18:17:01 +00:00
exit 0
ENDIFF
IFF 11 == %1
echo 'Select 11 Mhz'
2024-06-23 22:08:27 +00:00
omsxctl set speed 333 > NUL
2024-06-23 18:17:01 +00:00
exit 0
ENDIFF
echo 'Select openMSX Z80 emulation speed'
echo 'Usage: z80 <3/7/11>'
exit 1