picodrive.git
4 months agoplatform ps2, handle audio similar to psp master github/master
kub [Sun, 21 Jul 2024 14:33:07 +0000 (16:33 +0200)]
platform ps2, handle audio similar to psp

4 months agorelease 2.00 v2.00
kub [Fri, 19 Jul 2024 17:21:26 +0000 (19:21 +0200)]
release 2.00

4 months agocore vdp, arm rendering speed optimisation
kub [Thu, 18 Jul 2024 19:36:43 +0000 (21:36 +0200)]
core vdp, arm rendering speed optimisation

4 months agocore vdp, fix layer/window borders for vertical window
kub [Wed, 17 Jul 2024 20:47:02 +0000 (22:47 +0200)]
core vdp, fix layer/window borders for vertical window

4 months agoplatform/miyoo: scripted versioning
Apaczer [Mon, 15 Jul 2024 21:13:09 +0000 (23:13 +0200)]
platform/miyoo: scripted versioning

update pkg.cfg

4 months agoupdate README
kub [Fri, 12 Jul 2024 20:15:21 +0000 (22:15 +0200)]
update README

4 months agoplatform miyoo, switch menu key to RESET
kub [Fri, 12 Jul 2024 20:57:25 +0000 (22:57 +0200)]
platform miyoo, switch menu key to RESET

4 months agocore, adjustment for background color DMA
kub [Fri, 12 Jul 2024 20:11:51 +0000 (22:11 +0200)]
core, adjustment for background color DMA

4 months agoplatform-miyoo: change to IPK release output
Apaczer [Thu, 11 Jul 2024 20:49:13 +0000 (22:49 +0200)]
platform-miyoo: change to IPK release output

create `platform/miyoo/pkg.cfg`

4 months agoadd links to images
irixxxx [Thu, 11 Jul 2024 20:56:04 +0000 (22:56 +0200)]
add links to images

4 months agoadd some images to readme
irixxxx [Wed, 10 Jul 2024 17:17:04 +0000 (19:17 +0200)]
add some images to readme

4 months agomcd: unbreak cue search
notaz [Tue, 9 Jul 2024 19:30:17 +0000 (22:30 +0300)]
mcd: unbreak cue search

4 months agocore, fix typo
kub [Mon, 8 Jul 2024 20:46:06 +0000 (22:46 +0200)]
core, fix typo

4 months agosound, add panning for ym2612 dac
kub [Mon, 8 Jul 2024 20:41:01 +0000 (22:41 +0200)]
sound, add panning for ym2612 dac

4 months agosms, improve pad handling (TR as output)
kub [Fri, 5 Jul 2024 19:47:33 +0000 (21:47 +0200)]
sms, improve pad handling (TR as output)

4 months agoui, minor menu fix
kub [Fri, 5 Jul 2024 19:44:34 +0000 (21:44 +0200)]
ui, minor menu fix

5 months agoadd/update copyright notices for substantially changed files
kub [Tue, 2 Jul 2024 20:55:50 +0000 (22:55 +0200)]
add/update copyright notices for substantially changed files

5 months agocore z80, fix cycle counting if z80 in hold on frame change
kub [Tue, 2 Jul 2024 20:43:26 +0000 (22:43 +0200)]
core z80, fix cycle counting if z80 in hold on frame change

5 months agosms, add sram in codemasters mapper
kub [Sun, 30 Jun 2024 15:55:37 +0000 (17:55 +0200)]
sms, add sram in codemasters mapper

5 months agosms, improve system detection by extension
kub [Sun, 30 Jun 2024 15:19:34 +0000 (17:19 +0200)]
sms, improve system detection by extension

5 months agosh2 drc, fix TAS instruction, some cleanup
kub [Thu, 27 Jun 2024 19:27:48 +0000 (21:27 +0200)]
sh2 drc, fix TAS instruction, some cleanup

5 months agobuild, fix arch detection in configure
kub [Thu, 27 Jun 2024 19:28:42 +0000 (21:28 +0200)]
build, fix arch detection in configure

5 months agosh2 drc, minor optimization for x86 backend
kub [Thu, 27 Jun 2024 19:29:58 +0000 (21:29 +0200)]
sh2 drc, minor optimization for x86 backend

5 months agocore vdp, some cleanup
kub [Thu, 27 Jun 2024 22:20:31 +0000 (00:20 +0200)]
core vdp, some cleanup

5 months agocore vdp, fix display enable in hblank
kub [Tue, 25 Jun 2024 23:06:56 +0000 (01:06 +0200)]
core vdp, fix display enable in hblank

5 months agocore z80, revert non-working ebde43d (bus blocking DMA)
kub [Mon, 24 Jun 2024 19:37:37 +0000 (21:37 +0200)]
core z80, revert non-working ebde43d (bus blocking DMA)

5 months agocore vdp, fix status for very short DMA transfers
kub [Mon, 24 Jun 2024 16:55:07 +0000 (18:55 +0200)]
core vdp, fix status for very short DMA transfers

5 months agocore vdp, change cram write sync
kub [Sat, 22 Jun 2024 21:22:50 +0000 (23:22 +0200)]
core vdp, change cram write sync

5 months agocore, some save state fixes
kub [Thu, 20 Jun 2024 16:46:36 +0000 (18:46 +0200)]
core, some save state fixes

5 months agocore, revisit ym2612 busy flag implementation
kub [Sat, 22 Jun 2024 21:12:31 +0000 (23:12 +0200)]
core, revisit ym2612 busy flag implementation

5 months agosh2 drc, minor fix for x86 backend
kub [Thu, 20 Jun 2024 18:14:15 +0000 (20:14 +0200)]
sh2 drc, minor fix for x86 backend

5 months agolibretro, gcc14 fixes
kub [Thu, 20 Jun 2024 18:13:29 +0000 (20:13 +0200)]
libretro, gcc14 fixes

5 months agocore vdp, arm rendering fix (1st window col prio)
kub [Tue, 18 Jun 2024 20:45:02 +0000 (22:45 +0200)]
core vdp, arm rendering fix (1st window col prio)

5 months agobuild, fix zstd asm file usage (used only for x86)
kub [Sat, 15 Jun 2024 16:21:10 +0000 (16:21 +0000)]
build, fix zstd asm file usage (used only for x86)

5 months agobuild, fix zstd asm file usage (used only for x86)
kub [Sat, 15 Jun 2024 14:26:12 +0000 (16:26 +0200)]
build, fix zstd asm file usage (used only for x86)

5 months agomd, minor cleanup for region code handling
kub [Sat, 15 Jun 2024 09:28:04 +0000 (09:28 +0000)]
md, minor cleanup for region code handling

5 months ago68k, minor debug fix for fame
kub [Sat, 15 Jun 2024 09:25:42 +0000 (09:25 +0000)]
68k, minor debug fix for fame

5 months agobuild, more lowercase on linux, plus minor changes
kub [Sat, 15 Jun 2024 09:24:03 +0000 (09:24 +0000)]
build, more lowercase on linux, plus minor changes

5 months agomd vdp, fix v_counter reading, some cleanup
kub [Fri, 14 Jun 2024 21:05:37 +0000 (23:05 +0200)]
md vdp, fix v_counter reading, some cleanup

5 months agosh2 drc, several bug fixes
kub [Sun, 9 Jun 2024 22:30:51 +0000 (22:30 +0000)]
sh2 drc, several bug fixes

5 months agobuild, fix libchd zstd support for libretro static linking
kub [Sun, 9 Jun 2024 22:24:45 +0000 (22:24 +0000)]
build, fix libchd zstd support for libretro static linking

6 months ago32x, fixes for comparing cycles
kub [Sun, 2 Jun 2024 07:53:04 +0000 (07:53 +0000)]
32x, fixes for comparing cycles

6 months agosh2 drc, fix mul/add saturation
kub [Sun, 2 Jun 2024 07:48:15 +0000 (07:48 +0000)]
sh2 drc, fix mul/add saturation

6 months agosh2 drc, small fixes (cycle counting, invalidation)
kub [Mon, 27 May 2024 21:53:26 +0000 (23:53 +0200)]
sh2 drc, small fixes (cycle counting, invalidation)

6 months agoremove fflush() call before exit()
Tomáš Kelemen (vudiq) [Fri, 24 May 2024 17:50:37 +0000 (19:50 +0200)]
remove fflush() call before exit()

the buffer is flushed anyways at exit() and fixes compile error with
gcc14:

    pico/carthw/svp/compiler.c: In function 'ssp_translate_block':
    pico/carthw/svp/compiler.c:1800:24: error: passing argument 1 of 'rfflush' from incompatible pointer type [-Wincompatible-pointer-types]
     1800 |                 fflush(stdout);
          |                        ^~~~~~
          |                        |
          |                        FILE *
    In file included from ./pico/pico_port.h:12,
                     from ./pico/pico_int.h:15,
                     from pico/carthw/svp/compiler.c:9:
    platform/libretro/libretro-common/include/streams/file_stream_transforms.h:89:25: note: expected 'RFILE *' but argument is of type 'FILE *'
       89 | int64_t rfflush(RFILE * stream);
          |                 ~~~~~~~~^~~~~~

this error presents itself when building the libretro core, so this
could be also solved by wrapping the call to fflush():

    #ifndef __LIBRETRO__
     fflush(stdout);
    #else
                fflush((RFILE *)stdout);
    #endif

6 months agoupdate libchdr for zstd support
notaz [Mon, 20 May 2024 22:09:40 +0000 (01:09 +0300)]
update libchdr for zstd support

6 months agocore z80, partially revert ebde43d (bus blocking DMA)
kub [Thu, 23 May 2024 22:06:39 +0000 (00:06 +0200)]
core z80, partially revert ebde43d (bus blocking DMA)

it causes audio lag in OD2

6 months agosms, fixes to bios initialisation and mapper autodetection
kub [Thu, 23 May 2024 17:01:26 +0000 (19:01 +0200)]
sms, fixes to bios initialisation and mapper autodetection

6 months agomd, no floating bus in cart address space
kub [Thu, 23 May 2024 16:58:10 +0000 (18:58 +0200)]
md, no floating bus in cart address space

6 months agomd, add some unlicensed carts
kub [Thu, 23 May 2024 16:54:59 +0000 (18:54 +0200)]
md, add some unlicensed carts

6 months agoplatform ps2, fixes for gcc14
kub [Mon, 20 May 2024 08:07:42 +0000 (10:07 +0200)]
platform ps2, fixes for gcc14

6 months agobuild, add ps2 to release script
kub [Mon, 20 May 2024 07:30:35 +0000 (09:30 +0200)]
build, add ps2 to release script

6 months agosh2 drc, fix conditional immediate for armv7
kub [Sun, 19 May 2024 20:45:44 +0000 (20:45 +0000)]
sh2 drc, fix conditional immediate for armv7

6 months agopandora: some fixes for 2.0
notaz [Sat, 18 May 2024 19:33:23 +0000 (22:33 +0300)]
pandora: some fixes for 2.0

6 months agoupdate copyright
kub [Sat, 18 May 2024 20:12:56 +0000 (22:12 +0200)]
update copyright

6 months agocore vdp, reset fix
kub [Sat, 18 May 2024 20:00:41 +0000 (22:00 +0200)]
core vdp, reset fix

6 months agosms, minor optimization
kub [Sat, 18 May 2024 19:59:18 +0000 (21:59 +0200)]
sms, minor optimization

6 months agocore, fix floating bus read for 68k (regression)
kub [Sat, 18 May 2024 19:58:25 +0000 (21:58 +0200)]
core, fix floating bus read for 68k (regression)

6 months agosound, don't reinitialize after menu if not needed
kub [Sat, 18 May 2024 09:35:22 +0000 (11:35 +0200)]
sound, don't reinitialize after menu if not needed

6 months agocore, improve system and mapper detection
kub [Fri, 17 May 2024 19:11:34 +0000 (19:11 +0000)]
core, improve system and mapper detection

6 months agobuild, change executable name to lowercase
kub [Thu, 16 May 2024 20:32:55 +0000 (20:32 +0000)]
build, change executable name to lowercase

6 months ago32x, fix reset interrupt handling
kub [Sun, 12 May 2024 08:06:24 +0000 (10:06 +0200)]
32x, fix reset interrupt handling

6 months agoplatform opendingux, add some keys (gkd mini, rs97)
kub [Fri, 10 May 2024 21:22:01 +0000 (23:22 +0200)]
platform opendingux, add some keys (gkd mini, rs97)

6 months ago32x, internal BIOS hack for jumping to 0x140
notaz [Tue, 7 May 2024 23:18:59 +0000 (01:18 +0200)]
32x, internal BIOS hack for jumping to 0x140

6 months agocore z80, improve save/load (cycles)
kub [Tue, 7 May 2024 21:12:54 +0000 (23:12 +0200)]
core z80, improve save/load (cycles)

6 months agocore z80, bus blocking for VDP DMA
kub [Tue, 7 May 2024 21:11:54 +0000 (23:11 +0200)]
core z80, bus blocking for VDP DMA

6 months agocore z80, cycle counting fixes (reset, bus request)
kub [Tue, 7 May 2024 21:10:27 +0000 (23:10 +0200)]
core z80, cycle counting fixes (reset, bus request)

6 months ago32x: adjust handlers according to hw tests
notaz [Mon, 6 May 2024 21:41:59 +0000 (00:41 +0300)]
32x: adjust handlers according to hw tests

"Pico32x.regs[6] |= P32XS_RV;" had wrong offset, but tests show this
doesn't happen at all so remove.

6 months ago32x, some reset related fixes
kub [Sun, 5 May 2024 09:59:41 +0000 (11:59 +0200)]
32x, some reset related fixes

6 months agocore vdp, fix regression (irq not cleared on disable)
kub [Sun, 5 May 2024 16:12:40 +0000 (18:12 +0200)]
core vdp, fix regression (irq not cleared on disable)

7 months agoprerelease 2.00-beta3
kub [Sun, 28 Apr 2024 19:18:36 +0000 (21:18 +0200)]
prerelease 2.00-beta3

7 months agocore vdp, fix regression (irq not cleared on disable)
kub [Sat, 27 Apr 2024 07:44:43 +0000 (09:44 +0200)]
core vdp, fix regression (irq not cleared on disable)

7 months agomcd, add poll detection for gfx busy
kub [Sat, 27 Apr 2024 07:53:33 +0000 (09:53 +0200)]
mcd, add poll detection for gfx busy

7 months agomcd, fix irq2 handling (not cleared on disable)
kub [Sat, 27 Apr 2024 08:12:25 +0000 (10:12 +0200)]
mcd, fix irq2 handling (not cleared on disable)

7 months agomcd, improve pre/post reading
kub [Fri, 26 Apr 2024 22:32:04 +0000 (00:32 +0200)]
mcd, improve pre/post reading

7 months ago32x, make sh2 sram poll detection less agressive
kub [Wed, 24 Apr 2024 19:51:01 +0000 (21:51 +0200)]
32x, make sh2 sram poll detection less agressive

7 months agomcd, implement pre/post reading in play/read state
kub [Sun, 21 Apr 2024 14:20:28 +0000 (16:20 +0200)]
mcd, implement pre/post reading in play/read state

7 months agomcd, some improvements (dma timing, interrupt handling)
kub [Fri, 19 Apr 2024 19:08:09 +0000 (21:08 +0200)]
mcd, some improvements (dma timing, interrupt handling)

7 months agomcd, revisit track handling in cdd
kub [Fri, 19 Apr 2024 18:53:52 +0000 (20:53 +0200)]
mcd, revisit track handling in cdd

7 months agocore z80, fix cycle counting in reset state
kub [Fri, 12 Apr 2024 18:29:50 +0000 (20:29 +0200)]
core z80, fix cycle counting in reset state

7 months agomd, fix vdp reset handling
kub [Fri, 12 Apr 2024 18:08:33 +0000 (20:08 +0200)]
md, fix vdp reset handling

8 months agomd, fix vdp reset handling
kub [Thu, 28 Mar 2024 20:39:12 +0000 (21:39 +0100)]
md, fix vdp reset handling

8 months agoprerelease 2.00-beta2
kub [Tue, 26 Mar 2024 21:42:45 +0000 (22:42 +0100)]
prerelease 2.00-beta2

8 months agoplatform, small fixes for Pico, updated readme
kub [Tue, 26 Mar 2024 21:36:21 +0000 (22:36 +0100)]
platform, small fixes for Pico, updated readme

8 months agocore 68k, fix compiler warning in fame
kub [Tue, 26 Mar 2024 21:32:01 +0000 (22:32 +0100)]
core 68k, fix compiler warning in fame

8 months agolibretro, add Pico pad overlay and storyware pages handling
kub [Mon, 25 Mar 2024 17:49:19 +0000 (18:49 +0100)]
libretro, add Pico pad overlay and storyware pages handling

8 months agoplatforms, display pad overlay and storyware pages for Pico
kub [Wed, 20 Mar 2024 22:43:10 +0000 (23:43 +0100)]
platforms, display pad overlay and storyware pages for Pico

8 months agosms, fix save/load bugs (irq, mapper)
kub [Sun, 24 Mar 2024 16:45:10 +0000 (17:45 +0100)]
sms, fix save/load bugs (irq, mapper)

8 months agocore, big endian fix (save/load)
kub [Thu, 21 Mar 2024 18:08:54 +0000 (19:08 +0100)]
core, big endian fix (save/load)

8 months agoLibretro: silence a warning regarding to memmap
saulfabreg Wii VC Project [Wed, 20 Mar 2024 21:13:27 +0000 (16:13 -0500)]
Libretro: silence a warning regarding to memmap

8 months agodrc: only use 64kb aligned tcache_default if on arm linux
kub [Mon, 18 Mar 2024 18:40:01 +0000 (19:40 +0100)]
drc: only use 64kb aligned tcache_default if on arm linux

8 months agocore+platforms, revise pico pen handling
kub [Sun, 17 Mar 2024 09:44:57 +0000 (10:44 +0100)]
core+platforms, revise pico pen handling

the MSB in the tablet position register denotes pen on surface.
add logic and a hotkey for handling pen not on surface. This allows
for repositioning of the pen without the storyware reacting to it.

8 months agocore, floating bus read for 68k in some more places
kub [Sat, 16 Mar 2024 14:58:38 +0000 (15:58 +0100)]
core, floating bus read for 68k in some more places

8 months agocore z80, improve timing for bus request/grant timing from 68k
kub [Thu, 14 Mar 2024 22:15:16 +0000 (23:15 +0100)]
core z80, improve timing for bus request/grant timing from 68k

8 months agocore 68k, make musashi timing more similar to fame
kub [Thu, 14 Mar 2024 22:10:33 +0000 (23:10 +0100)]
core 68k, make musashi timing more similar to fame

8 months agocore 68k, minor improvement for division in fame
kub [Thu, 14 Mar 2024 19:51:19 +0000 (20:51 +0100)]
core 68k, minor improvement for division in fame

8 months ago68k, some fixes for musashi
kub [Sun, 10 Mar 2024 01:26:06 +0000 (01:26 +0000)]
68k, some fixes for musashi

8 months agodrc: align tcache_default to 64k on arm
notaz [Sat, 9 Mar 2024 20:04:16 +0000 (22:04 +0200)]
drc: align tcache_default to 64k on arm

Newer arm64 hw supports 64k pages, and recent Linux distros provide
kernel packages like linux-image-generic-64k (can be used on r-pi4
with Ubuntu for example). It affects 32bit mode also, so assume that
an arm32 binary compiled for vfp may be used on such kernel.

Without this mprotect() fails to set exec permission because of bad
alignment.

8 months agoLibretro: Fix Wii compiling by adding required -ffat-lto-objects
saulfabreg Wii VC Project [Fri, 8 Mar 2024 18:32:10 +0000 (13:32 -0500)]
Libretro: Fix Wii compiling by adding required -ffat-lto-objects

Otherwise when compiling the final dol will result in compilation errors because of missing Libretro dependencies.
(dirty, quick-fix) workaround for stop the compiler messages of "plugin needed to handle lto object"

8 months agocore, fix 68k cycles in cyclone,fame (exceptions,bit ops,ADDI.L,TAS,CHK,MUL*,DIV*)
kub [Thu, 7 Mar 2024 19:42:24 +0000 (20:42 +0100)]
core, fix 68k cycles in cyclone,fame (exceptions,bit ops,ADDI.L,TAS,CHK,MUL*,DIV*)

also syncs these changes between fame and cyclone

in accordance with the test_inst_speed, available here:
https://gendev.spritesmind.net/forum/viewtopic.php?t=3321
DIV* is only closely approximated, it can be slightly on the high side.