pcsx_rearmed.git
9 years agorelease r6 r6
notaz [Thu, 10 Feb 2011 00:31:08 +0000 (02:31 +0200)]
release r6

9 years agodfxvideo: fix frameskip issue
notaz [Wed, 9 Feb 2011 23:16:49 +0000 (01:16 +0200)]
dfxvideo: fix frameskip issue

if display is never moved/resized, it's never updated in
frameskip mode. Detect this.

9 years agoadd cd swap functionality
notaz [Tue, 8 Feb 2011 16:21:17 +0000 (18:21 +0200)]
add cd swap functionality

9 years agofrontend: enable SPUIRQWait by default
notaz [Mon, 7 Feb 2011 23:32:53 +0000 (01:32 +0200)]
frontend: enable SPUIRQWait by default

9 years agospu: handle channels better in 'IRQ wait' case
notaz [Mon, 7 Feb 2011 23:27:36 +0000 (01:27 +0200)]
spu: handle channels better in 'IRQ wait' case

9 years agofrontend: support ingame actions (state load and such)
notaz [Mon, 7 Feb 2011 23:21:46 +0000 (01:21 +0200)]
frontend: support ingame actions (state load and such)

9 years agofrontend: key config: save it and make more intuitive
notaz [Sun, 6 Feb 2011 22:49:40 +0000 (00:49 +0200)]
frontend: key config: save it and make more intuitive

9 years agomaemo: update for recent changes, fix warnings
notaz [Sun, 6 Feb 2011 00:22:05 +0000 (02:22 +0200)]
maemo: update for recent changes, fix warnings

9 years agofrontend: support analog controller using nubs; some refactoring
notaz [Sat, 5 Feb 2011 23:27:48 +0000 (01:27 +0200)]
frontend: support analog controller using nubs; some refactoring

also enable frameskip by default, it makes the experience a bit
better on most games.

9 years agofrontend: redo frame skip/limiter yet again
notaz [Sat, 5 Feb 2011 00:31:47 +0000 (02:31 +0200)]
frontend: redo frame skip/limiter yet again

9 years agodrc: update memhandler according to pcsxr code
notaz [Fri, 4 Feb 2011 23:31:47 +0000 (01:31 +0200)]
drc: update memhandler according to pcsxr code

9 years agodrc: sync gte with interpreter
notaz [Fri, 4 Feb 2011 22:27:07 +0000 (00:27 +0200)]
drc: sync gte with interpreter

9 years agocdrom: remove cdrWrite3 reschedule
notaz [Sat, 5 Feb 2011 00:36:44 +0000 (02:36 +0200)]
cdrom: remove cdrWrite3 reschedule

shalma keeps adding and removing it, I think it does more harm then good

9 years agocdrom: backport fixes from pcsxr
notaz [Tue, 8 Feb 2011 15:11:42 +0000 (17:11 +0200)]
cdrom: backport fixes from pcsxr

shalma:
 - bios - no cd - fix hangs (diskerror)
 - fix cdlplay resume

9 years agomisc: backport pal detection from pcsxr
notaz [Fri, 4 Feb 2011 23:35:13 +0000 (01:35 +0200)]
misc: backport pal detection from pcsxr

9 years agopsxmem: backport fixes from pcsxr
notaz [Fri, 4 Feb 2011 23:14:40 +0000 (01:14 +0200)]
psxmem: backport fixes from pcsxr

shalma:
Duke Nukem - Land of Babes - psxmem.c
 - Clear correct dynarec area
 - Fixes Paradox intro crash
Dukes of Hazard 2 - psxhw.c
 - 32-bit spu write
 - fix engine noise

9 years agointerpreter: backport fixes from pcsxr
notaz [Fri, 4 Feb 2011 23:10:26 +0000 (01:10 +0200)]
interpreter: backport fixes from pcsxr

shalma:
 - (nhyone) fix load delay bgez, bgezal
Xenogears - psxinterpreter.c
 - lbu v1 - beq v1 = no load delay
 - fix battle loading (interpreter only)

9 years agodfsound: backport fixes from pcsxr
notaz [Wed, 9 Feb 2011 12:34:15 +0000 (14:34 +0200)]
dfsound: backport fixes from pcsxr

shalma:
- Align start addresses to 16-bytes
- (Hopkat) registers.c - External loop address align to 16 bytes
- SoundOff prevents new channel from starting
- fixes Jungle Book (buzzing loop hangs)

9 years agogte: backport fixes from pcsxr
notaz [Fri, 4 Feb 2011 22:09:39 +0000 (00:09 +0200)]
gte: backport fixes from pcsxr

shalma:
Lego Racers - gte.c
 - fix mfc2 r30 (and r29)
 - fixes main menu loading
Motor Toon Grand Prix 2 - gte.c
 - repair mtc2 - r7,r29
 - fixes disappearing objects
Valkyrie Profile - gte.c
 - use edgbla value of limH $1000
 - fixes world map loading
 - seems to work, unverified value
Tales of Destiny 2 - gte.c
 - repair SQR - IR output
 - fixes underwater lighting

9 years agodma: change timing back to 1.92 levels
notaz [Fri, 4 Feb 2011 13:51:42 +0000 (15:51 +0200)]
dma: change timing back to 1.92 levels

fixes X-Files, we'll see what it breaks

9 years agodrc: handle dummy reads in inline_readstub
notaz [Fri, 4 Feb 2011 13:10:07 +0000 (15:10 +0200)]
drc: handle dummy reads in inline_readstub

9 years agodfxvideo: fix word access macros
notaz [Thu, 3 Feb 2011 23:23:18 +0000 (01:23 +0200)]
dfxvideo: fix word access macros

9 years agomenu: don't override region, fix P.E.Op.S. frameskip
notaz [Thu, 3 Feb 2011 23:05:11 +0000 (01:05 +0200)]
menu: don't override region, fix P.E.Op.S. frameskip

9 years agospu: fix xa masking, was causing noise
notaz [Thu, 3 Feb 2011 21:56:14 +0000 (23:56 +0200)]
spu: fix xa masking, was causing noise

9 years agogpu_unai: support bgr888->rgb565 conversion for maemo
notaz [Fri, 4 Feb 2011 13:00:03 +0000 (15:00 +0200)]
gpu_unai: support bgr888->rgb565 conversion for maemo

9 years agodfxvideo: add bgr888->rgb565 converter for maemo port
notaz [Thu, 3 Feb 2011 21:37:20 +0000 (23:37 +0200)]
dfxvideo: add bgr888->rgb565 converter for maemo port

9 years agomaemo: clean up and integrate
notaz [Thu, 3 Feb 2011 14:02:36 +0000 (16:02 +0200)]
maemo: clean up and integrate

9 years agoMaemo frontend
Bonapart [Fri, 28 Jan 2011 17:04:12 +0000 (20:04 +0300)]
Maemo frontend

9 years agorelease r5 r5
notaz [Sun, 30 Jan 2011 23:59:54 +0000 (01:59 +0200)]
release r5

9 years agocdrcimg: support .bz/.znx/eboot formats
notaz [Sun, 30 Jan 2011 23:19:54 +0000 (01:19 +0200)]
cdrcimg: support .bz/.znx/eboot formats

not making use of extra .znx data or eboot TOCs yet.

9 years agospu: don't stop a channel by adsr if we have potential irq
notaz [Sat, 29 Jan 2011 17:47:46 +0000 (19:47 +0200)]
spu: don't stop a channel by adsr if we have potential irq

otherwise we might miss irqs

9 years agospu: cleanup build a bit
notaz [Sat, 29 Jan 2011 17:45:37 +0000 (19:45 +0200)]
spu: cleanup build a bit

9 years agodrc: fall back to interpreter on delay slot link reg dependencies
notaz [Fri, 28 Jan 2011 16:37:47 +0000 (18:37 +0200)]
drc: fall back to interpreter on delay slot link reg dependencies

perhaps until someone implements this in recompiler
used by Tomb Raider 2 at least

9 years agocdrom: support cdda playback cursor and autopause/report
notaz [Fri, 28 Jan 2011 15:30:01 +0000 (17:30 +0200)]
cdrom: support cdda playback cursor and autopause/report

some differences from PCSX-Reloaded version

9 years agofrontend: remove bad configs
notaz [Wed, 26 Jan 2011 22:35:04 +0000 (00:35 +0200)]
frontend: remove bad configs

9 years agogpu_unai: fix P.E.Op.S. save compatibility for good
notaz [Wed, 26 Jan 2011 22:18:03 +0000 (00:18 +0200)]
gpu_unai: fix P.E.Op.S. save compatibility for good

9 years agodrc: invalidate RAM mirrors correctly
notaz [Wed, 26 Jan 2011 16:31:27 +0000 (18:31 +0200)]
drc: invalidate RAM mirrors correctly

9 years agodrc: handle $ra accesses in DS (BxxZAL case only)
notaz [Wed, 26 Jan 2011 13:18:17 +0000 (15:18 +0200)]
drc: handle $ra accesses in DS (BxxZAL case only)

also restore asserts for rjump and ujump cases.

9 years agocdriso: adjust getTD and getStatus to pcsxr-svn
notaz [Tue, 25 Jan 2011 23:18:53 +0000 (01:18 +0200)]
cdriso: adjust getTD and getStatus to pcsxr-svn

9 years agocdrom: add CdlGetlocP hack
notaz [Tue, 25 Jan 2011 21:00:55 +0000 (23:00 +0200)]
cdrom: add CdlGetlocP hack

not sure why it's needed, new code caused problems here
but not in pcsxr-svn.

9 years agocdrom: merge most of cdrom.c from latest pcsxr (r62214)
notaz [Tue, 25 Jan 2011 14:51:27 +0000 (16:51 +0200)]
cdrom: merge most of cdrom.c from latest pcsxr (r62214)

most changes pulled are shalma's work

9 years agodrc: allow CFC1/2 to r0
notaz [Mon, 24 Jan 2011 22:58:13 +0000 (00:58 +0200)]
drc: allow CFC1/2 to r0

9 years agodrc: make BxxZAL implementation complete
notaz [Mon, 24 Jan 2011 22:54:51 +0000 (00:54 +0200)]
drc: make BxxZAL implementation complete

9 years agodrc: try harder to not compile code as 64bit
notaz [Mon, 24 Jan 2011 17:47:46 +0000 (19:47 +0200)]
drc: try harder to not compile code as 64bit

..when compiling trash

9 years agodrc: fix COP2 decoding
notaz [Mon, 24 Jan 2011 17:26:38 +0000 (19:26 +0200)]
drc: fix COP2 decoding

9 years agospu: don't read config, we manage it in frontend
notaz [Sun, 23 Jan 2011 22:37:03 +0000 (00:37 +0200)]
spu: don't read config, we manage it in frontend

9 years agodrc: don't leave until we really need to
notaz [Sun, 23 Jan 2011 22:34:28 +0000 (00:34 +0200)]
drc: don't leave until we really need to

9 years agodrc: add support for interpreter calls; use them for branches in delay slots
notaz [Sun, 23 Jan 2011 19:33:35 +0000 (21:33 +0200)]
drc: add support for interpreter calls; use them for branches in delay slots

9 years agointerpreter: add handling for a branch in delay slot
notaz [Sun, 23 Jan 2011 19:30:52 +0000 (21:30 +0200)]
interpreter: add handling for a branch in delay slot

9 years agofix some alignment issues
notaz [Sun, 23 Jan 2011 19:29:29 +0000 (21:29 +0200)]
fix some alignment issues

9 years agoadd watchdog thread to detect lockups
notaz [Wed, 19 Jan 2011 23:29:38 +0000 (01:29 +0200)]
add watchdog thread to detect lockups

9 years agodrc: use correct clear size
notaz [Wed, 19 Jan 2011 15:26:57 +0000 (17:26 +0200)]
drc: use correct clear size

9 years agosome frontend adjustments
notaz [Tue, 18 Jan 2011 16:04:58 +0000 (18:04 +0200)]
some frontend adjustments

9 years agodrc: remove leftover printf
notaz [Mon, 17 Jan 2011 22:35:36 +0000 (00:35 +0200)]
drc: remove leftover printf

9 years agodrc: Ari64's fix for loop reg allocation problem
notaz [Mon, 17 Jan 2011 22:33:16 +0000 (00:33 +0200)]
drc: Ari64's fix for loop reg allocation problem

9 years agoRevert "drc: fix a bug with loop reg allocation"
notaz [Mon, 17 Jan 2011 21:37:18 +0000 (23:37 +0200)]
Revert "drc: fix a bug with loop reg allocation"

This reverts commit ca7c944853bbb689040c530655e2da231c40db5b
in favour of fix by Ari64 himself.

9 years agorelease r4 r4
notaz [Sat, 15 Jan 2011 21:13:07 +0000 (23:13 +0200)]
release r4

9 years agorewrite frame limiter
notaz [Sat, 15 Jan 2011 23:50:12 +0000 (01:50 +0200)]
rewrite frame limiter

the peops one is sometimes sleeping when not needed.

9 years agobugfix
notaz [Sat, 15 Jan 2011 22:22:30 +0000 (00:22 +0200)]
bugfix

9 years agodrc: fix a bug with loop reg allocation
notaz [Sat, 15 Jan 2011 21:01:50 +0000 (23:01 +0200)]
drc: fix a bug with loop reg allocation

9 years agobios: implement psxBios__card_chan
notaz [Thu, 13 Jan 2011 15:04:56 +0000 (17:04 +0200)]
bios: implement psxBios__card_chan

used by at least R-Type Delta.

9 years agobios: firstfile delivers an event on real bios, so do that
notaz [Thu, 13 Jan 2011 14:49:48 +0000 (16:49 +0200)]
bios: firstfile delivers an event on real bios, so do that

9 years agodrc: fix some goofage in cop2_{get,put}_dreg
notaz [Fri, 14 Jan 2011 22:06:12 +0000 (00:06 +0200)]
drc: fix some goofage in cop2_{get,put}_dreg

9 years agodrc: allow reading r31 in delay slot
notaz [Fri, 14 Jan 2011 16:32:17 +0000 (18:32 +0200)]
drc: allow reading r31 in delay slot

as hlide explained it's ok as long as we do DS first.

9 years agodrc: handle MTC0 in delay slot
notaz [Fri, 14 Jan 2011 15:43:22 +0000 (17:43 +0200)]
drc: handle MTC0 in delay slot

also refactor MTC0 code a bit.

9 years agomenu: add interpreter option
notaz [Fri, 14 Jan 2011 12:08:04 +0000 (14:08 +0200)]
menu: add interpreter option

9 years agodrc: remove funcs from assert()s to allow NDEBUG build
notaz [Fri, 14 Jan 2011 11:42:59 +0000 (13:42 +0200)]
drc: remove funcs from assert()s to allow NDEBUG build

9 years agodrc: allow move-to-r0 condition
notaz [Fri, 14 Jan 2011 11:00:03 +0000 (13:00 +0200)]
drc: allow move-to-r0 condition

some games are doing that.

9 years agoremove hle savestate restriction
notaz [Fri, 14 Jan 2011 10:31:23 +0000 (12:31 +0200)]
remove hle savestate restriction

we have enough data to load any savestate

9 years agomenu: add bios selection
notaz [Fri, 14 Jan 2011 10:17:08 +0000 (12:17 +0200)]
menu: add bios selection

9 years agodrc: rework bios fastboot hack a bit
notaz [Fri, 14 Jan 2011 10:14:05 +0000 (12:14 +0200)]
drc: rework bios fastboot hack a bit

it was not handling reloads/resets well.

9 years agosome quick input code for PC build
notaz [Thu, 13 Jan 2011 20:41:25 +0000 (22:41 +0200)]
some quick input code for PC build

9 years agodrc: check for r0 dest (it might be allocated)
notaz [Thu, 13 Jan 2011 11:29:44 +0000 (13:29 +0200)]
drc: check for r0 dest (it might be allocated)

9 years agohack for bios write disable thing
notaz [Wed, 12 Jan 2011 22:41:53 +0000 (00:41 +0200)]
hack for bios write disable thing

9 years agodrc: hacks for psx bios on PCSX
notaz [Wed, 12 Jan 2011 22:24:58 +0000 (00:24 +0200)]
drc: hacks for psx bios on PCSX

9 years agodrc: don't read readmem_dword to r0 or on dummy reads
notaz [Wed, 12 Jan 2011 13:59:41 +0000 (15:59 +0200)]
drc: don't read readmem_dword to r0 or on dummy reads

9 years agodrc: support RFE, remove ERET (it's not in r3k)
notaz [Wed, 12 Jan 2011 13:46:23 +0000 (15:46 +0200)]
drc: support RFE, remove ERET (it's not in r3k)

9 years agodrc: minor disassembly fixes
notaz [Wed, 12 Jan 2011 13:39:06 +0000 (15:39 +0200)]
drc: minor disassembly fixes

9 years agofrontend: bios support
notaz [Wed, 12 Jan 2011 11:40:20 +0000 (13:40 +0200)]
frontend: bios support

9 years agohack interpreter so that it can return to menu
notaz [Mon, 10 Jan 2011 21:22:59 +0000 (23:22 +0200)]
hack interpreter so that it can return to menu

9 years agorm unused file
notaz [Fri, 7 Jan 2011 22:42:30 +0000 (00:42 +0200)]
rm unused file

9 years agoallow some build customization
notaz [Fri, 7 Jan 2011 21:58:45 +0000 (23:58 +0200)]
allow some build customization

also correct a statement in readme.

9 years agorelicense common/menu.* to suit this project
notaz [Fri, 7 Jan 2011 21:39:33 +0000 (23:39 +0200)]
relicense common/menu.* to suit this project

9 years agorelease r3 r3
notaz [Tue, 4 Jan 2011 22:00:08 +0000 (00:00 +0200)]
release r3

9 years agogpu_unai: add some framebuffer guard memory
notaz [Tue, 4 Jan 2011 17:47:03 +0000 (19:47 +0200)]
gpu_unai: add some framebuffer guard memory

some games blit outside framebuffer area, this is faster than
doing range checks.

9 years agogpu_unai: freeze display size and position
notaz [Tue, 4 Jan 2011 17:42:40 +0000 (19:42 +0200)]
gpu_unai: freeze display size and position

this avoids some glitches and makes savestates compatible with
Pete's plugins.

9 years agotry to ensure fbdev buffer is valid
notaz [Tue, 4 Jan 2011 17:40:25 +0000 (19:40 +0200)]
try to ensure fbdev buffer is valid

9 years agoadd savestate preview
notaz [Tue, 4 Jan 2011 17:36:35 +0000 (19:36 +0200)]
add savestate preview

9 years agofrontend cleanup
notaz [Mon, 3 Jan 2011 16:40:50 +0000 (18:40 +0200)]
frontend cleanup

9 years agodfxvideo: massive cleanup
notaz [Mon, 3 Jan 2011 15:29:41 +0000 (17:29 +0200)]
dfxvideo: massive cleanup

based on pcsx4all code.

9 years agogpu_unai: basic frameskip
notaz [Sun, 2 Jan 2011 22:14:35 +0000 (00:14 +0200)]
gpu_unai: basic frameskip

only partially works but oh well

9 years agogpu_unai: avoid useless blits
notaz [Sun, 2 Jan 2011 22:09:30 +0000 (00:09 +0200)]
gpu_unai: avoid useless blits

9 years agogpu_unai: warning fix
notaz [Sun, 2 Jan 2011 19:34:51 +0000 (21:34 +0200)]
gpu_unai: warning fix

9 years agogpu_unai: pcsx-rearmed port
notaz [Sun, 2 Jan 2011 19:34:28 +0000 (21:34 +0200)]
gpu_unai: pcsx-rearmed port

9 years agoplugin_lib: export more functions
notaz [Sun, 2 Jan 2011 19:10:31 +0000 (21:10 +0200)]
plugin_lib: export more functions

9 years agoimport gpu_unai from PCSX4ALL project
notaz [Sat, 1 Jan 2011 22:59:02 +0000 (00:59 +0200)]
import gpu_unai from PCSX4ALL project

9 years agoadd a way for GPU plugin to get layer config
notaz [Sat, 1 Jan 2011 22:34:26 +0000 (00:34 +0200)]
add a way for GPU plugin to get layer config

9 years agogles: tweak Makefile, credits
notaz [Sat, 1 Jan 2011 19:04:40 +0000 (21:04 +0200)]
gles: tweak Makefile, credits

9 years agoPickle's port for this emu
notaz [Fri, 31 Dec 2010 15:25:34 +0000 (17:25 +0200)]
Pickle's port for this emu

9 years agogpu-gles from psx4m
notaz [Fri, 31 Dec 2010 14:57:02 +0000 (16:57 +0200)]
gpu-gles from psx4m