Web MSX

Parameters Reference

Parameter Default Description
`MACHINE` -- Machine Type. Leave blank for auto-detection
`PRESETS` -- Configuration Presets names to apply, comma separated
`CARTRIDGE1_URL` -- URL of ROM image file to load in Slot 1
`CARTRIDGE2_URL` -- URL of ROM image file to load in Slot 2
`CARTRIDGE1_FORMAT` -- ROM Format for Cartridge in Slot 1
`CARTRIDGE2_FORMAT` -- ROM Format for Cartridge in Slot 2
`DISKA_URL` -- URL of Disk image file to load in Drive A:
`DISKB_URL` -- URL of Disk image file to load in Drive B:
`DISKA_FILES_URL` -- URL of "loose" file or ZIP file to load "as Disk" in Drive A:
`DISKB_FILES_URL` -- URL of "loose" file or ZIP file to load "as Disk" in Drive B:
`TAPE_URL` -- URL of Tape image file to load
`STATE_URL` -- URL of SaveState file to load
`AUTODETECT_URL` -- URL of file to load with media auto-detection
`BASIC_RUN` -- Run the specified file name
`BASIC_LOAD` -- Load the specified file name
`BASIC_ENTER` -- Type the specified text then hit ENTER
`BASIC_TYPE` -- Type the specified text
`SCREEN_ELEMENT_ID` "wmsx-screen" HTML Element ID to place the Emulator Screen
`ALLOW_URL_PARAMETERS` true Allows overriding any parameters via URL query parameters
`AUTO_START` true Auto-Start the emulator as soon as ready
`AUTO_POWER_ON_DELAY` 1600 Auto-Power-ON after specified msecs. -1: no Auto-Power-ON
`RAMMAPPER_SIZE` 512 RAM Mapper size. 128, 256, 512 .. 4096, if enabled
`CARTRIDGE1_SLOT` [1] Slot specification for Cartridge Slot 1
`CARTRIDGE2_SLOT` [2, 0] Slot specification for Cartridge Slot 2
`MEDIA_CHANGE_DISABLED` false Block user from changing Media (Cartridges, Disks, etc)
`SCREEN_RESIZE_DISABLED` false Block user from changing Sreen size
`SCREEN_FULLSCREEN_MODE` -1 FullScreen mode. -2: disabled; -1: auto; 0: off; 1: on
`SCREEN_FILTER_MODE` -1 Screen CRT Filter level. -2: browser default; -1: auto; 0..3: smoothing level
`SCREEN_CRT_MODE` -1 Screen CRT Phosphor Effect. -1: auto; 0: off; 1: on
`SCREEN_DEFAULT_SCALE` -1 Screen size. -1: auto; 0.5..N in 0.1 steps
`SCREEN_DEFAULT_ASPECT` 1.1 Screen aspect ratio (width) in 0.1 steps
`SCREEN_CONTROL_BAR` 1 Screen Bottom Bar controls. 0: on hover; 1: always
`SCREEN_FORCE_HOST_NATIVE_FPS` -1 Force host native video frequency. -1: auto-detect. Don't change! :-)
`SCREEN_VSYNCH_MODE` 1 V-Synch mode. -1: disabled; 0: off; 1: on
`AUDIO_MONITOR_BUFFER_BASE` -1 Audio buffer base size. 2: disable audio; -1: auto; 0: platform default; 1..6: base value. More buffer = more delay
`AUDIO_MONITOR_BUFFER_SIZE` -1 Audio buffer size. -1: auto; 256, 512, 1024, 2048, 4096, 8192, 16384: buffer size. More buffer = more delay. Don't change! :-)
`AUDIO_SIGNAL_BUFFER_RATIO` 2 Internal Audio Signal buffer based on Monitor buffer
`AUDIO_SIGNAL_ADD_FRAMES` 3 Additional frames in internal Audio Signal buffer based on Monitor buffer
`MOUSE_MODE` 0 Mouse control. -1: disabled; 0: auto; 1: enabled at port 1; 2: enabled at port 2
`TOUCH_MODE` 0 Touch control. -1: disabled; 0: auto; 1: enabled at port 1; 2: enabled at port 2
`KEYBOARD_JAPAN_LAYOUT` 1 Japanese keyboard layout. 0: ANSI, 1: JIS