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

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

8 months agocore, fix crash bug in DrZ80 (SP wrap)
kub [Thu, 7 Mar 2024 19:36:00 +0000 (20:36 +0100)]
core, fix crash bug in DrZ80 (SP wrap)

8 months agocore, implement ym2612 busy flag
kub [Sun, 3 Mar 2024 21:57:58 +0000 (22:57 +0100)]
core, implement ym2612 busy flag

8 months agocore z80, more timing fixes
kub [Sun, 3 Mar 2024 21:55:35 +0000 (22:55 +0100)]
core z80, more timing fixes

8 months agoprerelease 2.00-beta1
kub [Sun, 3 Mar 2024 12:02:13 +0000 (13:02 +0100)]
prerelease 2.00-beta1

8 months agocore z80, some timing improvements
kub [Sun, 3 Mar 2024 12:01:51 +0000 (13:01 +0100)]
core z80, some timing improvements

8 months agopsp, small fixes
kub [Sun, 3 Mar 2024 08:45:01 +0000 (09:45 +0100)]
psp, small fixes

8 months agopsp, revisit audio handling
kub [Thu, 22 Feb 2024 19:51:08 +0000 (20:51 +0100)]
psp, revisit audio handling

sound rates 44100, 22050, 11025 Hz, internally upsampled
conversion to stereo since mono isn't supported well on psp

8 months agopsp, rendering fix, some build changes
kub [Tue, 20 Feb 2024 21:01:47 +0000 (22:01 +0100)]
psp, rendering fix, some build changes

8 months agocore, slightly increase accuracy of some hw timers
kub [Sat, 2 Mar 2024 09:36:49 +0000 (10:36 +0100)]
core, slightly increase accuracy of some hw timers

8 months agocore, another fix for z80 reset
kub [Sat, 2 Mar 2024 09:34:50 +0000 (10:34 +0100)]
core, another fix for z80 reset

8 months agops2, fix some audio related bugs
kub [Sat, 2 Mar 2024 09:34:04 +0000 (10:34 +0100)]
ps2, fix some audio related bugs

8 months agomcd, fix crash (plat_mmap not zeroing memory)
kub [Mon, 26 Feb 2024 22:10:35 +0000 (23:10 +0100)]
mcd, fix crash (plat_mmap not zeroing memory)

8 months agomcd, increase audio volume slightly
kub [Fri, 23 Feb 2024 18:22:34 +0000 (19:22 +0100)]
mcd, increase audio volume slightly

8 months agomcd, fix audio not playing when buffer RAM enabled
kub [Fri, 23 Feb 2024 18:21:39 +0000 (19:21 +0100)]
mcd, fix audio not playing when buffer RAM enabled

8 months agocore, fix z80 irq handling, reset defaults (cz80, drz80)
kub [Thu, 22 Feb 2024 20:01:37 +0000 (21:01 +0100)]
core, fix z80 irq handling, reset defaults (cz80, drz80)

9 months agocore, system detection by extension in zip files
kub [Wed, 21 Feb 2024 18:12:10 +0000 (19:12 +0100)]
core, system detection by extension in zip files

9 months agocore, fix arm asm regression (bg color DMA crash)
kub [Wed, 21 Feb 2024 18:10:44 +0000 (19:10 +0100)]
core, fix arm asm regression (bg color DMA crash)

9 months agoci, use available processor cores
kub [Tue, 20 Feb 2024 21:22:23 +0000 (22:22 +0100)]
ci, use available processor cores

9 months agocore md, assert z80 vint for complete scanline
kub [Tue, 20 Feb 2024 21:05:33 +0000 (22:05 +0100)]
core md, assert z80 vint for complete scanline

9 months agops2, minor fixes
kub [Tue, 20 Feb 2024 21:04:13 +0000 (22:04 +0100)]
ps2, minor fixes

9 months agoMerge branch 'irixxxx/ps2-merge'
kub [Sun, 18 Feb 2024 22:58:18 +0000 (23:58 +0100)]
Merge branch 'irixxxx/ps2-merge'

9 months agops2, more audio fixes
kub [Sat, 17 Feb 2024 18:37:11 +0000 (19:37 +0100)]
ps2, more audio fixes

9 months agops2, kludge for handling audsrv shortcomings
kub [Thu, 15 Feb 2024 22:08:24 +0000 (23:08 +0100)]
ps2, kludge for handling audsrv shortcomings

9 months agops2, kludge for timer bugs in ps2sdk
kub [Wed, 14 Feb 2024 22:42:50 +0000 (23:42 +0100)]
ps2, kludge for timer bugs in ps2sdk

9 months agops2, minor audio and gfx fixes
kub [Wed, 14 Feb 2024 22:41:24 +0000 (23:41 +0100)]
ps2, minor audio and gfx fixes

9 months agofixes for audio and video, add psp-like scaling
kub [Mon, 5 Feb 2024 19:14:06 +0000 (20:14 +0100)]
fixes for audio and video, add psp-like scaling

9 months agoSound almost working
Francisco Javier Trujillo Mata [Sat, 6 Jan 2024 11:43:23 +0000 (12:43 +0100)]
Sound almost working

9 months agoSome progress about centering image
Francisco Javier Trujillo Mata [Fri, 5 Jan 2024 23:01:22 +0000 (00:01 +0100)]
Some progress about centering image

9 months agoSome clean up around emu.c
Francisco Javier Trujillo Mata [Fri, 5 Jan 2024 17:59:21 +0000 (18:59 +0100)]
Some clean up around emu.c

9 months agoDisable alpha and improve vsync logic
Francisco Javier Trujillo Mata [Fri, 5 Jan 2024 17:02:51 +0000 (18:02 +0100)]
Disable alpha and improve vsync logic

9 months agoStarting to see the emulator on the screen
Francisco Javier Trujillo Mata [Mon, 1 Jan 2024 23:10:21 +0000 (00:10 +0100)]
Starting to see the emulator on the screen

9 months agoStarting to see the menu in the screen
Francisco Javier Trujillo Mata [Mon, 1 Jan 2024 12:08:17 +0000 (13:08 +0100)]
Starting to see the menu in the screen

9 months agoAdding background objects
Francisco Javier Trujillo Mata [Mon, 1 Jan 2024 11:24:10 +0000 (12:24 +0100)]
Adding background objects

9 months agoAdding gskit dependency
Francisco Javier Trujillo Mata [Sun, 31 Dec 2023 17:27:46 +0000 (18:27 +0100)]
Adding gskit dependency

9 months agoStarting to copy some logic for emu from PSP
Francisco Javier Trujillo Mata [Sun, 31 Dec 2023 17:10:25 +0000 (18:10 +0100)]
Starting to copy some logic for emu from PSP

9 months agoFirst dummy input implementation
Francisco Javier Trujillo Mata [Sun, 31 Dec 2023 16:00:46 +0000 (17:00 +0100)]
First dummy input implementation

9 months agoUse MenuX2 in PS2
Francisco Javier Trujillo Mata [Sat, 30 Dec 2023 23:52:01 +0000 (00:52 +0100)]
Use MenuX2 in PS2

9 months agoFix folder creation
Francisco Javier Trujillo Mata [Sat, 30 Dec 2023 23:51:49 +0000 (00:51 +0100)]
Fix folder creation

9 months agoStarting to boot
Francisco Javier Trujillo Mata [Sat, 30 Dec 2023 23:38:09 +0000 (00:38 +0100)]
Starting to boot

9 months agoFirst PS2 compilation
Francisco Javier Trujillo Mata [Sat, 30 Dec 2023 20:56:14 +0000 (21:56 +0100)]
First PS2 compilation

9 months agomake sound rates platform dependent
kub [Sat, 17 Feb 2024 20:32:45 +0000 (21:32 +0100)]
make sound rates platform dependent

9 months agopsp, fix for pspdev update
kub [Wed, 14 Feb 2024 23:01:09 +0000 (00:01 +0100)]
psp, fix for pspdev update

9 months agoplatform, fix BGR/RGB menu handling
kub [Wed, 14 Feb 2024 22:39:06 +0000 (23:39 +0100)]
platform, fix BGR/RGB menu handling

9 months agoplatform, cleanup main emu loop
kub [Wed, 14 Feb 2024 22:37:40 +0000 (23:37 +0100)]
platform, cleanup main emu loop

9 months agocore, fix some bugs reported by ASAN
kub [Wed, 14 Feb 2024 22:36:43 +0000 (23:36 +0100)]
core, fix some bugs reported by ASAN

9 months agobuild, add -flto for all builds if available
kub [Wed, 14 Feb 2024 22:32:12 +0000 (23:32 +0100)]
build, add -flto for all builds if available

9 months agocore, improve bg color DMA handling (and some vdp cleanup)
kub [Sun, 28 Jan 2024 21:34:17 +0000 (22:34 +0100)]
core, improve bg color DMA handling (and some vdp cleanup)

9 months agocore, handle background color DMA (arm asm)
kub [Sun, 28 Jan 2024 19:23:25 +0000 (19:23 +0000)]
core, handle background color DMA (arm asm)

9 months agocore, some updates for Pico adpcm
kub [Wed, 24 Jan 2024 20:14:42 +0000 (21:14 +0100)]
core, some updates for Pico adpcm

9 months agoprerelease 2.00-alpha3
kub [Tue, 23 Jan 2024 21:56:31 +0000 (22:56 +0100)]
prerelease 2.00-alpha3

9 months agoupdate libpicofe (redraw event handling)
kub [Tue, 23 Jan 2024 21:55:38 +0000 (22:55 +0100)]
update libpicofe (redraw event handling)

9 months agocore, implement GG stereo
kub [Sun, 21 Jan 2024 20:41:31 +0000 (21:41 +0100)]
core, implement GG stereo

9 months agocore, improve pico save/load (ADPCM state, page, etc)
kub [Tue, 23 Jan 2024 20:57:27 +0000 (21:57 +0100)]
core, improve pico save/load (ADPCM state, page, etc)

10 months agocore, complete rewrite of Pico adpcm driver
kub [Sat, 20 Jan 2024 16:48:16 +0000 (17:48 +0100)]
core, complete rewrite of Pico adpcm driver

10 months agocore, fix Pico hardware region code
kub [Sat, 20 Jan 2024 16:29:22 +0000 (17:29 +0100)]
core, fix Pico hardware region code

10 months agocore, revisit Pico sound handling
kub [Sat, 20 Jan 2024 16:23:44 +0000 (17:23 +0100)]
core, revisit Pico sound handling

10 months agocore, fix Pico horizontal irq (on irq level 5)
kub [Sat, 20 Jan 2024 16:15:51 +0000 (17:15 +0100)]
core, fix Pico horizontal irq (on irq level 5)

10 months agocore+platforms, add SMS option to select TMS palette for gfx modes 0-3
kub [Sat, 13 Jan 2024 15:31:43 +0000 (16:31 +0100)]
core+platforms, add SMS option to select TMS palette for gfx modes 0-3

10 months agoplatforms, revisit Pico ptr handling
kub [Sun, 7 Jan 2024 09:59:24 +0000 (10:59 +0100)]
platforms, revisit Pico ptr handling

10 months agocore, handle background color DMA (aka fantom bitmap)
kub [Sat, 13 Jan 2024 11:07:13 +0000 (12:07 +0100)]
core, handle background color DMA (aka fantom bitmap)

10 months agosound: fix ym2612 freq latch
notaz [Fri, 12 Jan 2024 00:23:31 +0000 (02:23 +0200)]
sound: fix ym2612 freq latch

there is only a single register, as described in:
http://www.mjsstuf.x10host.com/pages/vgmPlay/vgmPlay.htm

10 months agopandora: allow to move the overlay partially offscreen
notaz [Sat, 6 Jan 2024 22:46:36 +0000 (00:46 +0200)]
pandora: allow to move the overlay partially offscreen

to allow to cut off black bars, if the user chooses to do so

10 months agoconfig: save disabled options also
notaz [Sat, 6 Jan 2024 22:39:44 +0000 (00:39 +0200)]
config: save disabled options also

Pandora uses disabled menu options to store the layer position
(mee_range_hide() menu entries) and actually modifies them using
a special menu handler.

11 months agoprerelease 2.00-alpha2
kub [Thu, 14 Dec 2023 21:30:00 +0000 (22:30 +0100)]
prerelease 2.00-alpha2

11 months agobuild, odbeta and opendingux cleanup
kub [Tue, 5 Dec 2023 21:13:00 +0000 (22:13 +0100)]
build, odbeta and opendingux cleanup

11 months agobuild, cleanup
kub [Sun, 3 Dec 2023 21:10:48 +0000 (22:10 +0100)]
build, cleanup

- remove/rename some platforms from configure
- new rg99 odbeta build, courtesy of sydarn
- pandora support, courtesy of notaz

11 months agoupdate libpicofe (parallel menu keys)
kub [Sun, 3 Dec 2023 20:57:44 +0000 (21:57 +0100)]
update libpicofe (parallel menu keys)

11 months agopandora: move PicoDrawSetOutFormat
notaz [Sun, 3 Dec 2023 19:13:04 +0000 (21:13 +0200)]
pandora: move PicoDrawSetOutFormat

11 months agocosmetic fixes for pandora port
notaz [Sat, 2 Dec 2023 21:52:55 +0000 (23:52 +0200)]
cosmetic fixes for pandora port

11 months agocleanup rg99 specifics and remove odbetaflag
sydarn [Fri, 1 Dec 2023 17:42:21 +0000 (18:42 +0100)]
cleanup rg99 specifics and remove odbetaflag

11 months agoODBETA: use 320x240 sdl surface when not hw scaling on 320x480 LCDs
sydarn [Tue, 21 Nov 2023 21:00:40 +0000 (22:00 +0100)]
ODBETA: use 320x240 sdl surface when not hw scaling on 320x480 LCDs

11 months agosms, improve changing of video mode
kub [Sun, 3 Dec 2023 16:46:59 +0000 (17:46 +0100)]
sms, improve changing of video mode

11 months agosound, fix ffw crash in PSG
kub [Sun, 3 Dec 2023 13:56:24 +0000 (14:56 +0100)]
sound, fix ffw crash in PSG

11 months agosdl, improve redraw in file selector
kub [Sun, 3 Dec 2023 13:42:32 +0000 (14:42 +0100)]
sdl, improve redraw in file selector

11 months agocore, fix no ym2612 timers if z80 in reset
kub [Thu, 30 Nov 2023 23:59:43 +0000 (00:59 +0100)]
core, fix no ym2612 timers if z80 in reset

11 months agopsp, revisit scaling
kub [Thu, 30 Nov 2023 19:35:49 +0000 (20:35 +0100)]
psp, revisit scaling

11 months agobuild, fix cross compiling under osx
kub [Fri, 24 Nov 2023 17:50:12 +0000 (18:50 +0100)]
build, fix cross compiling under osx

11 months agopsp, fix enable sound option
kub [Thu, 23 Nov 2023 22:01:17 +0000 (23:01 +0100)]
psp, fix enable sound option

11 months agoupdate libpicofe (file selector)
kub [Thu, 23 Nov 2023 22:53:57 +0000 (23:53 +0100)]
update libpicofe (file selector)

11 months agopsp, fix GU hardware rendering
kub [Thu, 23 Nov 2023 20:00:56 +0000 (21:00 +0100)]
psp, fix GU hardware rendering

11 months agocore, fix H32 mode in fast renderer
kub [Thu, 23 Nov 2023 19:56:47 +0000 (20:56 +0100)]
core, fix H32 mode in fast renderer

11 months agobuild, update psp toolchain container
kub [Thu, 23 Nov 2023 19:55:14 +0000 (20:55 +0100)]
build, update psp toolchain container

11 months agosound, faster resampler for SMS FM
kub [Thu, 23 Nov 2023 19:50:25 +0000 (20:50 +0100)]
sound, faster resampler for SMS FM

11 months agobuild, revisions and fixes for opendingux based platforms
kub [Thu, 16 Nov 2023 20:53:05 +0000 (22:53 +0200)]
build, revisions and fixes for opendingux based platforms

12 months agoClean-up makefile
Francisco Javier Trujillo Mata [Wed, 15 Nov 2023 19:05:05 +0000 (20:05 +0100)]
Clean-up makefile

12 months agoUse posix functions for PSP
Francisco Javier Trujillo Mata [Wed, 15 Nov 2023 18:36:26 +0000 (19:36 +0100)]
Use posix functions for PSP