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

10 years agobetter workaround for ios
notaz [Sun, 30 Jun 2013 22:36:38 +0000 (00:36 +0200)]
better workaround for ios

10 years agotemporary (?) workaround for ios build
notaz [Sun, 30 Jun 2013 22:03:14 +0000 (00:03 +0200)]
temporary (?) workaround for ios build

10 years agodon't assume svp dynarec on ARM so that it can be disabled
notaz [Sun, 30 Jun 2013 21:58:59 +0000 (23:58 +0200)]
don't assume svp dynarec on ARM so that it can be disabled

10 years agosplit out more asm from build, disable is on iOS (for now?)
notaz [Sun, 30 Jun 2013 18:25:02 +0000 (20:25 +0200)]
split out more asm from build, disable is on iOS (for now?)

10 years agoadd mremap implementation for where it's not provided
notaz [Sun, 30 Jun 2013 18:22:49 +0000 (20:22 +0200)]
add mremap implementation for where it's not provided

10 years agofrontend: simplify config handling
notaz [Sat, 29 Jun 2013 20:02:48 +0000 (23:02 +0300)]
frontend: simplify config handling

this 'save diff from default config, all games in single config file'
thing wasn't a great idea, the implementation was complicated
and bug-ridden, so get rid of it.

10 years agoplat_sdl: handle exit in some way
notaz [Sat, 29 Jun 2013 20:01:07 +0000 (23:01 +0300)]
plat_sdl: handle exit in some way

10 years agoadd .md extension
notaz [Sat, 29 Jun 2013 17:23:15 +0000 (20:23 +0300)]
add .md extension

some popular romset has binary dumps as .md,
although there is also some old ROM copier format too?

10 years agobump version, since this is not the same as last released binary
notaz [Sat, 29 Jun 2013 01:17:13 +0000 (04:17 +0300)]
bump version, since this is not the same as last released binary

also clean up redundant version.h files

10 years agofamec: fix 64bit portability issues
notaz [Sat, 29 Jun 2013 00:39:20 +0000 (03:39 +0300)]
famec: fix 64bit portability issues

10 years agodefault config adjustments
notaz [Sat, 29 Jun 2013 00:38:32 +0000 (03:38 +0300)]
default config adjustments

10 years agoinitial android build support
notaz [Fri, 28 Jun 2013 22:37:06 +0000 (01:37 +0300)]
initial android build support

10 years agobuild carthw.cfg in
notaz [Fri, 28 Jun 2013 00:01:53 +0000 (03:01 +0300)]
build carthw.cfg in

things like libretro don't want external files,
but we still look for one and prefer it if it's available

10 years agodrc: some portability fixes
notaz [Thu, 27 Jun 2013 22:41:52 +0000 (01:41 +0300)]
drc: some portability fixes

10 years agoinitial libretro port
notaz [Thu, 27 Jun 2013 00:33:41 +0000 (03:33 +0300)]
initial libretro port

10 years agomove ROM detect code to pico/
notaz [Wed, 26 Jun 2013 00:23:44 +0000 (03:23 +0300)]
move ROM detect code to pico/

10 years agoadjust sh2 cycles so that at least Chaotix doesn't glitch so bad
notaz [Wed, 26 Jun 2013 00:02:27 +0000 (03:02 +0300)]
adjust sh2 cycles so that at least Chaotix doesn't glitch so bad

10 years agoget rid of port_config.s
notaz [Mon, 24 Jun 2013 23:38:21 +0000 (02:38 +0300)]
get rid of port_config.s

10 years agoadd configure, revive pnd build, unify/refactor things
notaz [Mon, 24 Jun 2013 22:39:21 +0000 (01:39 +0300)]
add configure, revive pnd build, unify/refactor things

10 years agopandora's skin from old 1.80 release
notaz [Mon, 24 Jun 2013 16:14:02 +0000 (19:14 +0300)]
pandora's skin from old 1.80 release

10 years agorename config.c/h
notaz [Mon, 24 Jun 2013 15:43:56 +0000 (18:43 +0300)]
rename config.c/h

10 years agosupport multiple sound drivers
notaz [Sun, 23 Jun 2013 19:26:56 +0000 (22:26 +0300)]
support multiple sound drivers

10 years agostarting SDL port, refactoring
notaz [Sat, 22 Jun 2013 23:28:52 +0000 (02:28 +0300)]
starting SDL port, refactoring

10 years agominor fixes from old tree
notaz [Sat, 22 Jun 2013 23:03:44 +0000 (02:03 +0300)]
minor fixes from old tree

10 years agosome uncommitted old mapper code
notaz [Sat, 22 Jun 2013 23:00:43 +0000 (02:00 +0300)]
some uncommitted old mapper code

apparently from 2011

10 years agoclarify PicoDrive's license
notaz [Sat, 22 Jun 2013 16:16:24 +0000 (19:16 +0300)]
clarify PicoDrive's license

- PicoDrive was originally released by fDave with simple
  "free for non-commercial use / For commercial use, separate licencing
  terms must be obtained" license and I kept it in my releases.
- in 2011, fDave re-released his code (same that I used as base
  many years ago) dual licensed with GPLv2 and MAME licenses:
    https://code.google.com/p/cyclone68000/

Based on the above I now proclaim that the whole source code is licensed
under the MAME license as more elaborate form of "for non-commercial use".
If that raises any doubt, I announce that all my modifications (which
is the vast majority of code by now) is licensed under the MAME license,
as it reads in COPYING file in this commit.

This does not affect ym2612.c/sn76496.c that were MAME licensed already
from the beginning.

10 years agoremove unused/unmaintained code
notaz [Sat, 22 Jun 2013 16:16:16 +0000 (19:16 +0300)]
remove unused/unmaintained code

RIP Symbian..
mz80 is unused

10 years agoswitch Cyclone to submodule on it's own git repo
notaz [Sat, 22 Jun 2013 16:16:11 +0000 (19:16 +0300)]
switch Cyclone to submodule on it's own git repo

that version also has it's license clearly stated by fdave

10 years agostart new makefile, migrate to libpicofe
notaz [Sat, 22 Jun 2013 16:16:08 +0000 (19:16 +0300)]
start new makefile, migrate to libpicofe

10 years agoadd gitignore, gitsubmodules
notaz [Sat, 22 Jun 2013 16:15:54 +0000 (19:15 +0300)]
add gitignore, gitsubmodules

11 years agoextend mmap wrapper functionality
notaz [Tue, 28 Aug 2012 22:56:20 +0000 (22:56 +0000)]
extend mmap wrapper functionality

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@960 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agoadd mmap prototypes
notaz [Tue, 28 Aug 2012 22:55:20 +0000 (22:55 +0000)]
add mmap prototypes

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@959 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agoinput: in_sdl: preliminary joystick support
notaz [Mon, 23 Jul 2012 23:44:44 +0000 (23:44 +0000)]
input: in_sdl: preliminary joystick support

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@958 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agoinput: SDL support
notaz [Mon, 23 Jul 2012 23:44:05 +0000 (23:44 +0000)]
input: SDL support

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@957 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agomenu: support seeking the filelist with letter keys
notaz [Sun, 22 Jul 2012 16:56:34 +0000 (16:56 +0000)]
menu: support seeking the filelist with letter keys

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@956 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agomenu: support seeking the filelist with letter keys
notaz [Sun, 22 Jul 2012 16:56:25 +0000 (16:56 +0000)]
menu: support seeking the filelist with letter keys

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@955 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agoinput: in_gp2x refactoring
notaz [Sun, 22 Jul 2012 14:38:13 +0000 (14:38 +0000)]
input: in_gp2x refactoring

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@954 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agoinput: move default bind handling to input core
notaz [Sun, 22 Jul 2012 14:37:07 +0000 (14:37 +0000)]
input: move default bind handling to input core

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@953 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agoinput: move default bind handling to input core
notaz [Sun, 22 Jul 2012 14:36:53 +0000 (14:36 +0000)]
input: move default bind handling to input core

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@952 be3aeb3a-fb24-0410-a615-afba39da0efa

11 years agomenu: show savestate date
notaz [Sun, 22 Jul 2012 14:32:38 +0000 (14:32 +0000)]
menu: show savestate date

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@951 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agofbdev: save and restore support
notaz [Tue, 10 Apr 2012 00:04:15 +0000 (00:04 +0000)]
fbdev: save and restore support

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@950 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoxenv: allow to specify event filter
notaz [Mon, 9 Apr 2012 21:31:45 +0000 (21:31 +0000)]
xenv: allow to specify event filter

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@949 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoxenv: add minimize functionality
notaz [Mon, 9 Apr 2012 21:05:48 +0000 (21:05 +0000)]
xenv: add minimize functionality

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@948 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoxenv: allow reading mouse through callbacks, for SDL project
notaz [Mon, 12 Mar 2012 22:50:05 +0000 (22:50 +0000)]
xenv: allow reading mouse through callbacks, for SDL project

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@947 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agofbdev: crash on single buffering
notaz [Sat, 7 Jan 2012 21:03:43 +0000 (21:03 +0000)]
fbdev: crash on single buffering

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@942 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoxenv: init g_kbdfd, as 0 is stdin
notaz [Sat, 7 Jan 2012 21:02:42 +0000 (21:02 +0000)]
xenv: init g_kbdfd, as 0 is stdin

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@941 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoinput: evdev: do centering adjustment
notaz [Sat, 10 Dec 2011 23:35:16 +0000 (23:35 +0000)]
input: evdev: do centering adjustment

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@940 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agomenu: limit enum text length
notaz [Sat, 10 Dec 2011 23:32:30 +0000 (23:32 +0000)]
menu: limit enum text length

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@939 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoinput: support analog read
notaz [Fri, 9 Dec 2011 23:59:47 +0000 (23:59 +0000)]
input: support analog read

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@938 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoinput: support analog read
notaz [Fri, 9 Dec 2011 23:58:48 +0000 (23:58 +0000)]
input: support analog read

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@937 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoinput: don't configure unprobed devices
notaz [Sun, 30 Oct 2011 19:15:24 +0000 (19:15 +0000)]
input: don't configure unprobed devices

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@936 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoinput: make it more modular
notaz [Thu, 27 Oct 2011 23:23:08 +0000 (23:23 +0000)]
input: make it more modular

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@935 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoinput: make it more modular
notaz [Thu, 27 Oct 2011 23:22:55 +0000 (23:22 +0000)]
input: make it more modular

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@934 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agomenu: don't assume onoff vars are int
notaz [Sun, 25 Sep 2011 12:38:21 +0000 (12:38 +0000)]
menu: don't assume onoff vars are int

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@933 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agolinux: oshide becomes xenv for broader use
notaz [Sat, 3 Sep 2011 15:33:25 +0000 (15:33 +0000)]
linux: oshide becomes xenv for broader use

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@932 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agomenu: add pre-draw func and move pico ext filter
notaz [Wed, 6 Jul 2011 18:38:18 +0000 (18:38 +0000)]
menu: add pre-draw func and move pico ext filter

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@931 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoupdate platform code to suit recent PCSX related changes
notaz [Sun, 22 May 2011 13:45:53 +0000 (13:45 +0000)]
update platform code to suit recent PCSX related changes

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@930 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agoa bugfix and cleanup in common code
notaz [Sun, 22 May 2011 13:37:20 +0000 (13:37 +0000)]
a bugfix and cleanup in common code

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@929 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years agominor adjustmens
notaz [Sat, 21 May 2011 18:18:27 +0000 (18:18 +0000)]
minor adjustmens

more uncommited 1.80 code..

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@928 be3aeb3a-fb24-0410-a615-afba39da0efa

12 years ago1.80 readme and filter for it
notaz [Sat, 21 May 2011 17:57:18 +0000 (17:57 +0000)]
1.80 readme and filter for it

don't know why this wasn't commited back in 2010..

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@927 be3aeb3a-fb24-0410-a615-afba39da0efa

13 years agoinput: add hack to allow abs-only devices
notaz [Mon, 21 Mar 2011 00:53:04 +0000 (00:53 +0000)]
input: add hack to allow abs-only devices

this is mainly for pandora nubs.

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@926 be3aeb3a-fb24-0410-a615-afba39da0efa

13 years agoinput: detect dead devices, always set keynames
notaz [Mon, 21 Mar 2011 00:46:31 +0000 (00:46 +0000)]
input: detect dead devices, always set keynames

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@925 be3aeb3a-fb24-0410-a615-afba39da0efa