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

10 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

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

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

10 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

10 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

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

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

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

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

10 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

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

10 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

10 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

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

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

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

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

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

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

..hopefully..

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

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

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

10 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

10 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

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

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

10 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

10 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

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

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

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

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

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

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

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

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

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

10 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

10 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

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

10 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

10 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

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

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

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

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

10 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

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

10 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

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

10 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

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

10 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

10 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

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

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

10 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

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

10 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

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

10 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

10 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

10 years ago32x: fix FM handling
notaz [Sat, 27 Jul 2013 23:04:22 +0000 (02:04 +0300)]
32x: fix FM handling

maybe unmap dram too?

10 years agominor drawing code cleanup
notaz [Sat, 27 Jul 2013 21:49:35 +0000 (00:49 +0300)]
minor drawing code cleanup

10 years agorework sh2 sync, again..
notaz [Fri, 26 Jul 2013 22:23:56 +0000 (01:23 +0300)]
rework sh2 sync, again..

also some new debug and poll code
VF seems to be ok at least..

10 years agodrc: tune invalidation
notaz [Mon, 22 Jul 2013 22:43:22 +0000 (01:43 +0300)]
drc: tune invalidation

10 years agocomment adjustments
notaz [Mon, 22 Jul 2013 19:43:02 +0000 (22:43 +0300)]
comment adjustments

10 years agodrc: various fixes / refactoring
notaz [Mon, 22 Jul 2013 00:55:26 +0000 (03:55 +0300)]
drc: various fixes / refactoring

10 years agosh2dasm: print addrs consistently with everything else
notaz [Mon, 22 Jul 2013 00:53:04 +0000 (03:53 +0300)]
sh2dasm: print addrs consistently with everything else

10 years agodrc: fix regcache and invalidation issues
notaz [Sun, 21 Jul 2013 01:15:39 +0000 (04:15 +0300)]
drc: fix regcache and invalidation issues

10 years agodrc: debug improvements
notaz [Sat, 20 Jul 2013 22:56:45 +0000 (01:56 +0300)]
drc: debug improvements

10 years agodrc: split disassembly to separate pass
notaz [Sat, 20 Jul 2013 17:33:44 +0000 (20:33 +0300)]
drc: split disassembly to separate pass

allows easier analysis

10 years agosh2: minor fixes
notaz [Sat, 20 Jul 2013 17:32:54 +0000 (20:32 +0300)]
sh2: minor fixes

10 years agodrc: rm write irq check
notaz [Sat, 20 Jul 2013 17:29:59 +0000 (20:29 +0300)]
drc: rm write irq check

does more bad than good

10 years agodrc: rework block link tracking
notaz [Wed, 17 Jul 2013 23:14:25 +0000 (02:14 +0300)]
drc: rework block link tracking

10 years agodrc: rework block tracking and lookup
notaz [Wed, 17 Jul 2013 00:17:44 +0000 (03:17 +0300)]
drc: rework block tracking and lookup

- all 3 caches have their own hash tables (for now?)
- block entry points have separate structures from blocks,
  so invalidation can now properly be done

10 years agodrc: some renaming
notaz [Tue, 16 Jul 2013 21:15:40 +0000 (00:15 +0300)]
drc: some renaming

10 years agodrc: rework invalidation yet more
notaz [Tue, 16 Jul 2013 00:14:24 +0000 (03:14 +0300)]
drc: rework invalidation yet more

should be reliable now, with overlapping blocks and stuff

10 years agodrc: rework invalidation
notaz [Sun, 14 Jul 2013 23:21:16 +0000 (02:21 +0300)]
drc: rework invalidation

10 years agominor frontend fixes
notaz [Sat, 13 Jul 2013 21:05:19 +0000 (00:05 +0300)]
minor frontend fixes

10 years ago32x: fix savestates
notaz [Sat, 13 Jul 2013 21:04:50 +0000 (00:04 +0300)]
32x: fix savestates

10 years agodrc: timing fixes
notaz [Sat, 13 Jul 2013 16:40:35 +0000 (19:40 +0300)]
drc: timing fixes

10 years agodrc: lots of new debug code
notaz [Sat, 13 Jul 2013 15:34:47 +0000 (18:34 +0300)]
drc: lots of new debug code

10 years agosh2: timing fixes
notaz [Fri, 12 Jul 2013 23:52:53 +0000 (02:52 +0300)]
sh2: timing fixes

10 years agosh2: sync sh2 core with latest mame
notaz [Fri, 12 Jul 2013 23:44:16 +0000 (02:44 +0300)]
sh2: sync sh2 core with latest mame

10 years agorm dupe file
notaz [Thu, 11 Jul 2013 01:08:33 +0000 (04:08 +0300)]
rm dupe file

10 years agodrc: reload cycles after memhandlers
notaz [Tue, 9 Jul 2013 00:29:11 +0000 (03:29 +0300)]
drc: reload cycles after memhandlers

10 years ago32x: a hack for dealing with pwm inaccuracy
notaz [Tue, 9 Jul 2013 00:05:02 +0000 (03:05 +0300)]
32x: a hack for dealing with pwm inaccuracy

10 years agosave event times to savestates
notaz [Mon, 8 Jul 2013 00:12:01 +0000 (03:12 +0300)]
save event times to savestates

10 years ago32x: add some comments
notaz [Sun, 7 Jul 2013 23:44:16 +0000 (02:44 +0300)]
32x: add some comments

10 years ago32x: rework scheduling/timing
notaz [Sun, 7 Jul 2013 23:38:42 +0000 (02:38 +0300)]
32x: rework scheduling/timing

- don't run in line quantity
- decouple from 68k
- some things to tune..

10 years ago32x: start reworking sheduling
notaz [Sat, 6 Jul 2013 22:05:11 +0000 (01:05 +0300)]
32x: start reworking sheduling

10 years agodon't crash on bad timing
notaz [Wed, 3 Jul 2013 18:13:11 +0000 (21:13 +0300)]
don't crash on bad timing

10 years agoAdd armv6 target
twinaphex [Mon, 1 Jul 2013 10:39:40 +0000 (12:39 +0200)]
Add armv6 target

10 years ago32x: fix lockstep code
notaz [Tue, 2 Jul 2013 00:02:53 +0000 (03:02 +0300)]
32x: fix lockstep code

10 years ago32x: adjust sh2 cycles again
notaz [Mon, 1 Jul 2013 21:43:28 +0000 (00:43 +0300)]
32x: adjust sh2 cycles again

MK2 doesn't play it's animations if slave is clocked too slow..
the more we underclock slave, the more often animations get stuck
Why does it need so many cycles?

10 years agoavoid link-time dependency to libavcodec
notaz [Tue, 2 Jul 2013 00:00:34 +0000 (03:00 +0300)]
avoid link-time dependency to libavcodec

it has lots of lots of deps, and we want to run on barebone systems

10 years agosupport mp3 decoding over libavcodec
notaz [Mon, 1 Jul 2013 00:40:31 +0000 (03:40 +0300)]
support mp3 decoding over libavcodec

10 years agofrontend: fix build
notaz [Sun, 30 Jun 2013 23:21:00 +0000 (02:21 +0300)]
frontend: fix build