README.omsxctl 979 B

12345678910111213141516171819202122232425262728
  1. omsxctl -- execute openMSX commands from within an MSX program
  2. This is a combination of a Tcl script and a MSX-DOS utility. It allows to
  3. execute arbitrary openMSX console commands from within the MSX.
  4. Files:
  5. omsxctl.tcl The Tcl script.
  6. omsxctl.com The MSX-DOS utility.
  7. omsxctl.z80 The source code for the above utility (Z80 assembly code).
  8. The use this, pass the script on the openMSX command line:
  9. openmsx -script <path-to>/omsxctl.tcl
  10. And then in MSX-DOS execute something like:
  11. omsxctl set save-settings_on_exit false
  12. omsxctl set throttle off
  13. omsxctl after time 10 "exit 1"
  14. ...
  15. omsxctl exit
  16. Check the script and utility source code more (technical) details.
  17. You can use this script/utility as-is. But as always, feel free to extend it
  18. for your specific needs. E.g. you might want to integrate this directly in
  19. your MSX program instead of using the omsxctl.com utility.
  20. Original idea by 'immetoo':
  21. https://github.com/openMSX/openMSX/issues/1133