pcsx_rearmed.git
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

9 years agogui/Plugin: don't open/close gpu
notaz [Thu, 30 Dec 2010 23:56:25 +0000 (01:56 +0200)]
gui/Plugin: don't open/close gpu

this is handled by frontend, so prevent double open/close

9 years agoprepare for external gpu plugins
notaz [Thu, 30 Dec 2010 23:43:28 +0000 (01:43 +0200)]
prepare for external gpu plugins

also fixes framelimiter and some config being overwritten by dfxvideo

9 years agofbdev: resize: do single ioctl in nonerror path
notaz [Thu, 30 Dec 2010 23:24:21 +0000 (01:24 +0200)]
fbdev: resize: do single ioctl in nonerror path

9 years agodecouple input/frame limiter from GPU plugin
notaz [Thu, 30 Dec 2010 15:40:23 +0000 (17:40 +0200)]
decouple input/frame limiter from GPU plugin

9 years agorelease r2 r2
notaz [Tue, 28 Dec 2010 23:01:11 +0000 (01:01 +0200)]
release r2

9 years agoadd some plugin control from the menu, include spunull
notaz [Tue, 28 Dec 2010 22:15:55 +0000 (00:15 +0200)]
add some plugin control from the menu, include spunull

some random refactoring too.

9 years agoadd per game configs (by popular demand, no controls yet though)
notaz [Tue, 28 Dec 2010 17:15:11 +0000 (19:15 +0200)]
add per game configs (by popular demand, no controls yet though)

9 years agomove layer control to plugin/plugin_lib
notaz [Tue, 28 Dec 2010 16:33:34 +0000 (18:33 +0200)]
move layer control to plugin/plugin_lib

9 years agomore complete credit listing in readme
notaz [Tue, 28 Dec 2010 16:01:49 +0000 (18:01 +0200)]
more complete credit listing in readme

9 years agobios: fix firstfile() return value
notaz [Tue, 28 Dec 2010 15:43:34 +0000 (17:43 +0200)]
bios: fix firstfile() return value

it should only return dir when finds a match,
bufile macro already does that.

9 years agodrc: fix wrong address reg use in c2ls, small refactoring
notaz [Tue, 28 Dec 2010 12:58:25 +0000 (14:58 +0200)]
drc: fix wrong address reg use in c2ls, small refactoring

9 years agofix another alignment issue
notaz [Mon, 27 Dec 2010 23:48:55 +0000 (01:48 +0200)]
fix another alignment issue

also switch to PreviousPSXDisplay, it seems to be range checked.

9 years agodrc: fix BxxZAL
notaz [Mon, 27 Dec 2010 22:16:20 +0000 (00:16 +0200)]
drc: fix BxxZAL

Leaving BxxZALL unhadled, need a test as it's real easy
to mess it all up here.

9 years agodrc: fix SWL/SWR confusion in do_unalignedwritestub
notaz [Mon, 27 Dec 2010 17:35:12 +0000 (19:35 +0200)]
drc: fix SWL/SWR confusion in do_unalignedwritestub

9 years agosome debug code improvements
notaz [Mon, 27 Dec 2010 17:33:26 +0000 (19:33 +0200)]
some debug code improvements

9 years agoio asm: always write out to psxH, like C code does
notaz [Mon, 27 Dec 2010 17:31:48 +0000 (19:31 +0200)]
io asm: always write out to psxH, like C code does

9 years agoomap: reserve enough memory for 24bpp modes
notaz [Mon, 27 Dec 2010 00:08:31 +0000 (02:08 +0200)]
omap: reserve enough memory for 24bpp modes

9 years agoproperly implement pad handling
notaz [Sun, 26 Dec 2010 23:42:36 +0000 (01:42 +0200)]
properly implement pad handling

fixes one pad controlling both players and player2 controls.

9 years agofix a keybind copy-paste bug
notaz [Sun, 26 Dec 2010 21:45:01 +0000 (23:45 +0200)]
fix a keybind copy-paste bug

9 years agoset memcard paths, rm dead code
notaz [Sun, 26 Dec 2010 01:20:20 +0000 (03:20 +0200)]
set memcard paths, rm dead code

9 years agoadd .pnd stuff r1
notaz [Sat, 25 Dec 2010 19:53:50 +0000 (21:53 +0200)]
add .pnd stuff

9 years agosync cdrom.h with pcsxr-svn
notaz [Sat, 25 Dec 2010 19:41:04 +0000 (21:41 +0200)]
sync cdrom.h with pcsxr-svn

this may help to avoid savestate format change in the future.

9 years agomenu: add config save/load
notaz [Sat, 25 Dec 2010 19:29:45 +0000 (21:29 +0200)]
menu: add config save/load

9 years agoadd default skin
notaz [Sat, 25 Dec 2010 17:05:20 +0000 (19:05 +0200)]
add default skin

9 years agomenu: add most options
notaz [Sat, 25 Dec 2010 00:52:55 +0000 (02:52 +0200)]
menu: add most options

9 years agocdriso: add hack for cdda pausing
notaz [Sat, 25 Dec 2010 00:47:26 +0000 (02:47 +0200)]
cdriso: add hack for cdda pausing

9 years agogpu: be sure bSkipNextFrame is consistent when fskip opt is toggled
notaz [Fri, 24 Dec 2010 22:32:08 +0000 (00:32 +0200)]
gpu: be sure bSkipNextFrame is consistent when fskip opt is toggled

9 years agospu: kill voldiv on ARM too
notaz [Fri, 24 Dec 2010 22:27:55 +0000 (00:27 +0200)]
spu: kill voldiv on ARM too

9 years agodrc: map bios and fix dummy reads
notaz [Thu, 23 Dec 2010 17:18:36 +0000 (19:18 +0200)]
drc: map bios and fix dummy reads

9 years agoinit some forgotten stuff
notaz [Wed, 22 Dec 2010 23:52:12 +0000 (01:52 +0200)]
init some forgotten stuff

otherwise glitches happen if certain games are ran in a row.

9 years agoupdate gpu DMA related code to pcsxr-svn Nov 28
notaz [Wed, 22 Dec 2010 00:34:30 +0000 (02:34 +0200)]
update gpu DMA related code to pcsxr-svn Nov 28

mostly authored by shalma, some by weimingzhi.

9 years agoupdate mdec code to pcsxr-svn Nov 26
notaz [Tue, 21 Dec 2010 23:44:14 +0000 (01:44 +0200)]
update mdec code to pcsxr-svn Nov 26

lots of patches from shalma and gschwnd.

9 years agodrc: improved interrupt code for emu_if
notaz [Tue, 21 Dec 2010 17:25:42 +0000 (19:25 +0200)]
drc: improved interrupt code for emu_if

9 years agocore: update to newer interrupt code, seems to affect timings too
notaz [Tue, 21 Dec 2010 13:46:24 +0000 (15:46 +0200)]
core: update to newer interrupt code, seems to affect timings too

pcsxr-svn commit:
Author: weimingzhi
Date:   Sat Aug 7 23:52:44 2010 +0000

    refactored the interrupt scheduling code a bit to make it a little
    more readable than using those "magic" numbers.

9 years agoomap: only setup mem before using fb
notaz [Tue, 21 Dec 2010 12:57:00 +0000 (14:57 +0200)]
omap: only setup mem before using fb

newer DSS2 driver rejects mem changes on the fly.

9 years agohack: use simple GTE division
notaz [Tue, 21 Dec 2010 11:53:31 +0000 (13:53 +0200)]
hack: use simple GTE division

that large table was slow, probably because of dcache trashing.

9 years agoimproved memhandlers
notaz [Sun, 19 Dec 2010 17:53:14 +0000 (19:53 +0200)]
improved memhandlers

9 years agodrc: pass correct address to verify_code
notaz [Sat, 18 Dec 2010 19:32:48 +0000 (21:32 +0200)]
drc: pass correct address to verify_code

9 years agodrc: don't compile 64bit loads/stores in 32bit mode
notaz [Sat, 18 Dec 2010 18:20:54 +0000 (20:20 +0200)]
drc: don't compile 64bit loads/stores  in 32bit mode

they are missing support code in PCSX anyway.

9 years agodrc: end block on syscall and hlecall, not insn after them
notaz [Sat, 18 Dec 2010 17:51:06 +0000 (19:51 +0200)]
drc: end block on syscall and hlecall, not insn after them

..or else we might get jump there, which causes it to abort.
Also remove assert that's hit occasionally.

9 years agomenu: update file colors, fix a bug in emu_if
notaz [Thu, 16 Dec 2010 16:46:59 +0000 (18:46 +0200)]
menu: update file colors, fix a bug in emu_if

9 years agocdriso: support multi-track .cue
notaz [Wed, 15 Dec 2010 23:35:44 +0000 (01:35 +0200)]
cdriso: support multi-track .cue

9 years agoupdate inputs on vsync
notaz [Wed, 15 Dec 2010 10:50:22 +0000 (12:50 +0200)]
update inputs on vsync

flip is not called when emulation gets stuck, making
impossible to return to menu.

9 years agocheck for height changes too
notaz [Wed, 15 Dec 2010 10:48:30 +0000 (12:48 +0200)]
check for height changes too

9 years agopsxbios: make noisy bios prints optional
notaz [Tue, 14 Dec 2010 17:00:42 +0000 (19:00 +0200)]
psxbios: make noisy bios prints optional

9 years agocdriso: don't try to play audio if tracks are missing
notaz [Tue, 14 Dec 2010 16:59:22 +0000 (18:59 +0200)]
cdriso: don't try to play audio if tracks are missing

to prevent random noise

9 years agodrc: use correct RAM size
notaz [Tue, 14 Dec 2010 14:53:58 +0000 (16:53 +0200)]
drc: use correct RAM size

..because some games like to use the mirrors

9 years agodrc: fix: storelr should also use AGR
notaz [Tue, 14 Dec 2010 13:16:02 +0000 (15:16 +0200)]
drc: fix: storelr should also use AGR

9 years agomenu: setup colors for file browser
notaz [Mon, 13 Dec 2010 23:54:58 +0000 (01:54 +0200)]
menu: setup colors for file browser

9 years agoadd basic .Z support
notaz [Mon, 13 Dec 2010 23:40:34 +0000 (01:40 +0200)]
add basic .Z support

9 years agodrc: implemented STL/STR stubs (at least I think I did)
notaz [Mon, 13 Dec 2010 00:32:59 +0000 (02:32 +0200)]
drc: implemented STL/STR stubs (at least I think I did)

9 years agodrc: don't clear ARM caches on whole translation cache - it's very slow
notaz [Sun, 12 Dec 2010 21:57:47 +0000 (23:57 +0200)]
drc: don't clear ARM caches on whole translation cache - it's very slow

9 years agospu: disable SPUIRQWait, it only seems to cause problems
notaz [Sun, 12 Dec 2010 16:44:00 +0000 (18:44 +0200)]
spu: disable SPUIRQWait, it only seems to cause problems

9 years agomenu: implement savestates and scaling cfg
notaz [Sat, 11 Dec 2010 23:40:19 +0000 (01:40 +0200)]
menu: implement savestates and scaling cfg

9 years agorefactor OSD code and PCNT stuff
notaz [Sat, 11 Dec 2010 21:11:46 +0000 (23:11 +0200)]
refactor OSD code and PCNT stuff

9 years agofix bgr2rgb16 and reduce mode change glitching
notaz [Sat, 11 Dec 2010 17:50:25 +0000 (19:50 +0200)]
fix bgr2rgb16 and reduce mode change glitching

9 years agodrc: don't remove unused i/o reads because of FIFOs
notaz [Fri, 10 Dec 2010 17:31:25 +0000 (19:31 +0200)]
drc: don't remove unused i/o reads because of FIFOs

9 years agodrc: hook even to detect irq unmasking
notaz [Fri, 10 Dec 2010 15:57:35 +0000 (17:57 +0200)]
drc: hook even to detect irq unmasking

9 years agofix x86 build, minor refactoring
notaz [Fri, 10 Dec 2010 11:54:59 +0000 (13:54 +0200)]
fix x86 build, minor refactoring

9 years agodrc: handle invalidate on clear() calls and reset
notaz [Thu, 9 Dec 2010 23:36:33 +0000 (01:36 +0200)]
drc: handle invalidate on clear() calls and reset

9 years agodrc: allow recursive calls
notaz [Thu, 9 Dec 2010 23:00:19 +0000 (01:00 +0200)]
drc: allow recursive calls

9 years agoupdate in_evdev, fix return from menu
notaz [Thu, 9 Dec 2010 22:23:40 +0000 (00:23 +0200)]
update in_evdev, fix return from menu

9 years agorm X11 include hack
notaz [Thu, 9 Dec 2010 17:26:13 +0000 (19:26 +0200)]
rm X11 include hack

9 years agoadd OMAP layer, also preliminary menu, hud and input support
notaz [Thu, 9 Dec 2010 17:15:01 +0000 (19:15 +0200)]
add OMAP layer, also preliminary menu, hud and input support

9 years agopull in more code from PicoDrive
notaz [Thu, 9 Dec 2010 16:56:03 +0000 (18:56 +0200)]
pull in more code from PicoDrive

9 years agoadd support for 24bpp mode
notaz [Wed, 8 Dec 2010 00:10:06 +0000 (02:10 +0200)]
add support for 24bpp mode

9 years agodrc: allow xor imm 0
notaz [Tue, 7 Dec 2010 22:51:25 +0000 (00:51 +0200)]
drc: allow xor imm 0