Commit Graph

194 Commits

Author SHA1 Message Date
negativeExponent
e348c7e3bd Add libretro-common 2020-10-09 08:51:38 +08:00
negativeExponent
cd372ab959 Allow access to SRAM using retro_get_memory_data/size and cleanup 2020-10-09 08:51:38 +08:00
negativeExponent
853630bfda Allow access to work ram using retro_get_memory_data/size 2020-10-09 08:51:38 +08:00
negativeExponent
467375fe95 (audio) Fix heap-buffer-overflow 2020-10-09 08:51:38 +08:00
negativeExponent
baa974d153 Update Makefiles 2020-10-09 08:51:38 +08:00
negativeExponent
9340ba6e88 Audio, video, input are now working
TODO:
- sram to libretro api access
- main ram to liretro api access
- memory-base save states
2020-10-09 08:51:38 +08:00
negativeExponent
e297ab4613 Initial libretro port 2020-10-09 08:51:37 +08:00
gameblabla
0b1fbec18d
Use Ofast since the cause for the leak has been found.
GCDA files are now generated on real hardware when using Ofast thanks to the fix.
2020-10-08 23:39:31 +02:00
gameblabla
9a955dc708
Merge pull request #8 from negativeExponent/patch-1
loadrom.c: Buildfix
2020-10-08 18:52:28 +00:00
gameblabla
042dc4f2e6
Re-fix Makefile to just compile the SDL frontend for Linux.
Normally i would use this for testing but seems like people are getting confused.
2020-10-08 20:50:24 +02:00
gameblabla
33dd8d2938
Fix buffer overflow issue that can happen. Thanks Johnny 2020-10-08 10:42:09 +02:00
negativeExponent
438dde661b
loadrom.c: Buildfix 2020-10-08 08:53:13 +08:00
gameblabla
3ae1ce93cf
Fix issue when width is changing but not the height. 2020-10-06 22:05:20 +02:00
gameblabla
610949df50
Merge pull request #7 from gameblabla/rs90
RS-90 improvements (YUV scaling, 8bpp color depth) + other fixes
2020-10-06 07:42:59 +00:00
gameblabla
e9a381e10e
Fixed RS-90 port with numerous changes :
- Allowing the FM sound to be disabled or enabled. (i might bring this to the other ports)
- 8bpp to YUV upscale. This allows us to use a higher resolution on hw that only support YUV for IPU.
- Removed upscaling options due to the use of IPU.

SMS Plus GX still runs fairly similar to what it used to
because while it no longer spends time on the 8bpp->16bpp conversion,
a lot of time is spent on converting to YUV.

Special thanks to Slaneesh and Johnny for the help on the YUV code.
2020-10-06 09:31:29 +02:00
gameblabla
dd7809fb43
Fix memory leaks. 2020-10-06 09:30:33 +02:00
gameblabla
3ab12ff69f
RS90 Makefile with 8BIT BPP set. 2020-10-06 03:33:54 +02:00
gameblabla
f404fb3217
Add NOYUV define to test without YUV mode. 2020-10-06 03:28:35 +02:00
gameblabla
d117769fb0
8-bits paletted support for RS-90 + YUV. (WIP, not working) 2020-10-06 03:19:50 +02:00
gameblabla
48b64b345c
-mplt does make a difference when using dynamic linking.
Not quite as good as -mno-abicalls -fno-PIC with static linking
but certainly better than without.
2020-10-05 15:50:46 +02:00
gameblabla
8923565df6
Downscaling code is causing an odd freeze (but menu can still be trigerred)
when scaling mode is booting with "Fullscreen" turned on.
Reverting this drownsnug's fullscreen scaler fixes it.

It seems like it's not working.
2020-10-05 15:24:44 +02:00
gameblabla
8b7c2d9dd6
Update RS-90 port with commits from @drowsnug95 that were not mergeable
due to conflicts.
2020-10-05 04:10:30 +02:00
gameblabla
be19161bfb
Delete RS-97 port (no longer needed), fix GCW0 port and make minor
changes to audio code.
We are now linking against the newer toolchain with support for Huge pages.
2020-10-04 23:17:10 +02:00
gameblabla
978028f5db
Remove support for changing the IPU mode because the new firmware
uses a new interface. This is also not working on RetroFW properly anyway.
2020-09-29 22:44:14 +02:00
gameblabla
9cfd1740e0
Remove Eighty z80 core. It's not that much faster and breaks a lot of games. 2020-09-25 02:52:25 +02:00
gameblabla
4fd3e36f80
Fix RetroFW port in GCW0 code. 2020-09-25 02:51:55 +02:00
gameblabla
81377bab7f
Fix supprot for zipped Colecovision roms. 2020-09-25 02:46:59 +02:00
gameblabla
d80c99668e
Whitespace fixes. 2020-02-29 21:12:55 +01:00
gameblabla
fe09dd504d
New scaling code, plus minor fixes. 2020-02-29 21:11:21 +01:00
gameblabla
78aa087be1
GCW0 changes. 2020-02-29 21:11:09 +01:00
gameblabla
4b2188fe0b
RS9-90 changes, including new scaling code. 2020-02-29 21:08:27 +01:00
gameblabla
1a339f427d
Fix an issue with Colecovision keypad numbers being misaligned.
(and probably some other minor fixes too)
2020-02-18 14:27:14 +01:00
gameblabla
631f304bca
Drop IPK support and only support OPKs. 2020-01-18 01:15:27 +01:00
gameblabla
5de71197c3
Small keyboard change to 350H specific port. 2020-01-18 01:15:02 +01:00
gameblabla
bd976461f4
Fixed Const issue with zip files. 2020-01-18 01:14:33 +01:00
gameblabla
465e5905b6
Added back Native scaling mode for GCW0 port. 2020-01-18 01:12:31 +01:00
gameblabla
8cc0b79f01
Merge pull request #5 from gameblabla/gcw0_alsa_fixes
Numerous audio fixes plus fixing up the GCW0 port
2020-01-17 18:47:18 +00:00
gameblabla
47b322e73d
Unfortunately triple buffering is still not working properly right now. 2020-01-17 20:45:51 +01:00
gameblabla
4f2e4847d6
Update GCW0 port. It should be working ok now. 2020-01-17 20:40:53 +01:00
gameblabla
1e8d355fb7
Merge pull request #4 from negativeExponent/fix_states
Prevent a potential crash when loading states
2020-01-17 10:38:13 +00:00
negativeExponent
ac554d2495 Prevent a potential crash when loading states 2020-01-17 13:13:45 +08:00
gameblabla
868cb61095
Fix audio issues with it trying to refresh it more than 4 times... 2020-01-16 12:28:58 +01:00
gameblabla
43bcade785
Update the other ports as to make use of LOCKING.
Also move the older GCW0 port to its own separate folder for the GKD350H.
2020-01-02 13:53:12 +01:00
gameblabla
95e976719b
Update GCW0 to using the IPU again 2020-01-02 13:52:53 +01:00
gameblabla
66a625e5be
Fix audio leaks in ALSA code and other issues in PA and SDL audio code. 2020-01-02 13:52:18 +01:00
gameblabla
5554715689
Revert the GCW0 back to not using the IPU.
It is being ignored for some reasons...

Also output silence in ALSA when closed.
Though i may remove that later since it seems to be not needed.
2019-11-29 23:18:14 +01:00
gameblabla
93b94a9563
Fix numerous issues with GCW0/RG-350 port.
- Moving up the input code before video/sound but after system_frame.
- Use more appropriate IPU code.
- Speed up drawing by not using a scaler function for drawing
since the IPU already takes care of upscaling it.
- Fix an issue with the menu code when it could not select Scale2x in some cases
- Hopefully fix black screen issue in Menu on real hardware.
2019-10-29 13:18:17 +01:00
gameblabla
dc65d90b3c
Add separate GCW0 port with support for main analog stick and IPU. 2019-10-26 20:23:34 +02:00
gameblabla
b76ccffb03
Put more Sord M5 code under said define. 2019-09-18 21:53:56 +02:00
gameblabla
c951770abd
Put Sord M5 code under a define. 2019-09-18 21:52:11 +02:00