Skip to content

Commit aee3c40

Browse files
committed
Robson's 1.92.1 source code commit
1 parent 6ee3a0f commit aee3c40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+3061
-15775
lines changed

ChangeLog

+43
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
1.91.16 (2017-11-02) (PSP)
2+
* Fix some bugs in SMS games (e.g.: Star Wars collision dections fails)
3+
4+
1.91.16 (2017-10-15) (PSP)
5+
* Fix and reuse of the assembly memory manager (the best in speed and compatibility)
6+
* Changes in the lower limits of the screen ratio
7+
8+
1.91 (2017-09-28) (PSP)
9+
- Revert to C code for memory handler (SRam don't work with asm MIPS version)
10+
11+
1.91 (2017-08-26) (PSP)
12+
* Fixed bug in clock time
13+
* Better support for suspension and wakeup (still having problems for sega cd games)
14+
+ This file included in pack
15+
16+
1.91 (2017-08-12) (PSP)
17+
* Re-added gamma and black level adjust festures
18+
19+
1.91 (2017-05-22) (PSP)
20+
* Fix some freezes for SVP dynarec (-2FPS)
21+
22+
1.91 (2016-12-23) (PSP)
23+
+ Less instructions for SVP dynarec (+5FPS)
24+
- Revert to C code for Yamaha sound chip (best peformance)
25+
26+
1.91 (2016-12-16) (PSP)
27+
* Reverting to how to list the roms of version 1.51b
28+
* Changed build from 'libretro' branch to 'master' branch
29+
30+
1.91 (2016-12-13) (PSP)
31+
+ Asm code for Yamaha sound chip
32+
+ Option for Sega CD CPUs sync (speed-up for some games)
33+
34+
1.91 (2016-12-07) (PSP)
35+
* Bug fixes in interface, renderer, Sega CD audio and PSP SVP dynarec
36+
+ SVP dynarec for PSP (mirror tracks don't work)
37+
+ Option to keep sound while slowdown
38+
+ More screen size options (PSP)
39+
* Re-added vsync options
40+
+ SVP cycles option
41+
+ More asm code for PSP version (renderer and memory)
42+
+ Revived PSP support (Robson Santana).
43+
144
1.91 (2013-10-12)
245
+ Added OpenDingux support (Paul Cercueil).
346
* Save directory changed to ~/.picodrive/ for generic platform build

Makefile

+21-29
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
TARGET ?= PicoDrive
2-
DEBUG ?= 0
3-
CFLAGS += -Wall -g
2+
CFLAGS += -Wall -ggdb -falign-functions=2
43
CFLAGS += -I.
5-
ifeq "$(DEBUG)" "0"
6-
CFLAGS += -O3 -DNDEBUG
4+
ifndef DEBUG
5+
CFLAGS += -O3 -DNDEBUG -ffunction-sections
6+
ifeq ($(findstring clang,$(CC)),)
7+
LDFLAGS += -Wl,--gc-sections
78
endif
8-
9-
# This is actually needed, bevieve me.
10-
# If you really have to disable this, set NO_ALIGN_FUNCTIONS elsewhere.
11-
ifndef NO_ALIGN_FUNCTIONS
12-
CFLAGS += -falign-functions=2
139
endif
10+
#CFLAGS += -DEVT_LOG
11+
#CFLAGS += -DDRC_CMP
12+
#cpu_cmp = 1
13+
#drc_debug = 7
14+
#profile = 1
15+
1416

1517
all: config.mak target_
1618

@@ -45,13 +47,15 @@ asm_mix ?= 1
4547
else # if not arm
4648
use_fame ?= 1
4749
use_cz80 ?= 1
48-
ifneq (,$(findstring 86,$(ARCH)))
49-
use_sh2drc ?= 1
50-
endif
5150
endif
5251

5352
-include Makefile.local
5453

54+
ifneq "$(use_cyclone)" "1"
55+
# due to CPU stop flag access
56+
asm_cdmemory = 0
57+
endif
58+
5559
ifeq "$(PLATFORM)" "opendingux"
5660
opk: $(TARGET).opk
5761

@@ -70,13 +74,7 @@ endif
7074
ifeq ("$(PLATFORM)",$(filter "$(PLATFORM)","rpi1" "rpi2"))
7175
CFLAGS += -DHAVE_GLES -DRASPBERRY
7276
CFLAGS += -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads/ -I/opt/vc/include/interface/vmcs_host/linux/
73-
LDFLAGS += -ldl -lbcm_host -L/opt/vc/lib
74-
# Stupid renaming occured in latest raspbian...
75-
ifneq (,$(wildcard /opt/vc/lib/libbrcmGLESv2.so))
76-
LDFLAGS += -lbrcmEGL -lbrcmGLESv2
77-
else
78-
LDFLAGS += -lEGL -lGLESv2
79-
endif
77+
LDFLAGS += -ldl -lbcm_host -L/opt/vc/lib -lEGL -lGLESv2
8078
OBJS += platform/linux/emu.o platform/linux/blit.o # FIXME
8179
OBJS += platform/common/plat_sdl.o
8280
OBJS += platform/libpicofe/plat_sdl.o platform/libpicofe/in_sdl.o
@@ -121,7 +119,7 @@ USE_FRONTEND = 1
121119
PLATFORM_MP3 = 1
122120
endif
123121
ifeq "$(PLATFORM)" "libretro"
124-
OBJS += platform/libretro/libretro.o
122+
OBJS += platform/libretro.o
125123
endif
126124

127125
ifeq "$(USE_FRONTEND)" "1"
@@ -191,11 +189,7 @@ clean:
191189
$(RM) -r .opk_data
192190

193191
$(TARGET): $(OBJS)
194-
ifeq ($(STATIC_LINKING), 1)
195-
$(AR) rcs $@ $^
196-
else
197192
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS)
198-
endif
199193

200194
pprof: platform/linux/pprof.c
201195
$(CC) -O2 -ggdb -DPPROF -DPPROF_TOOL -I../../ -I. $^ -o $@
@@ -223,19 +217,17 @@ pico/cd/gfx_cd.o: CFLAGS += -fno-strict-aliasing
223217
# on x86, this is reduced by ~300MB when debug info is off (but not on ARM)
224218
# not using O3 and -fno-expensive-optimizations seems to also help, but you may
225219
# want to remove this stuff for better performance if your compiler can handle it
226-
ifeq "$(DEBUG)" "0"
220+
ifndef DEBUG
227221
cpu/fame/famec.o: CFLAGS += -g0 -O2 -fno-expensive-optimizations
228222
endif
229223

230224
pico/carthw_cfg.c: pico/carthw.cfg
231225
tools/make_carthw_c $< $@
232226

233227
# random deps
234-
pico/carthw/svp/compiler.o : cpu/drc/emit_arm.c
235-
cpu/sh2/compiler.o : cpu/drc/emit_arm.c
236-
cpu/sh2/compiler.o : cpu/drc/emit_x86.c
228+
pico/carthw/svp/compiler.o : cpu/drc/emit_$(ARCH).c
229+
cpu/sh2/compiler.o : cpu/drc/emit_$(ARCH).c
237230
cpu/sh2/mame/sh2pico.o : cpu/sh2/mame/sh2.c
238231
pico/pico.o pico/cd/mcd.o pico/32x/32x.o : pico/pico_cmn.c pico/pico_int.h
239232
pico/memory.o pico/cd/memory.o pico/32x/memory.o : pico/pico_int.h pico/memory.h
240-
# pico/cart.o : pico/carthw_cfg.c
241233
cpu/fame/famec.o: cpu/fame/famec.c cpu/fame/famec_opcodes.h

0 commit comments

Comments
 (0)