Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07330 Media Support Minor Always May 13, 2019, 02:48 Nov 22, 2023, 21:00
Tester star2root View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS
Status [?] Confirmed Driver
Version 0.209 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 07330: ti99_4a: The -flop1 option is not recognized from the command line.
Description With the ini file below for the TI-99/4A, which includes a floppy controller, running the command:
mame ti99_4a -flop1 some_valid_disk_file.dsk
Produces: Error: unknown option: -flop1

#
# CORE CONFIGURATION OPTIONS
#
readconfig 1
writeconfig 1

#
# CORE SEARCH PATH OPTIONS
#
homepath .
rompath roms
hashpath hash
samplepath samples
artpath artwork
ctrlrpath ctrlr
inipath "$HOME/Library/Application Support/mame;$HOME/.mame;.;ini"
fontpath .
cheatpath cheat
crosshairpath crosshair
pluginspath plugins
languagepath language
swpath software

#
# CORE OUTPUT DIRECTORY OPTIONS
#
cfg_directory cfg
nvram_directory nvram
input_directory inp
state_directory sta
snapshot_directory snap
diff_directory diff
comment_directory comments

#
# CORE STATE/PLAYBACK OPTIONS
#
state
autosave 0
rewind 0
rewind_capacity 100
playback
record
record_timecode 0
exit_after_playback 0
mngwrite
aviwrite
wavwrite
snapname %g/%i
snapsize auto
snapview internal
snapbilinear 1
statename %g
burnin 0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip 0
frameskip 0
seconds_to_run 0
throttle 1
sleep 1
speed 1.0
refreshspeed 0

#
# CORE RENDER OPTIONS
#
keepaspect 1
unevenstretch 1
unevenstretchx 0
unevenstretchy 0
autostretchxy 0
intoverscan 0
intscalex 0
intscaley 0

#
# CORE ROTATION OPTIONS
#
rotate 1
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0

#
# CORE ARTWORK OPTIONS
#
artwork_crop 0
use_backdrops 1
use_overlays 1
use_bezels 1
use_cpanels 1
use_marquees 1
fallback_artwork
override_artwork

#
# CORE SCREEN OPTIONS
#
brightness 1.0
contrast 1.0
gamma 1.0
pause_brightness 0.65
effect none

#
# CORE VECTOR OPTIONS
#
beam_width_min 1.0
beam_width_max 1.0
beam_intensity_weight 0
flicker 0

#
# CORE SOUND OPTIONS
#
samplerate 48000
samples 1
volume 0

#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr
mouse 0
joystick 1
lightgun 0
multikeyboard 0
multimouse 0
steadykey 0
ui_active 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
natural 0
joystick_contradictory 0
coin_impulse 0

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device keyboard
lightgun_device keyboard
positional_device keyboard
mouse_device mouse

#
# CORE DEBUGGING OPTIONS
#
verbose 0
log 0
oslog 0
debug 0
update_in_pause 0
debugscript

#
# CORE COMM OPTIONS
#
comm_localhost 0.0.0.0
comm_localport 15112
comm_remotehost 127.0.0.1
comm_remoteport 15112
comm_framesync 0

#
# CORE MISC OPTIONS
#
drc 1
drc_use_c 0
drc_log_uml 0
drc_log_native 0
bios
cheat 0
skip_gameinfo 0
uifont default
ui cabinet
ramsize
confirm_quit 0
ui_mouse 1
language English
nvram_save 1

#
# SCRIPTING OPTIONS
#
autoboot_command
autoboot_delay 0
autoboot_script
console 0
plugins 1
plugin
noplugin

#
# HTTP SERVER OPTIONS
#
http 0
http_port 8080
http_root web

#
# OSD KEYBOARD MAPPING OPTIONS
#
uimodekey F12

#
# OSD FONT OPTIONS
#
uifontprovider auto

#
# OSD OUTPUT OPTIONS
#
output auto

#
# OSD INPUT OPTIONS
#
keyboardprovider auto
mouseprovider auto
lightgunprovider auto
joystickprovider auto

#
# OSD DEBUGGING OPTIONS
#
debugger auto
debugger_font auto
debugger_font_size 0
watchdog 0

#
# OSD PERFORMANCE OPTIONS
#
numprocessors auto
bench 0

#
# OSD VIDEO OPTIONS
#
video auto
numscreens 1
window 0
maximize 1
waitvsync 0
syncrefresh 0
monitorprovider auto

#
# OSD PER-WINDOW VIDEO OPTIONS
#
screen auto
aspect auto
resolution auto
view auto
screen0 auto
aspect0 auto
resolution0 auto
view0 auto
screen1 auto
aspect1 auto
resolution1 auto
view1 auto
screen2 auto
aspect2 auto
resolution2 auto
view2 auto
screen3 auto
aspect3 auto
resolution3 auto
view3 auto

#
# OSD FULL SCREEN OPTIONS
#
switchres 0

#
# OSD ACCELERATED VIDEO OPTIONS
#
filter 1
prescale 1

#
# OpenGL-SPECIFIC OPTIONS
#
gl_forcepow2texture 0
gl_notexturerect 0
gl_vbo 1
gl_pbo 1
gl_glsl 0
gl_glsl_filter 1
glsl_shader_mame0 none
glsl_shader_mame1 none
glsl_shader_mame2 none
glsl_shader_mame3 none
glsl_shader_mame4 none
glsl_shader_mame5 none
glsl_shader_mame6 none
glsl_shader_mame7 none
glsl_shader_mame8 none
glsl_shader_mame9 none
glsl_shader_screen0 none
glsl_shader_screen1 none
glsl_shader_screen2 none
glsl_shader_screen3 none
glsl_shader_screen4 none
glsl_shader_screen5 none
glsl_shader_screen6 none
glsl_shader_screen7 none
glsl_shader_screen8 none
glsl_shader_screen9 none

#
# OSD SOUND OPTIONS
#
sound auto
audio_latency 2

#
# PORTAUDIO OPTIONS
#
pa_api none
pa_device none
pa_latency 0

#
# CoreAudio-SPECIFIC OPTIONS
#
audio_output auto
audio_effect0 none
audio_effect1 none
audio_effect2 none
audio_effect3 none
audio_effect4 none
audio_effect5 none
audio_effect6 none
audio_effect7 none
audio_effect8 none
audio_effect9 none

#
# BGFX POST-PROCESSING OPTIONS
#
bgfx_path bgfx
bgfx_backend auto
bgfx_debug 0
bgfx_screen_chains default
bgfx_shadow_mask slot-mask.png
bgfx_lut
bgfx_avi_name auto

#
# SDL PERFORMANCE OPTIONS
#
sdlvideofps 0

#
# SDL VIDEO OPTIONS
#
centerh 1
centerv 1
scalemode none

#
# SDL KEYBOARD MAPPING
#
keymap 0
keymap_file keymap.dat

#
# SDL JOYSTICK MAPPING
#
joy_idx1 auto
joy_idx2 auto
joy_idx3 auto
joy_idx4 auto
joy_idx5 auto
joy_idx6 auto
joy_idx7 auto
joy_idx8 auto
sixaxis 0

#
# SDL MOUSE MAPPING
#
mouse_index1 auto
mouse_index2 auto
mouse_index3 auto
mouse_index4 auto
mouse_index5 auto
mouse_index6 auto
mouse_index7 auto
mouse_index8 auto

#
# SDL KEYBOARD MAPPING
#
keyb_idx1 auto
keyb_idx2 auto
keyb_idx3 auto
keyb_idx4 auto
keyb_idx5 auto
keyb_idx6 auto
keyb_idx7 auto
keyb_idx8 auto

#
# SDL LOW-LEVEL DRIVER OPTIONS
#
videodriver auto
renderdriver auto
audiodriver auto
gl_lib /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib

#
# FRONTEND COMMAND OPTIONS
#
dtd 1

#
# SLOT DEVICES
#
ioport peb

#
# IMAGE DEVICES
#
cartridge "/Applications/Emulation/MacMAME/Software/ti99_4a/Carts/LANGUAGES/Extended Basic 1.10 PHM3026E.rpk"
cassette1
cassette2
ioport:peb:slot2 32kmem
ioport:peb:slot6
ioport:peb:slot7 speech
ioport:peb:slot8 tifdc
ioport:peb:slot8:tifdc:0 525dd
ioport:peb:slot8:tifdc:2 525dd
floppydisk1
floppydisk2
floppydisk3
Steps To Reproduce Load copy the ini file above, or create an ini file including a peb and a floppy controller, and try to load a disk file from the command line.
Additional Information Loading a disk file from the menu inside mame works fine.
Github Commit
Flags
Regression Version
Affected Sets / Systems ti99_4a
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.21837
mizapf
Developer
Nov 16, 2023, 23:29
It should work when you specify the configuration on the command line, like

mame ti99_4a -ioport peb -ioport:peb:slot8 tifdc
User avatar
No.21838
mizapf
Developer
Nov 17, 2023, 23:01
Confirmed, flop1 is not found when the configuration (PEB, disk controller) is saved into ti99_4a.ini and not presented on the command line as arguments. I have never made use of the configuration save feature, so I did not notice until now. However, since I'm simply using the core functions, I cannot explain that behaviour.
User avatar
No.21856
cuavas
Administrator
Nov 22, 2023, 21:00
Is it because of the order it's applying the options? It's trying to parse the "-flop1" option from the command line before it reads any INI files. This means it hasn't set up the slot options as configured in the INI file, and hence doesn't know about the media options.

I don't think you can really do much about this - it needs to parse the command line before it knows where to look for INI files. It's a dependency issue.