pcsx_rearmed.git
10 years agorelease r7 r7
notaz [Tue, 1 Mar 2011 23:20:55 +0000 (01:20 +0200)]
release r7

10 years agodfxvideo: turn off strict-aliasing (causes problems)
notaz [Tue, 1 Mar 2011 23:19:29 +0000 (01:19 +0200)]
dfxvideo: turn off strict-aliasing (causes problems)

all that int16/int32 casting is messing it up I guess.

10 years agodfxvideo: use bit31 handling from pcsxr-svn
notaz [Tue, 1 Mar 2011 21:24:30 +0000 (23:24 +0200)]
dfxvideo: use bit31 handling from pcsxr-svn

10 years agodrc: clear dynarec completely on CD image change
notaz [Tue, 1 Mar 2011 17:07:27 +0000 (19:07 +0200)]
drc: clear dynarec completely on CD image change

most likely only BIOS can be reused anyway, no need to stress
invalidation code needlessly (even if it does it all well).

10 years agofrontend: add BIOS warning
notaz [Tue, 1 Mar 2011 15:20:01 +0000 (17:20 +0200)]
frontend: add BIOS warning

this will hopefully reduce forum load

10 years agofrontend: move skin and darken the background
notaz [Tue, 1 Mar 2011 15:13:03 +0000 (17:13 +0200)]
frontend: move skin and darken the background

10 years agodfxvideo: avoid division like plague
notaz [Tue, 1 Mar 2011 00:19:58 +0000 (02:19 +0200)]
dfxvideo: avoid division like plague

10 years agofrontend: commit some debug code
notaz [Mon, 28 Feb 2011 23:02:16 +0000 (01:02 +0200)]
frontend: commit some debug code

10 years agospu: drop unused mono code
notaz [Mon, 28 Feb 2011 22:48:20 +0000 (00:48 +0200)]
spu: drop unused mono code

also merge the mix buffers - the idea was to make use of neon there but
I've decided againt it, it wouldn't improve things much according to
profiling.

10 years agospu: refactor adsr (simplify code)
notaz [Mon, 28 Feb 2011 00:13:23 +0000 (02:13 +0200)]
spu: refactor adsr (simplify code)

10 years agospu: compact chan structure a bit
notaz [Sun, 27 Feb 2011 22:19:48 +0000 (00:19 +0200)]
spu: compact chan structure a bit

10 years agogte_neon: hook into recompiler
notaz [Sat, 26 Feb 2011 21:56:06 +0000 (23:56 +0200)]
gte_neon: hook into recompiler

10 years agogte_neon: implement MVMVA, some fixes
notaz [Sat, 26 Feb 2011 21:15:43 +0000 (23:15 +0200)]
gte_neon: implement MVMVA, some fixes

10 years agogte_neon: trying to improve code
notaz [Fri, 25 Feb 2011 18:02:34 +0000 (20:02 +0200)]
gte_neon: trying to improve code

10 years agogte_neon: implement RTPS and NCLIP
notaz [Fri, 25 Feb 2011 14:07:36 +0000 (16:07 +0200)]
gte_neon: implement RTPS and NCLIP

10 years agogte: starting some NEON code
notaz [Tue, 22 Feb 2011 12:04:47 +0000 (14:04 +0200)]
gte: starting some NEON code

10 years agofrontend: make sure color format is set
notaz [Tue, 22 Feb 2011 12:26:14 +0000 (14:26 +0200)]
frontend: make sure color format is set

10 years agodrc: some PCSX-specific const addr io handlers
notaz [Thu, 17 Feb 2011 16:20:47 +0000 (18:20 +0200)]
drc: some PCSX-specific const addr io handlers

10 years agodrc: add i/o penalty cycles
notaz [Thu, 17 Feb 2011 00:18:15 +0000 (02:18 +0200)]
drc: add i/o penalty cycles

.. as done by some other PSX emus

10 years agodrc: don't pass r3 to memhandlers
notaz [Wed, 16 Feb 2011 23:54:15 +0000 (01:54 +0200)]
drc: don't pass r3 to memhandlers

also don't recalculate cycles after reads - PCSX doesn't queue
any interrupts on reads.

10 years agodrc: merge register types from Ari64's code
notaz [Wed, 16 Feb 2011 21:38:06 +0000 (23:38 +0200)]
drc: merge register types from Ari64's code

but don't merge RAM_OFFSET stuff, I don't want to mess with this yet

10 years agodrc: merge Ari64's patch: 11_reduce_invstub_memory_usage
notaz [Wed, 16 Feb 2011 22:08:48 +0000 (00:08 +0200)]
drc: merge Ari64's patch: 11_reduce_invstub_memory_usage

10 years agodrc: merge Ari64's patch: 10_unnecessary_invalidate
notaz [Wed, 16 Feb 2011 21:52:36 +0000 (23:52 +0200)]
drc: merge Ari64's patch: 10_unnecessary_invalidate

also adjust memhandlers to do inv checks as recompiler no longer does
them for unknown writes.

10 years agodrc: merge Ari64's patch: 08_loop_hoisting
notaz [Wed, 16 Feb 2011 21:27:49 +0000 (23:27 +0200)]
drc: merge Ari64's patch: 08_loop_hoisting

10 years agodrc: merge Ari64's patch: 07_clear_cache
notaz [Wed, 16 Feb 2011 19:31:19 +0000 (21:31 +0200)]
drc: merge Ari64's patch: 07_clear_cache

10 years agodrc: merge Ari64's patch: 05_dont_write_r0
notaz [Wed, 16 Feb 2011 18:27:50 +0000 (20:27 +0200)]
drc: merge Ari64's patch: 05_dont_write_r0

also get rid of unneeded moves in load_assemble

10 years agodrc: merge Ari64's patch: 02_xor_zero
notaz [Tue, 15 Feb 2011 15:46:54 +0000 (17:46 +0200)]
drc: merge Ari64's patch: 02_xor_zero

10 years agodrc: get rid of pass 7/provisional_r32 too
notaz [Tue, 15 Feb 2011 23:52:32 +0000 (01:52 +0200)]
drc: get rid of pass 7/provisional_r32 too

10 years agodrc: fix p32 32K memset stupidity, don't use p32 instead
notaz [Tue, 15 Feb 2011 15:37:53 +0000 (17:37 +0200)]
drc: fix p32 32K memset stupidity, don't use p32 instead

10 years agofrontend: minor adjustments
notaz [Wed, 16 Feb 2011 19:29:41 +0000 (21:29 +0200)]
frontend: minor adjustments

10 years agoadd redump.org SBI support
notaz [Tue, 15 Feb 2011 12:14:00 +0000 (14:14 +0200)]
add redump.org SBI support

This is based on PCSX-Reloaded (as usual) but done a bit different,
loaded as .sub file instead of as ppf patch.

10 years agocdrom: move pause delay after ACK
notaz [Tue, 15 Feb 2011 12:08:06 +0000 (14:08 +0200)]
cdrom: move pause delay after ACK

This solves FF7 slowdowns and keeps games that need this delay working.

10 years agodfxvideo: fill sanity check to prevent crashes
notaz [Mon, 14 Feb 2011 15:31:32 +0000 (17:31 +0200)]
dfxvideo: fill sanity check to prevent crashes

10 years agodrc: rm x86 stuff - it's unmaintained here
notaz [Fri, 11 Feb 2011 15:42:55 +0000 (17:42 +0200)]
drc: rm x86 stuff - it's unmaintained here

Use Ari64's releases if you need x86 stuff.

10 years agodfinput: fix CONFIG_MODE behavior
notaz [Thu, 10 Feb 2011 22:37:25 +0000 (00:37 +0200)]
dfinput: fix CONFIG_MODE behavior

return config data when in config mode only (like LilyPad does)

10 years agomain.c: load savestate after prepare
notaz [Thu, 10 Feb 2011 22:31:33 +0000 (00:31 +0200)]
main.c: load savestate after prepare

10 years agouse analog handling from dfinput
notaz [Thu, 10 Feb 2011 22:02:11 +0000 (00:02 +0200)]
use analog handling from dfinput

10 years agofrontend: tune frameskip a bit more
notaz [Thu, 10 Feb 2011 21:31:59 +0000 (23:31 +0200)]
frontend: tune frameskip a bit more

also init analog vars as centered (in case they are never updated)

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

10 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.

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

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

10 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

10 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)

10 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

10 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

10 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.

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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)

10 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)

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

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

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

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

10 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.

10 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

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

10 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

10 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

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

10 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

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

10 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.

10 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

10 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.

10 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

10 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

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

10 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

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

10 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

10 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

10 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

10 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

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

10 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

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

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

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

10 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

10 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.

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

10 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.

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

10 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

10 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.

10 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