Skip to content

Commit c987e4a

Browse files
committed
DICE emulator for machines without a CPU.
1 parent 6a0272d commit c987e4a

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed

platforms.cfg

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ amstradcpc_fullname="Amstrad CPC"
1313
apple2_exts=".po .dsk .nib"
1414
apple2_fullname="Apple II"
1515

16-
arcade_exts=".7z .cue .fba .iso .zip"
16+
arcade_exts=".7z .cue .dmy .fba .iso .zip"
1717
arcade_fullname="Arcade"
1818

1919
arcadia_exts=".bin .zip"
@@ -60,6 +60,10 @@ crvision_fullname="CreatiVision"
6060
daphne_exts=".daphne .ogv"
6161
daphne_fullname="Daphne"
6262

63+
dice_exts=".dmy .zip"
64+
dice_fullname="DICE"
65+
dice_platform="arcade"
66+
6367
dragon32_exts=".bin .cas .wav .bas .asc .dmk .jvc .os9 .dsk .vdk .rom .ccc .sna"
6468
dragon32_fullname="Dragon 32"
6569

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/usr/bin/env bash
2+
3+
# This file is part of The RetroPie Project
4+
#
5+
# The RetroPie Project is the legal property of its developers, whose names are
6+
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
7+
#
8+
# See the LICENSE.md file at the top-level directory of this distribution and
9+
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
10+
#
11+
12+
rp_module_id="lr-dice"
13+
rp_module_desc="Discrete Integrated Circuit Emulator for machines without a CPU - DICE core for libretro"
14+
rp_module_help="ROM Extensions: .zip .dmy\n\nCopy your DICE TTL roms to either $romdir/arcade or $romdir/dice"
15+
rp_module_licence="GPL3 https://raw.githubusercontent.com/mittonk/dice-libretro/main/LICENSE.txt"
16+
rp_module_repo="git https://github.com/mittonk/dice-libretro.git main"
17+
rp_module_section="opt"
18+
19+
function depends_lr-dice() {
20+
getDepends zlib1g-dev
21+
}
22+
23+
function sources_lr-dice() {
24+
gitPullOrClone
25+
}
26+
27+
function build_lr-dice() {
28+
make clean
29+
make
30+
md_ret_require="$md_build/dice_libretro.so"
31+
}
32+
33+
function install_lr-dice() {
34+
md_ret_files=(
35+
'README.md'
36+
'dice_libretro.so'
37+
'LICENSE.txt'
38+
)
39+
}
40+
41+
function configure_lr-dice() {
42+
local system
43+
for system in arcade dice; do
44+
mkRomDir "$system"
45+
defaultRAConfig "$system"
46+
addEmulator 0 "$md_id" "$system" "$md_inst/dice_libretro.so"
47+
addSystem "$system"
48+
done
49+
}

0 commit comments

Comments
 (0)