Here is all you need to edit your MAME module so that Tandy TRS-80 Color Computer works. Also includes the commands needed to load floppy and cassette games. Be careful when editing your module and make a backup first.
Add
Add the line below to the mTypeVar:
Add the code below to the if statement which comes after this comment in the code -
; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
Add the lines below to the end of the module ini file. These are the commands to load the floppy and cassette games, which are passed to MAME using the -autoboot_command cli option. You may need to increase the -autoboot_delay seconds if the command is clipped. You may also need to change the game name in the square brackets to match you roms / game list / database / xml.
Add
"Tandy TRS-80 Color Computer"
to the MSystem variable.Add the line below to the mTypeVar:
Code:
Tandy TRS-80 Color Computer|coco3
Add the code below to the if statement which comes after this comment in the code -
; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
Code:
Else If (mameID = "coco3") ; Tandy TRS-80 Color Computer
{ If (romExtension = ".cas")
param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
Else If (romExtension = ".dsk")
param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
Else
param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
Add the lines below to the end of the module ini file. These are the commands to load the floppy and cassette games, which are passed to MAME using the -autoboot_command cli option. You may need to increase the -autoboot_delay seconds if the command is clipped. You may also need to change the game name in the square brackets to match you roms / game list / database / xml.
Code:
[Arkanoid (1987)]
Parameters=-autoboot_command "LOAD \"ARKNOID\", R\n" -autoboot_delay 1
[Androne (1983)]
Parameters=-autoboot_command "LOADM \"ANDRONE.BIN\" : EXEC\n" -autoboot_delay 1
[ATOM]
Parameters=-autoboot_command "LOADM \"ATOM.BIN\" : EXEC\n" -autoboot_delay 1
[Canyon Climber (1982)]
Parameters=-autoboot_command "LOADM \"CANYON.BIN\" : EXEC\n" -autoboot_delay 1
[Castle Guard (1981)]
Parameters=-autoboot_command "LOADM \"CASTLEGD.BIN\" : EXEC\n" -autoboot_delay 1
[Clowns & Balloons (1982)]
Parameters=-autoboot_command "LOADM \"CLOWNS.BIN\" : EXEC\n" -autoboot_delay 1
[Color Cubes (1981)]
Parameters=-autoboot_command "LOADM \"CO-CUBES.BIN\" : EXEC\n" -autoboot_delay 1
[Dino Wars (1981)]
Parameters=-autoboot_command "LOADM \"DINOWARS.BIN\" : EXEC\n" -autoboot_delay 1
[Doubleback (1982)]
Parameters=-autoboot_command "LOADM \"DBLBACK.BIN\" : EXEC\n" -autoboot_delay 1
[Downland (1983)]
Parameters=-autoboot_command "LOADM \"DOWNLAND.BIN\" : EXEC\n" -autoboot_delay 1
[Football (1980)]
Parameters=-autoboot_command "LOADM \"FOOTBALL.BIN\" : EXEC\n" -autoboot_delay 1
[Gin Champion (1982)]
Parameters=-autoboot_command "LOADM \"GIN.BIN\" : EXEC\n" -autoboot_delay 1
[Gomoku-Renju (1983)]
Parameters=-autoboot_command "LOADM \"GOMOKU.BIN\" : EXEC\n" -autoboot_delay 1
[Microbes (1981)]
Parameters=-autoboot_command "LOADM \"MICROBES.BIN\" : EXEC\n" -autoboot_delay 1
[Mind-Roll (1988)]
Parameters=-autoboot_command "LOAD \"MINDROLL\", R\n" -autoboot_delay 1
[Pinball (1980)]
Parameters=-autoboot_command "LOADM \"PINBALL.BIN\" : EXEC\n" -autoboot_delay 1
[Polaris (1981)]
Parameters=-autoboot_command "LOADM \"POLARIS.BIN\" : EXEC\n" -autoboot_delay 1
[Poltergeist (1982)]
Parameters=-autoboot_command "LOADM \"POL64.BIN\" : EXEC\n" -autoboot_delay 1
[Popcorn (1981)]
Parameters=-autoboot_command "LOADM \"POPCORN.BIN\" : EXEC\n" -autoboot_delay 1
[Project Nebula (1981)]
Parameters=-autoboot_command "LOADM \"NEBULA.BIN\" : EXEC\n" -autoboot_delay 1
[Quasar Commander (1980)]
Parameters=-autoboot_command "LOADM \"QUASAR.BIN\" : EXEC\n" -autoboot_delay 1
[Reactoid (1983)]
Parameters=-autoboot_command "LOADM \"REACTOID.BIN\" : EXEC\n" -autoboot_delay 1
[Roman Checkers (1981)]
Parameters=-autoboot_command "LOADM \"ROMANCHK.BIN\" : EXEC\n" -autoboot_delay 1
[Shooting Gallery (1982)]
Parameters=-autoboot_command "LOADM \"SHOOTING.BIN\" : EXEC\n" -autoboot_delay 1
[Skiing (1981)]
Parameters=-autoboot_command "LOADM \"SKIING.BIN\" : EXEC\n" -autoboot_delay 1
[Soko-Ban (1988)]
Parameters=-autoboot_command "LOADM \"SOKOBAN.BIN\" : EXEC\n" -autoboot_delay 1
[Space Assault (1981)]
Parameters=-autoboot_command "LOADM \"SPCEASLT.BIN\" : EXEC\n" -autoboot_delay 1
[Starblaze (1983)]
Parameters=-autoboot_command "LOADM \"STARBLAZ.BIN\" : EXEC\n" -autoboot_delay 1
[Temple of ROM (1984)]
Parameters=-autoboot_command "LOADM \"TEMPLE.BIN\" : EXEC\n" -autoboot_delay 1
[Tennis (1981)]
Parameters=-autoboot_command "LOADM \"TENNIS.BIN\" : EXEC\n" -autoboot_delay 1
[Wildcatting (1982)]
Parameters=-autoboot_command "LOADM \"GAATT.BIN\" : EXEC\n" -autoboot_delay 1