picodrive.git
11 years agolibretro: sound fix and a few options
notaz [Mon, 23 Sep 2013 23:31:45 +0000 (02:31 +0300)]
libretro: sound fix and a few options

11 years agocd: prefer model2 bios
notaz [Mon, 23 Sep 2013 23:22:41 +0000 (02:22 +0300)]
cd: prefer model2 bios

model1 has some weird random race, hopefully it will go away with better
cdc/cdd code in future.

11 years agofamec: remove unused dual code
notaz [Mon, 23 Sep 2013 22:11:13 +0000 (01:11 +0300)]
famec: remove unused dual code

11 years agopandora: use automatic tv layer switch
notaz [Mon, 23 Sep 2013 21:47:33 +0000 (00:47 +0300)]
pandora: use automatic tv layer switch

11 years agocd: fix copy-paste bug, comm issue
notaz [Sun, 22 Sep 2013 21:45:33 +0000 (00:45 +0300)]
cd: fix copy-paste bug, comm issue

11 years agocd: pcm: tune addr reload
notaz [Mon, 23 Sep 2013 17:01:37 +0000 (20:01 +0300)]
cd: pcm: tune addr reload

fahrenheit..

11 years agocd: gfx: reduce LUT size
notaz [Sun, 22 Sep 2013 01:35:55 +0000 (04:35 +0300)]
cd: gfx: reduce LUT size

11 years agocd: integrate new gfx code
notaz [Sun, 22 Sep 2013 00:44:42 +0000 (03:44 +0300)]
cd: integrate new gfx code

11 years agocd: pull in Genesis-Plus-GX CD gfx code
notaz [Sat, 21 Sep 2013 17:14:33 +0000 (20:14 +0300)]
cd: pull in Genesis-Plus-GX CD gfx code

license is the same, code quality is much better, so why not?
Many thanks to Eke for writing it.

11 years agocd: fix yet more desyncs
notaz [Fri, 20 Sep 2013 00:51:03 +0000 (03:51 +0300)]
cd: fix yet more desyncs

state load, reset..

11 years agocd: rewrite pcm
notaz [Thu, 19 Sep 2013 00:51:30 +0000 (03:51 +0300)]
cd: rewrite pcm

11 years agocd: better cd change handling, perhaps?
notaz [Mon, 16 Sep 2013 01:09:02 +0000 (04:09 +0300)]
cd: better cd change handling, perhaps?

11 years agohandle 32x+cd
notaz [Fri, 13 Sep 2013 00:06:33 +0000 (03:06 +0300)]
handle 32x+cd

11 years agocd: delay gfx ops again
notaz [Sun, 8 Sep 2013 23:59:44 +0000 (02:59 +0300)]
cd: delay gfx ops again

11 years agodrz80: don't use swp
notaz [Sun, 8 Sep 2013 16:03:53 +0000 (19:03 +0300)]
drz80: don't use swp

swp is not available and sometimes emulated on newer ARMs
on older ARMs it does some bus locking that we don't need

11 years agohandle dbra wait loops, update cyclone
notaz [Sun, 8 Sep 2013 13:43:54 +0000 (16:43 +0300)]
handle dbra wait loops, update cyclone

11 years agoimprove cue handling a bit
notaz [Sat, 7 Sep 2013 21:35:09 +0000 (00:35 +0300)]
improve cue handling a bit

11 years agominor formatting changes
notaz [Thu, 5 Sep 2013 23:39:39 +0000 (02:39 +0300)]
minor formatting changes

11 years agofix blank line increment
notaz [Wed, 4 Sep 2013 23:19:18 +0000 (02:19 +0300)]
fix blank line increment

11 years agocd: tweak the poll code further
notaz [Wed, 4 Sep 2013 22:09:17 +0000 (01:09 +0300)]
cd: tweak the poll code further

11 years agogeneral timing hacks
notaz [Tue, 3 Sep 2013 23:31:27 +0000 (02:31 +0300)]
general timing hacks

11 years agocd: fix breakage in comm detection
notaz [Tue, 3 Sep 2013 01:11:50 +0000 (04:11 +0300)]
cd: fix breakage in comm detection

11 years agomake hcnt code friendly with split timeslices
notaz [Mon, 2 Sep 2013 23:52:07 +0000 (02:52 +0300)]
make hcnt code friendly with split timeslices

values need to be fixed, they're wrong, wrong wrong...

11 years agopandora: workaround some reported problems
notaz [Sun, 1 Sep 2013 17:22:14 +0000 (20:22 +0300)]
pandora: workaround some reported problems

11 years agoupdate libpicofe
notaz [Sun, 1 Sep 2013 17:20:12 +0000 (20:20 +0300)]
update libpicofe

11 years agorelease 1.85 v1.85
notaz [Sat, 31 Aug 2013 15:22:59 +0000 (18:22 +0300)]
release 1.85

11 years agosome readme and general cleanups
notaz [Sat, 31 Aug 2013 15:03:41 +0000 (18:03 +0300)]
some readme and general cleanups

11 years agoMerge branch 'dev'
notaz [Sat, 31 Aug 2013 18:10:56 +0000 (21:10 +0300)]
Merge branch 'dev'

11 years agoallow to disable SH2 dynarec on runtime
notaz [Sat, 31 Aug 2013 17:02:59 +0000 (20:02 +0300)]
allow to disable SH2 dynarec on runtime

11 years agosms: add pause support
notaz [Fri, 30 Aug 2013 23:23:57 +0000 (02:23 +0300)]
sms: add pause support

11 years agofrontend: save autoload
notaz [Fri, 30 Aug 2013 21:58:56 +0000 (00:58 +0300)]
frontend: save autoload

11 years agofrontend: new sync code
notaz [Fri, 30 Aug 2013 00:54:48 +0000 (03:54 +0300)]
frontend: new sync code

should fix video drift/desync on pandora

11 years agofix array-out-of-bounds issue
notaz [Thu, 29 Aug 2013 22:35:47 +0000 (01:35 +0300)]
fix array-out-of-bounds issue

11 years agocd: fix busreq and reset
notaz [Thu, 29 Aug 2013 00:43:56 +0000 (03:43 +0300)]
cd: fix busreq and reset

11 years agocd: some fixes
notaz [Wed, 28 Aug 2013 21:42:38 +0000 (00:42 +0300)]
cd: some fixes

11 years agocd: clean up dmna handling, stuff
notaz [Wed, 28 Aug 2013 00:07:33 +0000 (03:07 +0300)]
cd: clean up dmna handling, stuff

11 years agorename cd/pico.c -> cd/mcd.c
notaz [Tue, 27 Aug 2013 23:21:57 +0000 (02:21 +0300)]
rename cd/pico.c -> cd/mcd.c

11 years agocd sync improvements, part2
notaz [Tue, 27 Aug 2013 00:39:38 +0000 (03:39 +0300)]
cd sync improvements, part2

11 years agocd sync improvements
notaz [Mon, 26 Aug 2013 00:46:27 +0000 (03:46 +0300)]
cd sync improvements

11 years agofix yet another portability issue
notaz [Mon, 26 Aug 2013 00:44:53 +0000 (03:44 +0300)]
fix yet another portability issue

11 years agofamec: make reentrant
notaz [Sun, 25 Aug 2013 23:18:37 +0000 (02:18 +0300)]
famec: make reentrant

11 years agonew timing for main and cd
notaz [Sun, 25 Aug 2013 21:32:31 +0000 (00:32 +0300)]
new timing for main and cd

11 years agorevive GP2X build, update
notaz [Fri, 23 Aug 2013 00:09:53 +0000 (03:09 +0300)]
revive GP2X build, update

11 years agodistinguish VR SVP from 32X version
notaz [Tue, 20 Aug 2013 01:06:24 +0000 (04:06 +0300)]
distinguish VR SVP from 32X version

11 years agodeal with some strict aliasing issues
notaz [Tue, 20 Aug 2013 00:20:37 +0000 (03:20 +0300)]
deal with some strict aliasing issues

11 years ago32x: add 6btn quirk
notaz [Mon, 19 Aug 2013 21:54:03 +0000 (00:54 +0300)]
32x: add 6btn quirk

11 years ago32x: some mapping corrections
notaz [Mon, 19 Aug 2013 00:02:36 +0000 (03:02 +0300)]
32x: some mapping corrections

11 years ago32x: pwm pop reduction hacks
notaz [Sun, 18 Aug 2013 16:32:56 +0000 (19:32 +0300)]
32x: pwm pop reduction hacks

11 years ago32x: some hacks..
notaz [Sat, 17 Aug 2013 23:43:52 +0000 (02:43 +0300)]
32x: some hacks..

11 years ago32x: more memhandler improvements
notaz [Sat, 17 Aug 2013 19:47:08 +0000 (22:47 +0300)]
32x: more memhandler improvements

11 years ago32x: improve interrupt handling
notaz [Sat, 17 Aug 2013 19:46:07 +0000 (22:46 +0300)]
32x: improve interrupt handling

..hopefully..

11 years agoimprove input handling
notaz [Sat, 17 Aug 2013 00:04:15 +0000 (03:04 +0300)]
improve input handling

11 years agodraw: fix mistake from 9c9cda8c3
notaz [Thu, 15 Aug 2013 23:42:56 +0000 (02:42 +0300)]
draw: fix mistake from 9c9cda8c3

11 years ago32x: fix bg color tests
notaz [Thu, 15 Aug 2013 23:11:31 +0000 (02:11 +0300)]
32x: fix bg color tests

11 years agofixes for idle and other stuff
notaz [Thu, 15 Aug 2013 21:46:25 +0000 (00:46 +0300)]
fixes for idle and other stuff

11 years ago32x: improve pwm a bit more
notaz [Thu, 15 Aug 2013 18:51:27 +0000 (21:51 +0300)]
32x: improve pwm a bit more

11 years ago32x: avoid unnecessary logging
notaz [Wed, 14 Aug 2013 23:12:52 +0000 (02:12 +0300)]
32x: avoid unnecessary logging

11 years ago32x: add preliminary hint emulation
notaz [Wed, 14 Aug 2013 00:36:36 +0000 (03:36 +0300)]
32x: add preliminary hint emulation

11 years agofix some warnings
notaz [Wed, 14 Aug 2013 23:49:14 +0000 (02:49 +0300)]
fix some warnings

11 years agosimpler solution to regparm problem
notaz [Wed, 14 Aug 2013 23:46:16 +0000 (02:46 +0300)]
simpler solution to regparm problem

11 years agoFixed plat_mmap regression - Win32 now uses the same plat_mmap
twinaphex [Wed, 14 Aug 2013 01:01:59 +0000 (03:01 +0200)]
Fixed plat_mmap regression - Win32 now uses the same plat_mmap
codepath

11 years agouse actual mmap implementation on windows
ToadKing [Tue, 13 Aug 2013 02:56:17 +0000 (22:56 -0400)]
use actual mmap implementation on windows

11 years ago(Win32) Works now with Win32 Mingw - had to implement mmap implementation
twinaphex [Tue, 13 Aug 2013 02:16:04 +0000 (04:16 +0200)]
(Win32) Works now with Win32 Mingw - had to implement mmap implementation
with malloc and mfree with free

11 years ago(Win32) Some Win32 compatibility patches (courtesy of mudlord)
twinaphex [Tue, 13 Aug 2013 00:32:10 +0000 (02:32 +0200)]
(Win32) Some Win32 compatibility patches (courtesy of mudlord)

11 years agopandora: use quad buffering so that ff doesn't tear
notaz [Sun, 11 Aug 2013 22:50:03 +0000 (01:50 +0300)]
pandora: use quad buffering so that ff doesn't tear

also fix frame counter overflowing fb

11 years ago32x: drc: emulate illegal insn
notaz [Sun, 11 Aug 2013 21:47:25 +0000 (00:47 +0300)]
32x: drc: emulate illegal insn

The X-Men proto debugger makes it worth it

11 years ago32x: simplify logging a bit
notaz [Sun, 11 Aug 2013 21:24:19 +0000 (00:24 +0300)]
32x: simplify logging a bit

11 years ago32x: some timing hacks..
notaz [Sun, 11 Aug 2013 20:49:01 +0000 (23:49 +0300)]
32x: some timing hacks..

11 years ago32x: implement more sh2 peripherals
notaz [Sun, 11 Aug 2013 17:30:02 +0000 (20:30 +0300)]
32x: implement more sh2 peripherals

11 years ago32x: m68k memory handler improvemets
notaz [Sun, 11 Aug 2013 17:28:47 +0000 (20:28 +0300)]
32x: m68k memory handler improvemets

did some hw tests today..

11 years ago32x: handle FEN quirk
notaz [Sat, 10 Aug 2013 22:32:19 +0000 (01:32 +0300)]
32x: handle FEN quirk

Metal Head relies on it?

11 years agofix incomplete init
notaz [Sat, 10 Aug 2013 16:46:27 +0000 (19:46 +0300)]
fix incomplete init

11 years agobump libpicofe
notaz [Sat, 10 Aug 2013 16:45:35 +0000 (19:45 +0300)]
bump libpicofe

11 years agominor 68k timing tuning
notaz [Sat, 10 Aug 2013 14:58:23 +0000 (17:58 +0300)]
minor 68k timing tuning

11 years agosome new cpu debug code
notaz [Sat, 10 Aug 2013 14:57:54 +0000 (17:57 +0300)]
some new cpu debug code

11 years ago32x: memhandler improvements
notaz [Wed, 7 Aug 2013 00:26:02 +0000 (03:26 +0300)]
32x: memhandler improvements

- use consistent read tables (with write)
- use sh2 ptr instead of id
- place data_array/peri_regs in sh2 struct

11 years ago32x: fix some more timing problems
notaz [Tue, 6 Aug 2013 22:46:45 +0000 (01:46 +0300)]
32x: fix some more timing problems

11 years ago32x: some accuracy improvements
notaz [Mon, 5 Aug 2013 00:58:27 +0000 (03:58 +0300)]
32x: some accuracy improvements

11 years ago32x: map dram correctly on 68k side
notaz [Mon, 5 Aug 2013 00:57:14 +0000 (03:57 +0300)]
32x: map dram correctly on 68k side

11 years ago32x: move sh2 peripheral emu code to it's own file
notaz [Sun, 4 Aug 2013 23:31:47 +0000 (02:31 +0300)]
32x: move sh2 peripheral emu code to it's own file

also adds 16byte dma

11 years ago32x: implement dreq1, improve dmac
notaz [Sun, 4 Aug 2013 21:04:30 +0000 (00:04 +0300)]
32x: implement dreq1, improve dmac

11 years ago32x: improve pwm accuracy
notaz [Fri, 2 Aug 2013 23:08:31 +0000 (02:08 +0300)]
32x: improve pwm accuracy

11 years agoavoid unnecessary logging
notaz [Tue, 30 Jul 2013 23:27:44 +0000 (02:27 +0300)]
avoid unnecessary logging

11 years agolibretro: add savestate support
notaz [Tue, 30 Jul 2013 23:18:34 +0000 (02:18 +0300)]
libretro: add savestate support

11 years agodrc: svp: some missed r9 handling for apple
notaz [Mon, 29 Jul 2013 23:27:44 +0000 (02:27 +0300)]
drc: svp: some missed r9 handling for apple

11 years agodrc: svp: fix cache sync (end ptr)
notaz [Mon, 29 Jul 2013 22:10:26 +0000 (01:10 +0300)]
drc: svp: fix cache sync (end ptr)

11 years agodrc: do a test on startup
notaz [Mon, 29 Jul 2013 01:47:07 +0000 (04:47 +0300)]
drc: do a test on startup

saves time for porting help

11 years agopreserve r9 for apple
notaz [Mon, 29 Jul 2013 00:28:45 +0000 (03:28 +0300)]
preserve r9 for apple

11 years agosvp: convert asm to ual / apple gas
notaz [Sun, 28 Jul 2013 23:52:11 +0000 (02:52 +0300)]
svp: convert asm to ual / apple gas

11 years agoBuild fix
twinaphex [Sat, 13 Jul 2013 15:12:01 +0000 (17:12 +0200)]
Build fix

11 years agoAdd more sophisticated rules for building an ARM build with Makefile.libretro
twinaphex [Sat, 13 Jul 2013 15:10:35 +0000 (17:10 +0200)]
Add more sophisticated rules for building an ARM build with Makefile.libretro

11 years agofix clang warnings
notaz [Sun, 28 Jul 2013 22:55:49 +0000 (01:55 +0300)]
fix clang warnings

so that they don't annoy me

11 years agomake tabs vs spaces consistent
notaz [Sun, 28 Jul 2013 22:29:11 +0000 (01:29 +0300)]
make tabs vs spaces consistent

11 years agodrz80: fix flag saving
notaz [Sun, 28 Jul 2013 16:27:25 +0000 (19:27 +0300)]
drz80: fix flag saving

11 years agodrc: dumb detection of writes to current block
notaz [Sun, 28 Jul 2013 16:19:05 +0000 (19:19 +0300)]
drc: dumb detection of writes to current block

11 years agodrc: some debug improvements
notaz [Sun, 28 Jul 2013 15:24:20 +0000 (18:24 +0300)]
drc: some debug improvements

11 years agodon't log idle by default
notaz [Sun, 28 Jul 2013 14:14:45 +0000 (17:14 +0300)]
don't log idle by default

11 years agofix build without cyclone
notaz [Sun, 28 Jul 2013 14:05:07 +0000 (17:05 +0300)]
fix build without cyclone

11 years agotune flip calls and frame setup
notaz [Sun, 28 Jul 2013 13:45:13 +0000 (16:45 +0300)]
tune flip calls and frame setup

for pandora, mostly

11 years agoget rid of port_config.h
notaz [Sun, 28 Jul 2013 00:05:10 +0000 (03:05 +0300)]
get rid of port_config.h