pcsx_rearmed.git
11 years agocdrom: keep savestate compat
notaz [Sun, 30 Dec 2012 01:40:17 +0000 (03:40 +0200)]
cdrom: keep savestate compat

11 years agocdrom: clean up subq handling
notaz [Sun, 30 Dec 2012 01:02:43 +0000 (03:02 +0200)]
cdrom: clean up subq handling

keep track of it at all times

11 years agocdrom: clean up play command handling
notaz [Fri, 28 Dec 2012 01:30:19 +0000 (03:30 +0200)]
cdrom: clean up play command handling

Once again, based on mednafen/nocash.

11 years agocdrom: rework seek hack
notaz [Fri, 28 Dec 2012 00:15:29 +0000 (02:15 +0200)]
cdrom: rework seek hack

11 years agofrontend: remove unneeded hack options
notaz [Thu, 27 Dec 2012 02:34:56 +0000 (04:34 +0200)]
frontend: remove unneeded hack options

11 years agocdrom: cleanup irq reschedule and pause hacks
notaz [Thu, 27 Dec 2012 02:33:25 +0000 (04:33 +0200)]
cdrom: cleanup irq reschedule and pause hacks

11 years agocdrom: cleanup various hacks
notaz [Thu, 27 Dec 2012 02:03:14 +0000 (04:03 +0200)]
cdrom: cleanup various hacks

Most decisions were made based on Mednafen source on Nocash doc,
so all credits for hardware info go to Ryphecha/Nocash.
A few things confirmed on real hardware by me.

11 years agocdrom: cleanup logging
notaz [Thu, 27 Dec 2012 00:48:49 +0000 (02:48 +0200)]
cdrom: cleanup logging

11 years agocdrom: tune and log stat hack
notaz [Thu, 27 Dec 2012 00:24:06 +0000 (02:24 +0200)]
cdrom: tune and log stat hack

11 years agocdrom: fix irq check
notaz [Thu, 27 Dec 2012 00:21:55 +0000 (02:21 +0200)]
cdrom: fix irq check

11 years agoconfigure: handle ARM machine names with version
notaz [Wed, 26 Dec 2012 20:50:29 +0000 (22:50 +0200)]
configure: handle ARM machine names with version

like armv6l-unknown-linux-gnueabihf in Arch Linux

11 years agoconfigure: detect common mistakes
notaz [Sun, 23 Dec 2012 01:44:45 +0000 (03:44 +0200)]
configure: detect common mistakes

11 years agodrc: fix bugs in armv4 codepath
notaz [Sun, 23 Dec 2012 01:07:18 +0000 (03:07 +0200)]
drc: fix bugs in armv4 codepath

wasn't even passing BIOS because of them..

11 years agofrontend: fix pulseaudio, detect it in configure script
notaz [Sun, 23 Dec 2012 00:21:53 +0000 (02:21 +0200)]
frontend: fix pulseaudio, detect it in configure script

11 years agobump libpicofe for r-pi gl code
notaz [Sat, 22 Dec 2012 01:12:58 +0000 (03:12 +0200)]
bump libpicofe for r-pi gl code

11 years agofrontend: switch to libpicofe sdl code
notaz [Thu, 20 Dec 2012 22:52:07 +0000 (00:52 +0200)]
frontend: switch to libpicofe sdl code

11 years agowarning fix
notaz [Thu, 20 Dec 2012 22:32:59 +0000 (00:32 +0200)]
warning fix

11 years agolibretro: support savestates and cheats
notaz [Mon, 17 Dec 2012 00:02:10 +0000 (02:02 +0200)]
libretro: support savestates and cheats

cheats untested

11 years agomake non-zlib save compression possible
notaz [Sun, 16 Dec 2012 19:22:32 +0000 (21:22 +0200)]
make non-zlib save compression possible

11 years agolibretro: check for CAN_DUPE, as suggested by ToadKing
notaz [Sun, 16 Dec 2012 18:07:50 +0000 (20:07 +0200)]
libretro: check for CAN_DUPE, as suggested by ToadKing

11 years agodfxvideo: don't build Xv version (no longer used)
notaz [Sun, 16 Dec 2012 17:51:04 +0000 (19:51 +0200)]
dfxvideo: don't build Xv version (no longer used)

11 years agolibretro: handle borders
notaz [Tue, 11 Dec 2012 00:20:42 +0000 (02:20 +0200)]
libretro: handle borders

11 years agomisc: make error message remind about common mistake
notaz [Mon, 10 Dec 2012 23:46:30 +0000 (01:46 +0200)]
misc: make error message remind about common mistake

11 years agolibretro: set cycle_multiplier
notaz [Mon, 10 Dec 2012 23:37:33 +0000 (01:37 +0200)]
libretro: set cycle_multiplier

11 years agoMerge branch 'libretro'
notaz [Mon, 10 Dec 2012 21:41:06 +0000 (23:41 +0200)]
Merge branch 'libretro'

Conflicts:
frontend/libretro.c

11 years agolibretro: minor cleanups
notaz [Mon, 10 Dec 2012 16:42:13 +0000 (18:42 +0200)]
libretro: minor cleanups

11 years agolibretro: only pass fb to video_cb when it's updated
notaz [Mon, 10 Dec 2012 01:38:46 +0000 (03:38 +0200)]
libretro: only pass fb to video_cb when it's updated

11 years agoupdate .gitignore
Toad King [Wed, 5 Dec 2012 00:26:23 +0000 (19:26 -0500)]
update .gitignore

11 years agolibretro: initialize blank memory card
Toad King [Wed, 5 Dec 2012 00:26:09 +0000 (19:26 -0500)]
libretro: initialize blank memory card

11 years agolibretro: Move flip screen counter increment back to end of flip screen callback
twinaphex [Tue, 4 Dec 2012 15:38:01 +0000 (16:38 +0100)]
libretro: Move flip screen counter increment back to end of flip screen callback

11 years agolibretro: call video_cb on every frame
twinaphex [Tue, 4 Dec 2012 13:36:01 +0000 (14:36 +0100)]
libretro: call video_cb on every frame

We need to do video_cb in retro_run every frame instead of
just once every time the video callback is called - otherwise
we will get very bad/skippy framerates.
Performance is much improved now in nearly all games.

11 years agolibretro: make RGB565 support into compile-time option
twinaphex [Tue, 4 Dec 2012 13:16:34 +0000 (14:16 +0100)]
libretro: make RGB565 support into compile-time option

all libretro frontends should support this no matter what

11 years agolibretro: use SRAM saving routines for memory card.
Toad King [Sun, 2 Dec 2012 19:36:18 +0000 (14:36 -0500)]
libretro: use SRAM saving routines for memory card.

force only one memory card for libretro

11 years agopipe error messages through single function
notaz [Sun, 9 Dec 2012 17:58:34 +0000 (19:58 +0200)]
pipe error messages through single function

for easier redirection to file, logcat or whatever

11 years agoavoid bogus warning
notaz [Sun, 9 Dec 2012 17:26:15 +0000 (19:26 +0200)]
avoid bogus warning

11 years agoconfigure: set float-abi even without armv6
notaz [Fri, 7 Dec 2012 00:16:18 +0000 (02:16 +0200)]
configure: set float-abi even without armv6

11 years agofrontend: fix clean libretro build
notaz [Sun, 2 Dec 2012 00:43:40 +0000 (02:43 +0200)]
frontend: fix clean libretro build

11 years agorm x86 and ppc dynarec remains
notaz [Sat, 1 Dec 2012 22:36:34 +0000 (00:36 +0200)]
rm x86 and ppc dynarec remains

that code is broken and unmaintained in this fork, which now relies on
new_dynarec instead. It's better to merge Ari64's new_dynarec x86 code
if x86 support is desired.

11 years agoimprove ARM feature detection
notaz [Fri, 30 Nov 2012 00:53:25 +0000 (02:53 +0200)]
improve ARM feature detection

11 years agomave plugin and core shared includes to single location
notaz [Fri, 30 Nov 2012 00:51:45 +0000 (02:51 +0200)]
mave plugin and core shared includes to single location

11 years agofrontend: pollux: use sections for memory
notaz [Tue, 27 Nov 2012 19:42:04 +0000 (21:42 +0200)]
frontend: pollux: use sections for memory

11 years agoclean up mmap hacks
notaz [Tue, 27 Nov 2012 15:08:39 +0000 (17:08 +0200)]
clean up mmap hacks

still messy but perhaps beter

11 years agofrontend: remove res check
notaz [Tue, 27 Nov 2012 01:07:44 +0000 (03:07 +0200)]
frontend: remove res check

it's already done at the upper level, and this was wrong anyway
because plat_gvideo_set_mode can change vout_w and vout_h

11 years agofrontend: update caanoo port
notaz [Tue, 27 Nov 2012 01:07:07 +0000 (03:07 +0200)]
frontend: update caanoo port

11 years agorelease r17 r17
notaz [Sat, 24 Nov 2012 02:22:51 +0000 (04:22 +0200)]
release r17

11 years agodrop bzlib dependency
notaz [Sat, 24 Nov 2012 02:22:03 +0000 (04:22 +0200)]
drop bzlib dependency

it turns out it's not needed.

11 years agoinitial Android support
Toad King [Fri, 26 Oct 2012 19:46:29 +0000 (15:46 -0400)]
initial Android support

11 years agogpulib: check mode change on blank
notaz [Fri, 23 Nov 2012 09:44:54 +0000 (11:44 +0200)]
gpulib: check mode change on blank

11 years agocdrom: try different seeking approach
notaz [Fri, 23 Nov 2012 01:33:21 +0000 (03:33 +0200)]
cdrom: try different seeking approach

11 years agospu: fix saving bug
notaz [Thu, 22 Nov 2012 00:48:19 +0000 (02:48 +0200)]
spu: fix saving bug

fixup on load too

11 years agofix some more 32/64bit incompatibilities
notaz [Wed, 21 Nov 2012 22:18:21 +0000 (00:18 +0200)]
fix some more 32/64bit incompatibilities

11 years agofrontend: allow sstates without cd img
notaz [Wed, 21 Nov 2012 22:48:51 +0000 (00:48 +0200)]
frontend: allow sstates without cd img

11 years agogte: avoid fno-strict-aliasing
notaz [Wed, 21 Nov 2012 01:51:26 +0000 (03:51 +0200)]
gte: avoid fno-strict-aliasing

11 years agofix various warnings
notaz [Wed, 21 Nov 2012 01:47:35 +0000 (03:47 +0200)]
fix various warnings

the idea here was to disable them to avoid drifting from pcsx-reloaded,
but there doesn't seems to be much need for syncing.

11 years agofix ARM build with --disable-dynarec
notaz [Wed, 21 Nov 2012 01:11:59 +0000 (03:11 +0200)]
fix ARM build with --disable-dynarec

11 years agoplugins: drop arch filename extensions
notaz [Wed, 21 Nov 2012 00:38:10 +0000 (02:38 +0200)]
plugins: drop arch filename extensions

they do more harm than good

11 years agofrontend: pcnt: support arm11
notaz [Mon, 19 Nov 2012 01:08:06 +0000 (03:08 +0200)]
frontend: pcnt: support arm11

11 years agofrontend: sdl: autodisable overlay if not accelerated
notaz [Sun, 18 Nov 2012 22:29:24 +0000 (00:29 +0200)]
frontend: sdl: autodisable overlay if not accelerated

just tried it on r-pi, it's just way too slow

11 years agodfsound: add PulseAudio workaround
notaz [Sun, 18 Nov 2012 22:23:45 +0000 (00:23 +0200)]
dfsound: add PulseAudio workaround

11 years agofrontend: pcnt: use gettimeofday
notaz [Sat, 17 Nov 2012 23:39:24 +0000 (01:39 +0200)]
frontend: pcnt: use gettimeofday

better than nothing

11 years agofrontend: overlay improvements
notaz [Sat, 17 Nov 2012 22:31:30 +0000 (00:31 +0200)]
frontend: overlay improvements

work directly on psx vram

11 years agofrontend: initial sdl overlay implementation
notaz [Sat, 17 Nov 2012 00:09:49 +0000 (02:09 +0200)]
frontend: initial sdl overlay implementation

11 years agospu: stop at 0 volume
notaz [Thu, 15 Nov 2012 22:30:32 +0000 (00:30 +0200)]
spu: stop at 0 volume

11 years agocdrom: some subq hacks
notaz [Tue, 13 Nov 2012 23:33:27 +0000 (01:33 +0200)]
cdrom: some subq hacks

11 years agofix gun handling in enhancement mode
notaz [Tue, 13 Nov 2012 17:19:36 +0000 (19:19 +0200)]
fix gun handling in enhancement mode

11 years agofix some random corner cases
notaz [Tue, 13 Nov 2012 00:28:41 +0000 (02:28 +0200)]
fix some random corner cases

11 years agocdrom: only need to read for cdda
notaz [Tue, 13 Nov 2012 00:04:52 +0000 (02:04 +0200)]
cdrom: only need to read for cdda

otherwise it's already there?

11 years agoworkaround pandora hugetlb bug, revert this later
notaz [Mon, 12 Nov 2012 23:27:47 +0000 (01:27 +0200)]
workaround pandora hugetlb bug, revert this later

11 years agopsx_gpu: fix interlace mode
notaz [Mon, 12 Nov 2012 22:53:57 +0000 (00:53 +0200)]
psx_gpu: fix interlace mode

11 years agofrontend: add toggle FPS option
notaz [Sun, 11 Nov 2012 19:18:41 +0000 (21:18 +0200)]
frontend: add toggle FPS option

11 years agofrontend: move text drawing to libpicofe
notaz [Sun, 11 Nov 2012 19:01:43 +0000 (21:01 +0200)]
frontend: move text drawing to libpicofe

+ some minor fixes

11 years agorelease r16 r16
notaz [Sat, 10 Nov 2012 21:11:15 +0000 (23:11 +0200)]
release r16

11 years agofrontend: avoid loading msg when not needed
notaz [Sat, 10 Nov 2012 20:23:37 +0000 (22:23 +0200)]
frontend: avoid loading msg when not needed

11 years agopsxcounters: refresh internal state after savestate load
notaz [Sat, 10 Nov 2012 20:06:12 +0000 (22:06 +0200)]
psxcounters: refresh internal state after savestate load

fixes some glitching after pre-r14 save load

11 years agofrontend: change nub_adjust ranges
notaz [Fri, 9 Nov 2012 23:42:28 +0000 (01:42 +0200)]
frontend: change nub_adjust ranges

11 years agofrontend: improve pandora nub to PSX analog mapping
notaz [Fri, 9 Nov 2012 23:14:46 +0000 (01:14 +0200)]
frontend: improve pandora nub to PSX analog mapping

11 years agofrontend: make platform menu customizations more explicit
notaz [Tue, 6 Nov 2012 01:37:53 +0000 (03:37 +0200)]
frontend: make platform menu customizations more explicit

11 years agofrontend: add fast forward support
notaz [Tue, 6 Nov 2012 00:36:42 +0000 (02:36 +0200)]
frontend: add fast forward support

11 years agosort out 32/64bit savestate compat issues
notaz [Mon, 5 Nov 2012 01:11:29 +0000 (03:11 +0200)]
sort out 32/64bit savestate compat issues

11 years agodrop some unused code
notaz [Sun, 4 Nov 2012 23:23:29 +0000 (01:23 +0200)]
drop some unused code

11 years agodetect undefined symbols early
notaz [Sun, 4 Nov 2012 22:58:51 +0000 (00:58 +0200)]
detect undefined symbols early

11 years agoswitch over to libpicofe
notaz [Sun, 4 Nov 2012 22:28:57 +0000 (00:28 +0200)]
switch over to libpicofe

- libretro should not be affected by this, all others need to do
  'git submodule init && git submodule update' from now on.
- pandora should get gamma control support

11 years agohandle bad cd images better
notaz [Sun, 4 Nov 2012 00:29:54 +0000 (02:29 +0200)]
handle bad cd images better

11 years agocdriso: don't play data track
notaz [Sat, 3 Nov 2012 22:07:31 +0000 (00:07 +0200)]
cdriso: don't play data track

some refactoring too

11 years agocdrom: read subq directly, not from thread
notaz [Sat, 3 Nov 2012 20:06:31 +0000 (22:06 +0200)]
cdrom: read subq directly, not from thread

thread is doing 10 sectors at once, not that accurate..

11 years agopsx_gpu: change enh buffer selection once more
notaz [Sat, 3 Nov 2012 18:40:32 +0000 (20:40 +0200)]
psx_gpu: change enh buffer selection once more

11 years agoMerge branch 'enhancement'
notaz [Fri, 2 Nov 2012 01:07:05 +0000 (03:07 +0200)]
Merge branch 'enhancement'

Conflicts:
frontend/libretro.c

11 years agofrontend: make text bg dark
notaz [Thu, 1 Nov 2012 18:11:39 +0000 (20:11 +0200)]
frontend: make text bg dark

11 years agopsx_gpu: rework enhancement buffer selection
notaz [Thu, 1 Nov 2012 17:03:27 +0000 (19:03 +0200)]
psx_gpu: rework enhancement buffer selection

11 years agomove blit to core, allow filtering while blitting
notaz [Sun, 28 Oct 2012 23:08:35 +0000 (01:08 +0200)]
move blit to core, allow filtering while blitting

also adds libpicofe to pull filters from, and filter related UI stuff

11 years agopsx_gpu: workaround overflow crash
notaz [Sun, 28 Oct 2012 14:32:24 +0000 (16:32 +0200)]
psx_gpu: workaround overflow crash

rare corner case

11 years agopsx_gpu: add some preloads
notaz [Sat, 27 Oct 2012 19:18:36 +0000 (22:18 +0300)]
psx_gpu: add some preloads

seem to be helpful for enhancement

11 years agopsx_gpu: implement setup_sprite_untextured in asm
notaz [Sat, 27 Oct 2012 19:14:16 +0000 (22:14 +0300)]
psx_gpu: implement setup_sprite_untextured in asm

11 years agogpu: move enhacement logic out of vout_pl
notaz [Mon, 22 Oct 2012 21:34:30 +0000 (00:34 +0300)]
gpu: move enhacement logic out of vout_pl

11 years agopsx_gpu: select buffers differently
notaz [Sun, 21 Oct 2012 22:42:56 +0000 (01:42 +0300)]
psx_gpu: select buffers differently

this handles weird drawing areas better

11 years agoMerge pull request #3 from libretro/master
notaz [Tue, 23 Oct 2012 11:48:41 +0000 (04:48 -0700)]
Merge pull request #3 from libretro/master

RGB565 support

11 years agorgb565 fix
ToadKing [Tue, 23 Oct 2012 01:37:07 +0000 (21:37 -0400)]
rgb565 fix

11 years agoAdd RGB565 support
Toad King [Tue, 23 Oct 2012 00:59:01 +0000 (20:59 -0400)]
Add RGB565 support

11 years agopsx_gpu: change reciprocal table again
notaz [Sun, 21 Oct 2012 17:06:51 +0000 (20:06 +0300)]
psx_gpu: change reciprocal table again

otherwise something overflows somewhere and causes num_block overflow.
Also added debug code to cache that issue early.

11 years agopsx_gpu: consolidate C code, implement exnhancement asm
notaz [Sat, 20 Oct 2012 23:42:03 +0000 (02:42 +0300)]
psx_gpu: consolidate C code, implement exnhancement asm