To be precise, my current example is the commodore 128 (128d).
This machine has two outputs, one for 40 columns screens (usually send to tv with tv modulator hardware or to monitors like commodore 1084) and 80 coulumn mode which was send to a cga monitor compatible output (if i remember correctly).
So in Mame if you start the machine with an uninitialised nvram dir, you get a dual screen output, 80 column screen to the left and 40 column screen to the right.
Now to my question - is there a command line switch where I can disable the 80 column output port? I can switch in 128 40/80 column mode with F11 (commodore 128 device default mapping) key to 40 columns and reset the machine so that the left screen is disabled, but mame is of course keeping the left part drawn even if it is empty due to being unused in 40 column mode.
Plus is there a way to read out by command line parameters how to enable / disable additional screens (for any devices that might support a multimonitor output) or any othe possible option available for devices? Like the list of compatible hardware devices for others like hdd controllers etc
I am currently digging through the source to find this out, but maybe one of you has a quicker answer?
some half answers I researched until now (but not yet at the point i want to reach):
mame c128dp -listdevices which lists the screens and all other devices:
Driver c128dp (Commodore 128D (PAL)):
<root> Commodore 128D (PAL)
cart_list Software List
cart_list_c64 Software List
cart_list_vic10 Software List
cass_list_c64 Software List
exp C64 expansion port @ 985.24 kHz
flop_list Software List
flop_list_c64_misc Software List
flop_list_c64_orig Software List
from Generic ROM Socket / RAM Socket
from_list Software List
gfxdecode gfxdecode
iec10 CBM IEC slot
iec11 CBM IEC slot
iec4 CBM IEC slot
iec8 CBM IEC slot
c1571 Commodore 1571 Disk Drive
u1 MOS Technology 6502 @ 1.00 MHz
u11 Western Digital WD1770 FDC @ 8.00 MHz
u20 MOS 6526 CIA @ 1.00 MHz
u4 MOS 6522 VIA @ 1.00 MHz
u6 Commodore 64H156 @ 16.00 MHz
0 Floppy drive connector abstraction
525qd 5.25" quad density floppy drive
floppysound Floppy sound @ 44.10 kHz
flopsndout Speaker
u9 MOS 6522 VIA @ 1.00 MHz
iec9 CBM IEC slot
iec_bus CBM IEC bus
irq Input Merger (any high)
joy1 Atari VCS controller port
joy2 Atari VCS controller port
joy Atari / CBM Digital joystick
nmi Input Merger (any high)
quickload Quickload
ram RAM
screen Video Screen
screen80 Video Screen
speaker Speaker
tape Commodore Datasette Port
c1530 Commodore 1530 Datassette
cassette Cassette
u1 MOS 6526 CIA @ 985.24 kHz
u10 Zilog Z80 @ 3.94 MHz
u11 MOS 8721 PLA
u21 MOS 8566 VIC-II @ 7.88 MHz
u22 MOS 8563 VDC @ 16.00 MHz
u4 MOS 6526 CIA @ 985.24 kHz
u5 MOS 6581 SID @ 985.24 kHz
u6 MOS Technology 8502 @ 985.24 kHz
u7 MOS 8722 MMU @ 985.24 kHz
user PET user port
and then i tried
mame c128p -view screen
which at least boots up the machine with a single screen, but instead of showing the 40 column screen it is always showing the 80 column screen which in my opinion should have been screen80 (even switching between the modes with the F11 (40/80 column switch key) did not change this)
i am probably still missing something - is it even possible to do what i want? (boot c128d only in 40 column mode)