picodrive.git
6 years agodon't miss the sprite check
notaz [Mon, 25 Sep 2017 00:00:20 +0000 (03:00 +0300)]
don't miss the sprite check

DrawAllSprites depends on HighLnSpr, so prepare in DrawAllSprites was a
bad idea as lots of things may have changed

6 years agosome dma improvements
notaz [Sat, 23 Sep 2017 22:27:31 +0000 (01:27 +0300)]
some dma improvements

no idea if anything needs this, shouldn't hurt either

6 years agomake dma honour banking
notaz [Thu, 21 Sep 2017 23:16:15 +0000 (02:16 +0300)]
make dma honour banking

I was sure I had it done before, turns out not.

6 years agointegrate SPI EEPROM
notaz [Thu, 21 Sep 2017 23:00:50 +0000 (02:00 +0300)]
integrate SPI EEPROM

6 years agoimport SPI EEPROM from Genesis-Plus-GX
notaz [Thu, 21 Sep 2017 21:46:42 +0000 (00:46 +0300)]
import SPI EEPROM from Genesis-Plus-GX

Author: EkeEke

6 years agoupdate libpicofe
notaz [Wed, 20 Sep 2017 20:46:28 +0000 (23:46 +0300)]
update libpicofe

6 years agomemory: allow SRAM word writes
notaz [Wed, 20 Sep 2017 20:43:38 +0000 (23:43 +0300)]
memory: allow SRAM word writes

Was allowing both low and high byte writes by byte, but not word,
which was stupid.

6 years agoworkaround idledet breaking op test
notaz [Wed, 20 Sep 2017 20:39:20 +0000 (23:39 +0300)]
workaround idledet breaking op test

6 years ago68k cores: fix bcd instructions
notaz [Wed, 20 Sep 2017 20:37:58 +0000 (23:37 +0300)]
68k cores: fix bcd instructions

passing flamewing's test now

6 years agofamec: adjust divu timing
notaz [Tue, 12 Sep 2017 22:58:44 +0000 (01:58 +0300)]
famec: adjust divu timing

it's wrong, but I need it to be consistent with other cores now

6 years agofamec: fix CHK
notaz [Tue, 12 Sep 2017 22:57:37 +0000 (01:57 +0300)]
famec: fix CHK

6 years agofamec: improve trace a bit
notaz [Tue, 12 Sep 2017 22:55:25 +0000 (01:55 +0300)]
famec: improve trace a bit

or break it (nobody uses it anyway), just want m68k_opcode_sizes to pass

6 years agomusashi: don't generate unneeded handlers
notaz [Tue, 12 Sep 2017 22:46:30 +0000 (01:46 +0300)]
musashi: don't generate unneeded handlers

at least move16 was incorrectly hooked up

6 years agomusashi: run same amount of cycles as other cores
notaz [Mon, 11 Sep 2017 22:26:49 +0000 (01:26 +0300)]
musashi: run same amount of cycles as other cores

for consistency

6 years agomusashi: fix build on newer gcc
notaz [Mon, 11 Sep 2017 22:25:26 +0000 (01:25 +0300)]
musashi: fix build on newer gcc

6 years ago32x: skip unnecessary bios work in cd mode
notaz [Fri, 18 Aug 2017 21:38:03 +0000 (00:38 +0300)]
32x: skip unnecessary bios work in cd mode

6 years agosh2: handle some branch exceptions
notaz [Fri, 18 Aug 2017 00:44:25 +0000 (03:44 +0300)]
sh2: handle some branch exceptions

6 years agodrz80: drop fast_sp for compatibility
notaz [Thu, 10 Aug 2017 23:12:57 +0000 (02:12 +0300)]
drz80: drop fast_sp for compatibility

no measurable improvement in most cases anyway

6 years agoandroid: solve "text segment is not shareable"
notaz [Mon, 7 Aug 2017 23:25:37 +0000 (02:25 +0300)]
android: solve "text segment is not shareable"

Some asm is disabled and some performance is lost by this.

6 years agoget some gp2x stuff out of the way for others
notaz [Sun, 6 Aug 2017 20:22:53 +0000 (23:22 +0300)]
get some gp2x stuff out of the way for others

6 years agoremove dead code
notaz [Sun, 6 Aug 2017 20:02:28 +0000 (23:02 +0300)]
remove dead code

6 years agoeliminate texrels, part 3
notaz [Sun, 6 Aug 2017 19:25:26 +0000 (22:25 +0300)]
eliminate texrels, part 3

6 years agoconfigure: allow to override SDL_CONFIG
notaz [Sun, 6 Aug 2017 18:21:35 +0000 (21:21 +0300)]
configure: allow to override SDL_CONFIG

6 years agosome fps counter cosmetics
notaz [Sun, 6 Aug 2017 16:23:36 +0000 (19:23 +0300)]
some fps counter cosmetics

6 years agoeliminate texrels (wip2)
notaz [Sun, 6 Aug 2017 16:23:20 +0000 (19:23 +0300)]
eliminate texrels (wip2)

6 years agoeliminate texrels (wip)
notaz [Sat, 5 Aug 2017 23:03:35 +0000 (02:03 +0300)]
eliminate texrels (wip)

6 years agoremove some dead code
notaz [Sat, 5 Aug 2017 23:05:09 +0000 (02:05 +0300)]
remove some dead code

6 years agocd: fix missed null terminator
notaz [Sat, 5 Aug 2017 22:48:25 +0000 (01:48 +0300)]
cd: fix missed null terminator

6 years agofix android build
notaz [Thu, 3 Aug 2017 22:08:17 +0000 (01:08 +0300)]
fix android build

6 years agofix a name clash with newer zlib
notaz [Thu, 3 Aug 2017 21:36:13 +0000 (00:36 +0300)]
fix a name clash with newer zlib

7 years agofix some warnings
notaz [Sun, 16 Apr 2017 21:36:57 +0000 (00:36 +0300)]
fix some warnings

warning: array subscript is above array bounds [-Warray-bounds]

7 years agofix broken error path
notaz [Sun, 16 Apr 2017 21:36:30 +0000 (00:36 +0300)]
fix broken error path

7 years agouse system's zlib
notaz [Sun, 16 Apr 2017 21:34:00 +0000 (00:34 +0300)]
use system's zlib

except for libretro
github issue #45

7 years agoget rid of the silly unzip_stream
notaz [Sun, 16 Apr 2017 21:30:30 +0000 (00:30 +0300)]
get rid of the silly unzip_stream

... and just use zlib's inflate. Needed for the next commit.

8 years agoadjust famec flags after O2 -> O3 change
notaz [Wed, 27 Jan 2016 00:11:16 +0000 (02:11 +0200)]
adjust famec flags after O2 -> O3 change

8 years agoMerge pull request #37 from Chips-fr/master
notaz [Wed, 27 Jan 2016 00:06:13 +0000 (02:06 +0200)]
Merge pull request #37 from Chips-fr/master

Add Rpi1 and Rpi2 platform support with GLES upscaling

8 years agoAdd Rpi1 and Rpi2 support with GLES upscaling
Chips-fr [Wed, 20 Jan 2016 19:34:46 +0000 (20:34 +0100)]
Add Rpi1 and Rpi2 support with GLES upscaling

8 years agoMerge pull request #34 from Chips-fr/master
notaz [Mon, 26 Oct 2015 21:28:44 +0000 (23:28 +0200)]
Merge pull request #34 from Chips-fr/master

Enabe JIT for linux arm platform(Rpi...)

8 years agoEnabe JIT for linux arm platform(Rpi...)
Chips-fr [Sun, 25 Oct 2015 17:19:48 +0000 (18:19 +0100)]
Enabe JIT for linux arm platform(Rpi...)

8 years agoanother try to reduce compiler problems with fame
notaz [Fri, 28 Aug 2015 23:19:38 +0000 (02:19 +0300)]
another try to reduce compiler problems with fame

also update libpicofe

8 years agoupdate to newer cyclone and libpicofe
notaz [Tue, 2 Dec 2014 23:20:46 +0000 (01:20 +0200)]
update to newer cyclone and libpicofe

8 years agomake memcpy32/memset32 take void *
notaz [Sat, 5 Apr 2014 18:55:02 +0000 (21:55 +0300)]
make memcpy32/memset32 take void *

9 years agoMerge pull request #26 from EXL/fix_avcodec_compile_errors
notaz [Thu, 23 Apr 2015 20:17:59 +0000 (23:17 +0300)]
Merge pull request #26 from EXL/fix_avcodec_compile_errors

Fix avcodec compile errors

9 years agoFix avcodec compile errors
EXL [Tue, 21 Apr 2015 10:32:16 +0000 (16:32 +0600)]
Fix avcodec compile errors

mp3_libavcodec.c:141:31: error: ‘CODEC_ID_MP3’ undeclared (first use in this function)
mp3_libavcodec.c:141:31: error: type of formal parameter 1 is incomplete

9 years agoMerge pull request #17 from fr500/master
notaz [Mon, 4 Aug 2014 23:42:01 +0000 (02:42 +0300)]
Merge pull request #17 from fr500/master

fix libretro-super build

9 years agofix libretro-super build
Andrés Suárez [Wed, 30 Jul 2014 14:24:59 +0000 (09:24 -0500)]
fix libretro-super build

fix libretro-super build

10 years ago(Clang) Linker fix
twinaphex [Tue, 10 Dec 2013 21:25:38 +0000 (22:25 +0100)]
(Clang) Linker fix

10 years ago(iOS) Add min SDK version flags
twinaphex [Sat, 30 Nov 2013 01:31:42 +0000 (02:31 +0100)]
(iOS) Add min SDK version flags

10 years agotry to deal with some famec compiler issues
notaz [Sat, 7 Dec 2013 00:03:38 +0000 (02:03 +0200)]
try to deal with some famec compiler issues

10 years agolibretro: empty srm prevention hack
notaz [Sun, 13 Oct 2013 15:46:48 +0000 (18:46 +0300)]
libretro: empty srm prevention hack

10 years agorelease 1.91 v1.91
notaz [Thu, 10 Oct 2013 21:16:37 +0000 (00:16 +0300)]
release 1.91

10 years agofrontend: eliminate osd_text dupes
notaz [Sat, 12 Oct 2013 19:05:04 +0000 (22:05 +0300)]
frontend: eliminate osd_text dupes

not only dupe code is bad, it's crasing too

10 years agofix use of freed mem
notaz [Fri, 11 Oct 2013 23:43:47 +0000 (02:43 +0300)]
fix use of freed mem

10 years agogp2x: hack to avoid 940 reinit
notaz [Sat, 12 Oct 2013 00:16:51 +0000 (03:16 +0300)]
gp2x: hack to avoid 940 reinit

..it used to rely on upper layer to avoid YM2612Init_940() calls
on menu entry

10 years agoremove regs union due to compiler issues
notaz [Fri, 11 Oct 2013 21:40:40 +0000 (00:40 +0300)]
remove regs union due to compiler issues

GP2X toolchains are padding the unions no matter what :(

10 years agoupdate gp2x for input changes
notaz [Thu, 10 Oct 2013 22:05:28 +0000 (01:05 +0300)]
update gp2x for input changes

10 years agosplit base_readme to more traditional files
notaz [Thu, 10 Oct 2013 01:04:57 +0000 (04:04 +0300)]
split base_readme to more traditional files

10 years agoDon't include dead code when linking program (saves 48kB)
Paul Cercueil [Mon, 30 Sep 2013 12:29:24 +0000 (09:29 -0300)]
Don't include dead code when linking program (saves 48kB)

10 years agoUse PBTN_MOK instead of PBTN_MA3 to confirm loading/saving state
Paul Cercueil [Mon, 7 Oct 2013 22:46:49 +0000 (00:46 +0200)]
Use PBTN_MOK instead of PBTN_MA3 to confirm loading/saving state

10 years agoAdd support for the OpenDingux platform
Paul Cercueil [Mon, 7 Oct 2013 19:06:54 +0000 (21:06 +0200)]
Add support for the OpenDingux platform

10 years agoMake the platform code provide the key mapping
Paul Cercueil [Mon, 7 Oct 2013 17:35:46 +0000 (19:35 +0200)]
Make the platform code provide the key mapping

notaz: fix pandora build

10 years agoAdd a couple of fixes to allow double buffering to work
Paul Cercueil [Mon, 7 Oct 2013 15:14:09 +0000 (17:14 +0200)]
Add a couple of fixes to allow double buffering to work

10 years agoMenu: Use function plat_get_skin_dir to locate bg image
Paul Cercueil [Sun, 22 Sep 2013 10:59:38 +0000 (07:59 -0300)]
Menu: Use function plat_get_skin_dir to locate bg image

10 years agoconfigure: Deduce the path to sdl-config from the compiler
Paul Cercueil [Thu, 26 Sep 2013 13:09:38 +0000 (10:09 -0300)]
configure: Deduce the path to sdl-config from the compiler

10 years agofix yet another sync issue..
notaz [Tue, 8 Oct 2013 23:26:52 +0000 (02:26 +0300)]
fix yet another sync issue..

10 years agocd: hacks..
notaz [Sun, 6 Oct 2013 22:39:53 +0000 (01:39 +0300)]
cd: hacks..

10 years agocd: switch to CD drive emu code from genplus
notaz [Sun, 6 Oct 2013 18:08:07 +0000 (21:08 +0300)]
cd: switch to CD drive emu code from genplus

same license, much cleaner code

10 years agocd: switch to CD controller code from genplus
notaz [Sat, 5 Oct 2013 01:14:45 +0000 (04:14 +0300)]
cd: switch to CD controller code from genplus

same license, much cleaner code
using own dma code though..

10 years agocd: fix cycle overflow issue
notaz [Fri, 4 Oct 2013 20:24:36 +0000 (23:24 +0300)]
cd: fix cycle overflow issue

10 years agosound: remove cd rate limitations
notaz [Fri, 4 Oct 2013 00:50:29 +0000 (03:50 +0300)]
sound: remove cd rate limitations

this was only there for mp3 and is now causing problems
on caanoo due to it's sample rate limitations

10 years agogp2x: various fixes, prepare for release
notaz [Fri, 4 Oct 2013 00:18:59 +0000 (03:18 +0300)]
gp2x: various fixes, prepare for release

10 years agolet linux/plat know it's for compiled pandora
notaz [Wed, 2 Oct 2013 23:16:09 +0000 (02:16 +0300)]
let linux/plat know it's for compiled pandora

10 years agolibretro: get rid of borders
notaz [Wed, 2 Oct 2013 23:12:37 +0000 (02:12 +0300)]
libretro: get rid of borders

10 years agoforgotten credit..
notaz [Wed, 2 Oct 2013 17:04:17 +0000 (20:04 +0300)]
forgotten credit..

10 years agorelease 1.90 v1.90
notaz [Mon, 23 Sep 2013 23:42:50 +0000 (02:42 +0300)]
release 1.90

10 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

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

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

10 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

10 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

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

fahrenheit..

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

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

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

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

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

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

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

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

10 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

10 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

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

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

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

10 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

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

10 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

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

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

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