picodrive.git
13 months agoreadme, some cleanup
kub [Sun, 3 Sep 2023 20:47:36 +0000 (22:47 +0200)]
readme, some cleanup

15 months agoMerge pull request #88 from 'upstream/irixxxx'
kub [Sun, 3 Sep 2023 20:05:02 +0000 (22:05 +0200)]
Merge pull request #88 from 'upstream/irixxxx'

* upstream/irixxxx:
  readme: make it more neutral

15 months agoplatform, revisit menu, add option profiles
kub [Wed, 30 Aug 2023 20:54:10 +0000 (22:54 +0200)]
platform, revisit menu, add option profiles

15 months agoAdd hack for unlicensed games that don't handle the Z80 bus properly
techmetx11 [Mon, 21 Aug 2023 15:21:25 +0000 (16:21 +0100)]
Add hack for unlicensed games that don't handle the Z80 bus properly

15 months agolibretro, fix crash when exiting 32x
kub [Fri, 11 Aug 2023 12:34:31 +0000 (12:34 +0000)]
libretro, fix crash when exiting 32x

16 months agosms, handle some more special cases
kub [Thu, 20 Jul 2023 21:02:54 +0000 (21:02 +0000)]
sms, handle some more special cases

16 months agoplatform, menu revision
kub [Thu, 20 Jul 2023 20:25:59 +0000 (20:25 +0000)]
platform, menu revision

16 months agosms, some handling for gg carts running in sms mode
kub [Mon, 17 Jul 2023 20:02:20 +0000 (22:02 +0200)]
sms, some handling for gg carts running in sms mode

16 months agocore, optimize vcounter handling
kub [Mon, 17 Jul 2023 19:16:38 +0000 (21:16 +0200)]
core, optimize vcounter handling

16 months agocore, fix z80 vcounter value
kub [Wed, 12 Jul 2023 20:35:33 +0000 (22:35 +0200)]
core, fix z80 vcounter value

16 months ago32x, improve pwm volume accuracy
kub [Tue, 11 Jul 2023 21:43:00 +0000 (21:43 +0000)]
32x, improve pwm volume accuracy

16 months agocore, improve 68k timing accuracy
kub [Tue, 11 Jul 2023 21:18:05 +0000 (21:18 +0000)]
core, improve 68k timing accuracy

16 months agosms, fix menu background scaling and position
kub [Thu, 6 Jul 2023 17:25:47 +0000 (17:25 +0000)]
sms, fix menu background scaling and position

17 months agomcd, fix audio crash after end of last track
kub [Wed, 5 Jul 2023 19:54:40 +0000 (19:54 +0000)]
mcd, fix audio crash after end of last track

17 months agosound, some ym2612 arm cleanup
kub [Mon, 3 Jul 2023 21:45:46 +0000 (23:45 +0200)]
sound, some ym2612 arm cleanup

17 months agoz80, minor fixes to drz80 + cz80 to bring them in sync
kub [Mon, 3 Jul 2023 21:37:22 +0000 (23:37 +0200)]
z80, minor fixes to drz80 + cz80 to bring them in sync

17 months ago32x, fix disabling via ADEN (memory leak, mcd)
kub [Mon, 3 Jul 2023 21:29:51 +0000 (23:29 +0200)]
32x, fix disabling via ADEN (memory leak, mcd)

17 months ago32x, add disabling via ADEN (for testpico)
kub [Fri, 30 Jun 2023 21:44:26 +0000 (21:44 +0000)]
32x, add disabling via ADEN (for testpico)

17 months agosound, improve ym2612 timers implementation
kub [Fri, 30 Jun 2023 19:12:53 +0000 (19:12 +0000)]
sound, improve ym2612 timers implementation

17 months agomcd, fix no chd music in some cases
kub [Thu, 29 Jun 2023 19:54:07 +0000 (19:54 +0000)]
mcd, fix no chd music in some cases

17 months agosound, improve ym2612 timers implementation
kub [Thu, 22 Jun 2023 22:16:47 +0000 (22:18 +0002)]
sound, improve ym2612 timers implementation

17 months agomd, improve z80/68k synchronization
kub [Thu, 22 Jun 2023 22:10:50 +0000 (22:12 +0002)]
md, improve z80/68k synchronization

17 months agosound, fixes for ym2612 (ARM and C)
kub [Wed, 21 Jun 2023 18:15:33 +0000 (18:15 +0000)]
sound, fixes for ym2612 (ARM and C)

17 months agoadd CI for psp
kub [Fri, 16 Jun 2023 21:33:36 +0000 (21:33 +0000)]
add CI for psp

17 months agosound: fix ym2612 forgetting lfo state when dac is on
notaz [Thu, 15 Jun 2023 23:06:04 +0000 (02:06 +0300)]
sound: fix ym2612 forgetting lfo state when dac is on

for less bad audio in OD2

17 months agoadd CI for GP2X also
notaz [Wed, 14 Jun 2023 20:47:26 +0000 (23:47 +0300)]
add CI for GP2X also

no helix as it has (had?) weird license IIRC

17 months agoattempt some CI building using github actions
notaz [Tue, 13 Jun 2023 21:45:13 +0000 (00:45 +0300)]
attempt some CI building using github actions

17 months agoplatform: revive pandora build
notaz [Tue, 13 Jun 2023 21:39:34 +0000 (00:39 +0300)]
platform: revive pandora build

17 months agosound: fix ym2612 address handling
notaz [Mon, 12 Jun 2023 20:55:50 +0000 (23:55 +0300)]
sound: fix ym2612 address handling

I already fixed this back in 2017 with
151df6adf9d63c9b8c8a61946243800610ac3a65, but forgot about
ym2612_write_local(). Fixes missing sounds in Overdrive2.

17 months agocore, regression fix for h32 scaling
kub [Sun, 11 Jun 2023 21:17:50 +0000 (21:17 +0000)]
core, regression fix for h32 scaling

17 months ago32x, fix softscale enabled by 32x
kub [Sun, 11 Jun 2023 19:11:18 +0000 (19:11 +0000)]
32x, fix softscale enabled by 32x

also some streamlining cleanup in the drawing code

17 months ago32x, fix regression in poll detection
kub [Fri, 9 Jun 2023 19:27:21 +0000 (19:27 +0000)]
32x, fix regression in poll detection

17 months agocore, testpico fixes
kub [Fri, 9 Jun 2023 19:22:51 +0000 (19:22 +0000)]
core, testpico fixes

17 months ago32x, fix startup crash
kub [Wed, 7 Jun 2023 21:21:58 +0000 (21:21 +0000)]
32x, fix startup crash

18 months agomd, fix carthw.cfg parsing
kub [Mon, 5 Jun 2023 22:21:16 +0000 (22:21 +0000)]
md, fix carthw.cfg parsing

18 months agoMerge pull request #89 from upstream/irixxxx_xin1
kub [Mon, 5 Jun 2023 22:14:52 +0000 (22:14 +0000)]
Merge pull request #89 from upstream/irixxxx_xin1

* upstream/irixxxx_xin1:
  carthw: more x-in-1 carts
  carthw: more accurate x-in-1 pirate handling

18 months agocarthw: more x-in-1 carts
notaz [Sun, 4 Jun 2023 22:09:06 +0000 (01:09 +0300)]
carthw: more x-in-1 carts

Also regenerate pico/carthw_cfg.c

18 months agocore, always allocate a power of 2 for cartridges
kub [Mon, 5 Jun 2023 18:04:24 +0000 (18:04 +0000)]
core, always allocate a power of 2 for cartridges

18 months agolibretro, more build fixes
kub [Sun, 4 Jun 2023 12:22:26 +0000 (12:22 +0000)]
libretro, more build fixes

18 months agolibretro, fix build conflict
kub [Sat, 3 Jun 2023 21:09:05 +0000 (21:09 +0000)]
libretro, fix build conflict

18 months agocarthw: more accurate x-in-1 pirate handling
notaz [Sun, 4 Jun 2023 21:41:32 +0000 (00:41 +0300)]
carthw: more accurate x-in-1 pirate handling

There is no A0 so it should be masked out. Even though the cart could
use use LWR as A0, it's not actually connected as seen here:
http://gendev.spritesmind.net/forum/viewtopic.php?f=2&p=37995

18 months agoreadme: make it more neutral
notaz [Sun, 4 Jun 2023 21:26:10 +0000 (00:26 +0300)]
readme: make it more neutral

I'd like the readme to not look weird in notaz/picodrive when I merge
all the changes, where it will be unclear who the 1st person pronoun
refers to. Several people have put quite some effort into it, so I think
it's best not to highlight anyone.

Also remove the old readme which has become outdated.

18 months agomcd, fix prototype
kub [Sat, 3 Jun 2023 20:56:42 +0000 (20:56 +0000)]
mcd, fix prototype

18 months agocore, fix crash if image couldn't be loaded
kub [Sat, 3 Jun 2023 07:50:23 +0000 (07:50 +0000)]
core, fix crash if image couldn't be loaded

18 months ago32x, improve poll detection
kub [Sat, 3 Jun 2023 07:49:17 +0000 (07:49 +0000)]
32x, improve poll detection

18 months ago32x, fixes for msu
kub [Tue, 30 May 2023 22:10:12 +0000 (22:10 +0000)]
32x, fixes for msu

18 months agomcd, fixes for msu
kub [Tue, 30 May 2023 22:07:56 +0000 (22:07 +0000)]
mcd, fixes for msu

18 months agoplatform, basic msu-md support
kub [Sun, 28 May 2023 13:56:55 +0000 (13:56 +0000)]
platform, basic msu-md support

loading a .cue file will look for a cartridge image with the same basename
and an extension of "gen", "smd", "md", "32x".

18 months agomcd, preparations for msu support (arm version)
kub [Fri, 26 May 2023 20:45:13 +0000 (20:45 +0000)]
mcd, preparations for msu support (arm version)

18 months agomcd, preparations for msu support
kub [Fri, 26 May 2023 19:09:37 +0000 (19:09 +0000)]
mcd, preparations for msu support

18 months agomcd, fixes and improvements by mcd-verificator
kub [Fri, 19 May 2023 14:10:22 +0000 (14:10 +0000)]
mcd, fixes and improvements by mcd-verificator

18 months agofix .bin extension support for archives
crashGG [Mon, 15 May 2023 06:34:09 +0000 (09:34 +0300)]
fix .bin extension support for archives

fix the issue which can not load roms with the extension ".bin" in a zip package.

18 months agomcd, fix Word-RAM in 2M mode
kub [Thu, 11 May 2023 22:39:28 +0000 (22:39 +0000)]
mcd, fix Word-RAM in 2M mode

18 months agomcd, regression fix
kub [Thu, 11 May 2023 22:17:37 +0000 (22:17 +0000)]
mcd, regression fix

yikes...

18 months agomcd 68k, fix autoload for cyclone
kub [Thu, 11 May 2023 22:06:23 +0000 (22:06 +0000)]
mcd 68k, fix autoload for cyclone

18 months ago32x, tiny optimization
kub [Wed, 10 May 2023 22:23:32 +0000 (22:23 +0000)]
32x, tiny optimization

18 months agomcd, some cleanup, fix Word-RAM in 2M mode
kub [Wed, 10 May 2023 22:20:06 +0000 (22:20 +0000)]
mcd, some cleanup, fix Word-RAM in 2M mode

18 months agomcd, improve cpu scheduling
kub [Tue, 9 May 2023 10:04:40 +0000 (10:04 +0000)]
mcd, improve cpu scheduling

19 months agobuild, add ASAN, some CFLAGS changes, add revision
kub [Tue, 2 May 2023 19:59:53 +0000 (19:59 +0000)]
build, add ASAN, some CFLAGS changes, add revision

19 months agosh2 drc, cleanup and minor fixes (risc-v, division, typos)
kub [Mon, 1 May 2023 09:08:23 +0000 (09:08 +0000)]
sh2 drc, cleanup and minor fixes (risc-v, division, typos)

19 months agoplatform gp2x, fix compilation with original toolchain (gcc 4.1)
kub [Sun, 30 Apr 2023 22:11:07 +0000 (22:11 +0000)]
platform gp2x, fix compilation with original toolchain (gcc 4.1)

19 months agocore vdp, implement partial line blanking
kub [Thu, 27 Apr 2023 20:24:21 +0000 (22:24 +0200)]
core vdp, implement partial line blanking

19 months agocore vdp, avoid rendering if no changes to RAMs/registers
kub [Thu, 27 Apr 2023 20:18:55 +0000 (22:18 +0200)]
core vdp, avoid rendering if no changes to RAMs/registers

mainly benefits 32X in faster/fastest rendering mode, 0-5% saved

19 months agocore vdp, some cleanup
kub [Thu, 27 Apr 2023 19:19:56 +0000 (21:19 +0200)]
core vdp, some cleanup

19 months agocore, improve 68K/Z80 timing
kub [Mon, 24 Apr 2023 21:50:06 +0000 (23:50 +0200)]
core, improve 68K/Z80 timing

19 months agocore vdp, improve sprite rendering
kub [Wed, 12 Apr 2023 18:11:29 +0000 (18:11 +0000)]
core vdp, improve sprite rendering

implements kabuto's phase 2, fixes rotating 3D blocks in Overdrive 2

19 months agosvp drc, fix crash in jump patch
kub [Tue, 11 Apr 2023 19:08:36 +0000 (19:08 +0000)]
svp drc, fix crash in jump patch

20 months agomd, implement z80 cycle stealing when accessing 68k bus
kub [Wed, 5 Apr 2023 18:02:47 +0000 (20:02 +0200)]
md, implement z80 cycle stealing when accessing 68k bus

this fixes sound issues in Overdrive 2

20 months agocore vdp, fix sprite rendering issues with Overdrive 1/2
kub [Wed, 5 Apr 2023 18:00:37 +0000 (20:00 +0200)]
core vdp, fix sprite rendering issues with Overdrive 1/2

20 months agocore, make system detection by extension case insensitive
kub [Sun, 26 Mar 2023 10:35:39 +0000 (10:35 +0000)]
core, make system detection by extension case insensitive

20 months agomd vdp, fix sprite parsing (done on previous line)
kub [Sun, 26 Mar 2023 10:33:29 +0000 (10:33 +0000)]
md vdp, fix sprite parsing (done on previous line)

20 months agosms, cleanup, add missing tms palette to gp2x
kub [Tue, 7 Mar 2023 21:57:33 +0000 (21:57 +0000)]
sms, cleanup, add missing tms palette to gp2x

20 months agoplatform sdl, add missing prototype
kub [Tue, 7 Mar 2023 21:56:11 +0000 (21:56 +0000)]
platform sdl, add missing prototype

20 months agosh2 drc, fix 64 bit multiplication in ppc and riscv backends
kub [Tue, 7 Mar 2023 21:54:36 +0000 (21:54 +0000)]
sh2 drc, fix 64 bit multiplication in ppc and riscv backends

21 months agocore, fix arm rendering regression after 8 bit changes
kub [Thu, 23 Feb 2023 22:12:57 +0000 (22:12 +0000)]
core, fix arm rendering regression after 8 bit changes

21 months agocore, revisit Sega 8 bit hardware handling
kub [Wed, 22 Feb 2023 23:22:45 +0000 (23:22 +0000)]
core, revisit Sega 8 bit hardware handling

21 months agocore, preparations for sc-3000 support
kub [Sat, 18 Feb 2023 20:57:16 +0000 (20:57 +0000)]
core, preparations for sc-3000 support

21 months agosms vdp, fix TMS modes, tile count off by one
kub [Sat, 18 Feb 2023 17:19:05 +0000 (17:19 +0000)]
sms vdp, fix TMS modes, tile count off by one

21 months agoplatform sdl, fix minor bug in window size handling
kub [Sat, 18 Feb 2023 17:28:05 +0000 (17:28 +0000)]
platform sdl, fix minor bug in window size handling

21 months agoplatform sdl, fix minor bug in window size handling
kub [Sun, 12 Feb 2023 22:51:44 +0000 (22:51 +0000)]
platform sdl, fix minor bug in window size handling

21 months agoplatform, move keyboard menu keys for L,R to BS,TAB
kub [Tue, 7 Feb 2023 23:19:23 +0000 (23:19 +0000)]
platform, move keyboard menu keys for L,R to BS,TAB

they should not be on printable chars for correct handling in directory
listings, and BS+TAB should be the same on all(?) international keyboards.

21 months agocore vdp, fix regression (switching V30->V28 in lines 225-239)
kub [Tue, 7 Feb 2023 23:10:22 +0000 (23:10 +0000)]
core vdp, fix regression (switching V30->V28 in lines 225-239)

22 months agorg99 support
sndream [Sun, 1 Jan 2023 15:58:58 +0000 (23:58 +0800)]
rg99 support

22 months agosh2 drc, minor improvement for PS3 ABI handling
kub [Thu, 12 Jan 2023 23:02:25 +0000 (23:02 +0000)]
sh2 drc, minor improvement for PS3 ABI handling

22 months agoApply some cleanups to the abicall macros
OsirizX [Thu, 12 Jan 2023 19:39:55 +0000 (11:39 -0800)]
Apply some cleanups to the abicall macros

22 months agoAdd dynarec support for PS3
OsirizX [Wed, 11 Jan 2023 17:46:50 +0000 (09:46 -0800)]
Add dynarec support for PS3

22 months agosh2 drc, wrap generated function ptrs if called from host
kub [Mon, 9 Jan 2023 20:45:10 +0000 (20:45 +0000)]
sh2 drc, wrap generated function ptrs if called from host

23 months agoupdate submodules, use lzma-19.00 with newer libchdr
kub [Wed, 21 Dec 2022 12:10:24 +0000 (12:10 +0000)]
update submodules, use lzma-19.00 with newer libchdr

lzma-22.01 doesn't compile cleanly with some libretro platforms

23 months agoupdate submodules, fix for newer libchdr
kub [Wed, 21 Dec 2022 08:03:05 +0000 (08:03 +0000)]
update submodules, fix for newer libchdr

23 months agoupdate submodules
kub [Tue, 20 Dec 2022 21:57:52 +0000 (21:57 +0000)]
update submodules

23 months ago32x, fix soc code (sh2 sr register handling)
kub [Tue, 20 Dec 2022 21:37:21 +0000 (21:37 +0000)]
32x, fix soc code (sh2 sr register handling)

23 months ago32x, improve sh2 scheduling
kub [Tue, 20 Dec 2022 21:34:13 +0000 (21:34 +0000)]
32x, improve sh2 scheduling

23 months ago32x, hacks for roms with caching related problems
kub [Tue, 20 Dec 2022 21:32:24 +0000 (21:32 +0000)]
32x, hacks for roms with caching related problems

23 months agoplatform, clear status remnants after renderer switching by hotkey
kub [Mon, 19 Dec 2022 22:03:43 +0000 (22:03 +0000)]
platform, clear status remnants after renderer switching by hotkey

2 years agoRevert 4ec1247 as it cause more troubles than it solves
kub [Fri, 25 Nov 2022 19:26:37 +0000 (19:26 +0000)]
Revert 4ec1247 as it cause more troubles than it solves

2 years agosh2 drc, minor fix for arg passing in calls from generated to C code
kub [Mon, 21 Nov 2022 21:19:34 +0000 (21:19 +0000)]
sh2 drc, minor fix for arg passing in calls from generated to C code

2 years ago32x, tentative kludge for blackthorne
kub [Mon, 21 Nov 2022 21:08:39 +0000 (21:08 +0000)]
32x, tentative kludge for blackthorne

2 years ago32x, reset handling and synchronization changes
kub [Fri, 28 Oct 2022 19:55:40 +0000 (19:55 +0000)]
32x, reset handling and synchronization changes

2 years agopsp, fix vsync synchronisation
kub [Sun, 16 Oct 2022 19:28:52 +0000 (19:28 +0000)]
psp, fix vsync synchronisation

2 years agocore, fix cpu sync regression
kub [Sun, 16 Oct 2022 19:27:15 +0000 (19:27 +0000)]
core, fix cpu sync regression