/usr/share/openmsx/scripts/toggle_freq.tcl is in openmsx-data 0.8.2-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | set_help_text toggle_freq "Switch between PAL/NTSC."
proc toggle_freq {} {
debug write "VDP regs" 9 [expr {[debug read "VDP regs" 9] ^ 2}]
debug write "memory" 0xFFE8 [expr {[debug read "memory" 0xFFE8] ^ 2}]
}
|