Skip to content

Commit a189df8

Browse files
committed
Add Gakken Compact Vision TV Boy (ctvboy) and Amstrad PCW (pcw) systems
1 parent b3549fe commit a189df8

File tree

6 files changed

+154
-0
lines changed

6 files changed

+154
-0
lines changed

package/batocera/core/batocera-configgen/configs/configgen-defaults.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ amigacdtv:
4545
amstradcpc:
4646
emulator: libretro
4747
core: cap32
48+
pcw:
49+
emulator: libretro
50+
core: mame
4851
apfm1000:
4952
emulator: libretro
5053
core: mame
@@ -160,6 +163,9 @@ corsixth:
160163
crvision:
161164
emulator: libretro
162165
core: mame
166+
ctvboy:
167+
emulator: libretro
168+
core: mame
163169

164170
# D-L
165171

package/batocera/core/batocera-configgen/data/mame/messSystems.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ archimedes;aa4401;flop;
88
astrocde;astrocde;cart;
99
atom;atom;flop1;'\n*DOS\n*DIR\n*CAT\n*RUN"'
1010
bbc;bbcb;flop1;
11+
pcw;pcw8256;flop;
1112
camplynx;lynx48k;cass;'mload""'
1213
casloopy;casloopy;cart;
1314
cdi;cdimono1;cdrm;
1415
coco;coco3;cart;
1516
crvision;crvision;cart;
17+
ctvboy;ctvboy;cart;
1618
electron;electron64;cass;'*T.\nCH.""\n'
1719
fm7;fm7;flop1;
1820
fmtowns;fmtmarty;cdrm;

package/batocera/core/batocera-scripts/scripts/batocera-systems

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,13 @@ systems = {
520520
{ "md5": "", "zippedFile": "motoroff.wav", "file": "bios/mame/samples/bbc.zip"},
521521
{ "md5": "", "zippedFile": "motoron.wav", "file": "bios/mame/samples/bbc.zip"} ] },
522522

523+
# ---------- Amstrad PCW ---------- #
524+
"pcw": { "name": "Amstrad PCW", "biosFiles": [ { "md5": "", "file": "bios/pcw8256.zip" },
525+
{ "md5": "a846b928562ca8281bc279f41b475a06", "zippedFile": "40026.ic701", "file": "bios/pcw8256.zip"},
526+
{ "md5": "cefe4b0b7c701c1a80130e3390b007f5", "zippedFile": "40027.ic801", "file": "bios/pcw8256.zip"},
527+
{ "md5": "", "file": "bios/pcw9512.zip" },
528+
{ "md5": "b664af93987d575b0248832832c61505", "zippedFile": "40103.ic109", "file": "bios/pcw9512.zip"} ] },
529+
523530
# ---------- APF M-1000 ---------- #
524531
"apfm1000": { "name": "APF M-1000", "biosFiles": [ { "md5": "", "file": "bios/apfm1000.zip" },
525532
{ "md5": "1f4a976350202ee1e32c2b0477c3fc1b", "zippedFile": "apf_4000.rom", "file": "bios/apfm1000.zip"},

package/batocera/emulationstation/batocera-es-system/es_systems.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,6 +1543,21 @@ amstradcpc:
15431543
Para habilitar o suporte ao controle, vá no menu RetroArch com "Hotkey + B" e altere esta opção:
15441544
De "Quick Menu/Core Input Options/User 1 Device type: Retropad" para "Amstrad Joystick"
15451545
1546+
pcw:
1547+
name: Amstrad PCW
1548+
manufacturer: Amstrad
1549+
release: 1985
1550+
hardware: computer
1551+
extensions: [mfi, dfi, mfm, td0, imd, 86f, d77, d88, 1dd, cqm, cqi, dsk, zip, 7z]
1552+
emulators:
1553+
libretro:
1554+
mame: { requireAnyOf: [BR2_PACKAGE_LIBRETRO_MAME] }
1555+
mame:
1556+
mame: { requireAnyOf: [BR2_PACKAGE_MAME] }
1557+
comment_en: |
1558+
Requires MAME BIOS files pcw8256.zip (and pcw9512.zip for the 9512 model).
1559+
Games are floppy disk images (.dsk). Most games are self-booting and don't require a separate system disk.
1560+
15461561
msx1:
15471562
name: MSX1
15481563
manufacturer: Microsoft
@@ -3245,6 +3260,20 @@ crvision:
32453260
comment_br: |
32463261
Requer o arquivo crvision.zip da BIOS do MAME
32473262
3263+
ctvboy:
3264+
name: Compact Vision TV Boy
3265+
manufacturer: Gakken
3266+
release: 1983
3267+
hardware: console
3268+
extensions: [bin, zip, 7z]
3269+
emulators:
3270+
libretro:
3271+
mame: { requireAnyOf: [BR2_PACKAGE_LIBRETRO_MAME] }
3272+
mame:
3273+
mame: { requireAnyOf: [BR2_PACKAGE_MAME] }
3274+
comment_en: |
3275+
MAME 0.262+ required
3276+
32483277
laser310:
32493278
name: Laser 310
32503279
manufacturer: VTech

package/batocera/emulators/mame/mame.emulator.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,46 @@ systems:
367367
choices:
368368
"On": 1
369369
"Off": 0
370+
- name: pcw
371+
features:
372+
- padtokeyboard
373+
custom_features:
374+
softList:
375+
group: ADVANCED OPTIONS
376+
prompt: SOFTWARE LIST
377+
description: Use MAME software lists to identify ROM
378+
choices:
379+
Don't Use (Default): none
380+
Amstrad PCW disk images: pcw
381+
altmodel:
382+
prompt: PCW MODEL
383+
description: Select model to emulate
384+
choices:
385+
PCW8256 - 256KB (default): pcw8256
386+
PCW8512 - 512KB: pcw8512
387+
PCW9256 - 256KB: pcw9256
388+
PCW9512 - 512KB: pcw9512
389+
PCW10 - 512KB: pcw10
390+
altromtype:
391+
group: ADVANCED OPTIONS
392+
prompt: MEDIA TYPE
393+
description: Type of ROM file to load.
394+
choices:
395+
Disk (Drive A): flop
396+
enableui:
397+
group: ADVANCED OPTIONS
398+
prompt: UI KEYS
399+
description: Toggle with hotkey + D-pad up or Scroll Lock in-game.
400+
choices:
401+
Off at Start: 0
402+
On at Start: 1
403+
pergamecfg:
404+
group: ADVANCED OPTIONS
405+
prompt: CUSTOM GAME CONFIG
406+
description: Enable per-game custom configuration via MAME menu.
407+
choices:
408+
"On": 1
409+
"Off": 0
370410
- name: bbc
371411
features:
372412
- padtokeyboard
@@ -530,6 +570,22 @@ systems:
530570
choices:
531571
"On": 1
532572
"Off": 0
573+
- name: ctvboy
574+
custom_features:
575+
softList:
576+
group: ADVANCED OPTIONS
577+
prompt: SOFTWARE LIST
578+
description: Use MAME software lists to identify ROM
579+
choices:
580+
Don't Use (Default): none
581+
Gakken Compact Vision TV Boy cartridges: ctvboy
582+
pergamecfg:
583+
group: ADVANCED OPTIONS
584+
prompt: CUSTOM GAME CONFIG
585+
description: Enable per-game custom configuration via MAME menu.
586+
choices:
587+
"On": 1
588+
"Off": 0
533589
- name: electron
534590
features:
535591
- padtokeyboard

package/batocera/emulators/retroarch/libretro/libretro-mame/mame.libretro.core.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,44 @@ systems:
363363
choices:
364364
'On': 1
365365
'Off': 0
366+
- name: pcw
367+
custom_features:
368+
softList:
369+
group: ADVANCED OPTIONS
370+
prompt: SOFTWARE LIST
371+
description: Use MAME software lists to identify ROM
372+
choices:
373+
Don't Use (Default): none
374+
Amstrad PCW disk images: pcw
375+
altmodel:
376+
prompt: PCW MODEL
377+
description: Select model to emulate
378+
choices:
379+
PCW8256 - 256KB (default): pcw8256
380+
PCW8512 - 512KB: pcw8512
381+
PCW9256 - 256KB: pcw9256
382+
PCW9512 - 512KB: pcw9512
383+
PCW10 - 512KB: pcw10
384+
altromtype:
385+
group: ADVANCED OPTIONS
386+
prompt: MEDIA TYPE
387+
description: Type of ROM file to load.
388+
choices:
389+
Disk (Drive A): flop
390+
enableui:
391+
group: ADVANCED OPTIONS
392+
prompt: UI KEYS
393+
description: Toggle with hotkey + D-pad up or Scroll Lock in-game.
394+
choices:
395+
Off at Start: 0
396+
On at Start: 1
397+
pergamecfg:
398+
group: ADVANCED OPTIONS
399+
prompt: CUSTOM GAME CONFIG
400+
description: Enable per-game custom configuration via MAME menu.
401+
choices:
402+
'On': 1
403+
'Off': 0
366404
- name: bbc
367405
custom_features:
368406
sticktype:
@@ -540,6 +578,22 @@ systems:
540578
choices:
541579
'On': 1
542580
'Off': 0
581+
- name: ctvboy
582+
custom_features:
583+
softList:
584+
group: ADVANCED OPTIONS
585+
prompt: SOFTWARE LIST
586+
description: Use MAME software lists to identify ROM
587+
choices:
588+
Don't Use (Default): none
589+
Gakken Compact Vision TV Boy cartridges: ctvboy
590+
pergamecfg:
591+
group: ADVANCED OPTIONS
592+
prompt: CUSTOM GAME CONFIG
593+
description: Enable per-game custom configuration via MAME menu.
594+
choices:
595+
'On': 1
596+
'Off': 0
543597
- name: electron
544598
custom_features:
545599
softList:

0 commit comments

Comments
 (0)