Add fr500/dosbox-svn core
This commit is contained in:
parent
f8791962fd
commit
a855229f18
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -97,3 +97,6 @@
|
|||
[submodule "libretro/cores/mu/upstream"]
|
||||
path = libretro/cores/mu/upstream
|
||||
url = https://github.com/meepingsnesroms/Mu.git
|
||||
[submodule "libretro/cores/dosbox-svn/upstream"]
|
||||
path = libretro/cores/dosbox-svn/upstream
|
||||
url = https://github.com/fr500/dosbox-svn
|
||||
|
|
38
libretro/cores/dosbox-svn/Tuprules.tup
Normal file
38
libretro/cores/dosbox-svn/Tuprules.tup
Normal file
|
@ -0,0 +1,38 @@
|
|||
CORE_PKGS += stdcxx libm
|
||||
NO_UNDEFINED =
|
||||
# Uses Genode API to create secondary stack
|
||||
#LIBRETRO_COMM_DIR =
|
||||
|
||||
|
||||
ifeq (@(TUP_ARCH),x86_64)
|
||||
WITH_DYNAREC = x86_64
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_DYNAREC),)
|
||||
error dynamic recompiler not configured for @(TUP_ARCH)
|
||||
endif
|
||||
|
||||
WITH_FAKE_SDL = 1
|
||||
include upstream/libretro/Makefile.common
|
||||
|
||||
DEFINES += -O2 -DNDEBUG -D__GENODE__ -DWITH_FAKE_SDL
|
||||
DEFINES += -DDB_HAVE_CLOCK_GETTIME
|
||||
DEFINES += $(COMMONFLAGS)
|
||||
|
||||
DEFINES += -DHAVE_MMAP
|
||||
# Use anonymous mmap to allocate executable memory pages
|
||||
|
||||
SOURCES_CXX += $(LIBRETRO_COMM_DIR)/libco/genode.cpp
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !collect_bin |>
|
||||
: |> !bin |>
|
||||
|
||||
PKG_DEPENDS += \
|
||||
@(SDK_USER)/src/stdcxx/@(SDK_VERSION) \
|
||||
|
||||
: $(TUP_CWD)/runtime |> !collect_pkg_runtime |>
|
||||
: |> !pkg |>
|
30
libretro/cores/dosbox-svn/runtime
Normal file
30
libretro/cores/dosbox-svn/runtime
Normal file
|
@ -0,0 +1,30 @@
|
|||
<runtime ram="128M" caps="192" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
<rtc/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config ld_verbose="yes">
|
||||
<game path="/fs/dosbox.conf"/>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||
<vfs>
|
||||
<dir name="fs"> <fs/> </dir>
|
||||
<dir name="dev"> <log label="core"/> <rtc/> </dir>
|
||||
</vfs>
|
||||
<default-controller port="0" device="771"/>
|
||||
</config>
|
||||
|
||||
</runtime>
|
1
libretro/cores/dosbox-svn/upstream
Submodule
1
libretro/cores/dosbox-svn/upstream
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit db2873d89fd5220b50592572a96a05674c9b09ae
|
Loading…
Reference in New Issue
Block a user