Commit Graph

512 Commits

Author SHA1 Message Date
feos 737e9ca73b puae: writable memory 2024-10-07 19:26:19 +03:00
CasualPokePlayer bcf7f981f4 Rebuild Floooh for Linux 2024-10-07 01:12:35 -07:00
CasualPokePlayer 187674338b simplify floooh z80 usage 2024-10-07 01:09:17 -07:00
Asnivor 682dd761c3 FlooohZ80 - revert any changes to source header 2024-10-07 06:32:48 +01:00
CasualPokePlayer 0d3498e986 rebuild mgba for Linux 2024-10-06 17:16:12 -07:00
CasualPokePlayer b443eb40a8 Hook up rumble for mgba 2024-10-06 17:13:20 -07:00
CasualPokePlayer ce2a6da71f Build FlooohZ80 on Linux 2024-10-06 15:19:33 -07:00
CasualPokePlayer 6c2661fdac Revert "Add prints to gpgx_swap_disc" and "Add prints to cdStreamOpen"
This reverts commit 9e0cfb117b and 5c3ae64014.
2024-10-06 14:15:26 -07:00
Asnivor c644ed19ef [CPCHawk] Trying a new z80 implementation 2024-10-06 22:01:09 +01:00
CasualPokePlayer 9e0cfb117b Add prints to gpgx_swap_disc 2024-10-06 13:38:57 -07:00
CasualPokePlayer 5c3ae64014 Add prints to cdStreamOpen 2024-10-06 13:08:59 -07:00
CasualPokePlayer 5ad12db814 fix crash with sa1 ram exposure 2024-09-30 23:01:09 -07:00
CasualPokePlayer f9d4737104 Expose SA1 IRAM in old BSNES 2024-09-30 22:16:26 -07:00
CasualPokePlayer 444d8d5d10 [Snes9x] Increase CARTRAM to 512KiB (the 128KiB limit was a product of the old snes9x port, newer snes9x has 512KiB as the new limit). Expose SA1 IRAM. Let ROM be writable in the memory domain (no reason not to) 2024-09-30 21:07:19 -07:00
CasualPokePlayer 9ce41a2a88 only update custom backdrop palette if in mode 5
maybe affects https://github.com/TASEmulators/Genesis-Plus-GX/issues/5 ?
2024-09-30 13:32:12 -07:00
CasualPokePlayer ed676cda39 rebuild libmgba for Linux 2024-09-28 09:02:21 -07:00
CasualPokePlayer cab0b2df0b [mGBA] Fix savestates not writing back GPIO variables to gpioBase
The issue wasn't light sensor specific, but rather GPIO specific (so e.g. RTC games like Pokemon would also get affected)

resolves #4060
2024-09-28 08:58:24 -07:00
Morilli 117b35f037 update bsnes from upstream source
includes some reverts to unnecessary source modifications
2024-09-24 15:57:17 +02:00
CasualPokePlayer 2c63ef487b Rebuild quickNES on Debian 10 2024-09-18 13:24:40 -07:00
CasualPokePlayer c471a72e64 Fix save type for Puzzler World USA 2024-09-18 01:59:12 -07:00
Morilli fb228b77c9 Fix quickernes dll
apparently the one before was a debug build?

I built this using the makefile
2024-09-14 20:02:18 +02:00
Sergio Martin bf8758e61c
Adding Stella as A2600 emulation core (#3911)
* Adding initial version of the core

* Adding base files

* Trying to load waterbox now

* Adding stella

* Adding bk class

* Compiling bk interface to stella core

* Now compiling against Stella + SDL2-based BK backend

* Progress

* More progress

* Frame advancing (no render)

* Calling video update but crashing on zero div

* Now rendering to screen with correct palette

* Now rendering appropriately and with correct palette based on region

* Now reading controls

* Trying to capture audio

* Now adding audio

* Now polling inputs

* Now polling inputs

* Now reporting memory regions

* Added memory regions

* Removing debug prints

* Fixing indent

* Adding stella core

* Updating readme and make all cores

* Recovering ending comma

* Using heap alloc for sound buffer

* Removing unnecessary files

* Update src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IMemoryDomains.cs

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>

* Update src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IMemoryDomains.cs

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>

* Fix

* Restoring vscode

* Removing warning

* Update waterbox readme

* Fix Stella's `[Core]` attr

* Increased sound buffer size to 1Mb, as some games need more than 4K

---------

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>
Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
Co-authored-by: YoshiRulz <OSSYoshiRulz+git@gmail.com>
2024-09-11 08:18:54 +03:00
Sergio Martin aa662eb930
Update quickerNES and add Arkanoid input support (squashed PR #3997)
* Update QuickerNES interface to accept arkanoid controllers

* Updating

* Updating quickernes to its latest version and now supporting ArkanoidNES and ArkanoidFamicom controllers

* Apply suggestions from code review

applying yoshi's suggestions

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>

* Using proper C#

* Updating based on Morilli's comments

* Updating the linux core

* Fixes based on Yoshi's comments

---------

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>
2024-09-08 21:24:27 +10:00
Morilli 0f74595cdb Update gpgx 2024-09-08 10:54:48 +02:00
CasualPokePlayer 84de88571e Rebuild SDL on Linux 2024-09-04 12:21:42 -07:00
CasualPokePlayer 40237d476a Update SDL submodule
includes https://github.com/libsdl-org/SDL/pull/10645 (waiting on merge)
2024-09-04 12:18:28 -07:00
James Groom 3a8b3913bf
Fix Uzebox framerate (squashed PR #3975)
These numbers are derived from the 2010 whitepaper:
NTSC's 4*(315/88 MHz) is doubled to give the master clock rate, which is
then divided by 1820 cycles per line and 262 lines per (progressive)
frame.

---------

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
2024-07-24 07:31:34 +10:00
CasualPokePlayer 4ad33b3d06 Rebuild waterboxhost on Debian 10
Also fix the build scripts to explicitly use nightly (which waterboxhost does need currently)
2024-06-17 21:35:57 -07:00
CasualPokePlayer 6e5de797d2 Build rust projects with x86_64-win7-windows-msvc target 2024-06-17 19:41:52 -07:00
CasualPokePlayer f309dbc316 bounds check reading spu output 2024-06-16 23:32:14 -07:00
Morilli 39d3c28bc3 Update waterboxhost dependencies
- closes #3279
2024-06-15 16:16:13 +02:00
feos d3c560b0df uae: eject when inserting
less repeated magic
2024-06-14 10:58:42 +03:00
feos 3e1d569996 uae: release build 2024-06-14 00:06:09 +03:00
feos a01a7bb61e uae: swapper 2024-06-13 23:13:42 +03:00
feos 472f881f24
PUAE core (#3941)
* puae wbx submodule
export symbols
load core
firmware and command line args to core
input
settings
2024-06-11 16:02:38 +03:00
CasualPokePlayer 0a3ab1a055 Fix read/write callbacks possibly being called recursively
Also fix possible unsafe sys bus reads
2024-06-07 14:35:45 -07:00
CasualPokePlayer 448e9fb9ec fix melonDS fw generation code 2024-06-07 13:48:19 -07:00
CasualPokePlayer 11e68a2271 Add method to query relative mouse state for TIC80 2024-06-06 17:24:26 -07:00
CasualPokePlayer 43a621a695 Handle nand/firmware a bit bitter; add sound interpolation options; add hybrid screen option 2024-06-06 13:50:29 -07:00
CasualPokePlayer c21172ae03 Fix DownscaleFramebuffer not being generated (happened to work fine in melonDS upstream, but not BizHawk) 2024-06-06 00:39:31 -07:00
CasualPokePlayer b7265e2f39 Update melonDS 2024-06-05 23:37:53 -07:00
CasualPokePlayer 7164763e2f Build melonDS with fwrapv, fixes weird rendering issues 2024-06-02 12:59:18 -07:00
CasualPokePlayer 43a38a05ca Workaround driver bugs(?) with D3D11 GL interop 2024-06-01 18:30:17 -07:00
CasualPokePlayer 0488bbd33a Fix mupen grabbing an OpenGL context based on whatever current version/flag attributes were present
This is global state that gets mucked by us since we also use SDL2 to handle OpenGL context management, Rice/Glide/Glidemk2 don't like core contexts due to them using old deprecated functionality
2024-05-31 20:50:48 -07:00
CasualPokePlayer d2fe532f6d Fix mupen64plus breakage after security updates 2024-05-31 17:29:17 -07:00
Morilli 873fd305ae remove unused 7z.dll 2024-05-30 08:51:12 +02:00
CasualPokePlayer e7c093eac6 Fix various possible OOB read/writes in mupen64plus
fixes #3929
2024-05-29 22:38:53 -07:00
CasualPokePlayer 7e6e9705ae Update libstdc++ dll and friends, also fix a crash in gambatte due to OOB string accesses 2024-05-29 18:59:11 -07:00
CasualPokePlayer 73395c9e49 Rebuild quicknes for Linux 2024-05-29 12:45:07 -07:00
CasualPokePlayer db88753772 Fix randomish crash with quicknes 2024-05-29 11:56:39 -07:00
CasualPokePlayer 72f1495b1e Merge ares v134 2024-05-27 21:52:07 -07:00
CasualPokePlayer 0c6df6e79b Don't clamp touch/screen coord transformations 2024-05-27 13:33:46 -07:00
feos c65a11eb2b fix #3917
[genesisplusgx] "VDP mode" option (for eliminate region lockups / megakey behavior) #3917
2024-05-27 19:55:45 +03:00
CasualPokePlayer e788b3926b fix cimgui .so name 2024-05-24 13:49:28 -07:00
CasualPokePlayer 476ac94d80 Add GPU acceleration for most of ApiHawk's GuiApi (gui.* lua APIs), refactor ApiHawk surfaces 2024-05-24 13:26:58 -07:00
Morilli 3dafbe0f42 fix gpgx per-line sprite limit setting not working
fixes #3918
2024-05-15 02:42:44 +02:00
CasualPokePlayer 3264317eb9 Linux SDL2 rebuild 2024-05-14 13:36:00 -07:00
CasualPokePlayer 00befd0d09 Update and rebuild SDL2 2024-05-14 13:32:07 -07:00
CasualPokePlayer 10de1e5702 linux chd-rs rebuild 2024-05-02 23:13:31 -07:00
CasualPokePlayer 17774a14f7 make sure to enable lto for release chd-rs 2024-05-02 23:10:47 -07:00
CasualPokePlayer e2de1dedf2 build chd-rs with max_perf
mainly doing this as the pure rust zstd backend doesn't accept discohawk produced chd files, although they are completely valid by reference zstd implemetation standards, max_perf uses the reference zstd here
2024-05-02 23:10:46 -07:00
CasualPokePlayer 64dc72cea5 linux chd-rs build, also delete libchdr folder 2024-05-02 22:23:31 -07:00
CasualPokePlayer 6cab4a4f99 Switch libchdr to chd-rs 2024-05-02 22:14:56 -07:00
CasualPokePlayer 7d9483ea0f make sure to byteswap genesis bootrom (gpgx expects us to do this too) 2024-04-30 20:56:23 -07:00
CasualPokePlayer f4473cc4b9 add back gpgx_write_m68k_bus (got deleted accidentally) 2024-04-30 20:28:27 -07:00
CasualPokePlayer 1b742cf356 Fixup GPGX memory domains / getregister when not emulating a Genesis; fix bug using system_hw when not yet set; add TMSS bootrom support (closes #2230) 2024-04-30 20:07:09 -07:00
CasualPokePlayer b37bc7b5ff Fix #3905 2024-04-30 12:22:48 -07:00
CasualPokePlayer 66e38506f6 revert loadrom changes in gpgx 2024-04-30 00:48:16 -07:00
CasualPokePlayer 3c7898dd5a Fix #3906 2024-04-30 00:28:31 -07:00
CasualPokePlayer 172f6cbbde libchdr linux build 2024-04-29 22:29:24 -07:00
CasualPokePlayer 21b6bd331b Add CHD CD support 2024-04-29 22:21:47 -07:00
Sergio Martin 9dcb84336e
Wiring up GPGX as core for SMS, GG, and SG (#3902)
* Adding GPGX as core for SMS and GG
* Enabling SMS FM selection
* Allow selecting PicoDrive as the preferred core for MD/Genesis

---------

Co-authored-by: James Groom <OSSYoshiRulz+GitHub@gmail.com>
Co-authored-by: feos <feykomylce@gmail.com>
2024-04-28 20:10:44 +03:00
feos e5a2d9ee41 update gpgx for even smaller port diff
include sms/gg stuff
2024-04-28 14:36:23 +03:00
CasualPokePlayer eeebd39a11 really fix gpgx cd audio this time 2024-04-27 05:34:45 -07:00
CasualPokePlayer 212878397e fix gpgx audio harder 2024-04-27 03:21:51 -07:00
CasualPokePlayer 095d160034 try fixing gpgx cd audio 2024-04-27 03:12:27 -07:00
CasualPokePlayer 06ceec6390 Fixup nyma flatbuffer comms, update flatbuffer 2024-04-27 02:52:14 -07:00
CasualPokePlayer cb3c7610d5 Update to mednafen 1.32.1 2024-04-26 21:56:39 -07:00
CasualPokePlayer fb438863f5 Fix crash when saving CD ebram 2024-04-26 16:18:34 -07:00
CasualPokePlayer 80f209ed0d Remove CD caching code
It was a sort of novel speed boost idea, but it doesn't work too well due to wbx heap limitations and the drive light still needing a callback anyways
2024-04-26 15:41:33 -07:00
CasualPokePlayer f9b8a775b0 Fix drive light not appearing as much as it should 2024-04-26 13:50:37 -07:00
CasualPokePlayer cb41b6512c Rebuild GPGX 2024-04-26 13:12:45 -07:00
Sergio Martin 5cb1fe0042
Update Genesis Plus GX Core (#3889)
* Added deep freeze functionality
* Adding support for selecting sound chip
* Adding LUA interface to the deepfreeze list
* Implemented sprite always on top in the VDP
* Found and fixed the issue that manifested itself in a reset Gargoyles and an outright fail in Ristar. The issue was the use of a union type containing overlapping cd and cartdrige data. Using struct now to keep them separated
* Fix PC reg in tracelogs
---------
Co-authored-by: feos <feykomylce@gmail.com>
Co-authored-by: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
2024-04-21 18:34:54 +03:00
CasualPokePlayer 880d8d9f07 rebuild bsnes, update link script / emulibc.h to work with clang-18 2024-04-14 12:57:18 -07:00
CasualPokePlayer 229889279a linux rebuild
sameboy was also rebuilt, but it appears the last commit doesn't actually change the resulting build
2024-04-13 10:31:12 -07:00
CasualPokePlayer d2ba656b01 rebuild sameboy 2024-04-13 10:26:00 -07:00
CasualPokePlayer 88643138cb [mGBA] Prevent memory callbacks from being triggered within a memory callback 2024-04-13 10:19:29 -07:00
CasualPokePlayer c01dea66d4 rebuild mgba for linux 2024-04-12 19:44:06 -07:00
CasualPokePlayer fe8a119eaf update mGBA 2024-04-12 19:38:54 -07:00
CasualPokePlayer d4e52cae54 build sameboy update on linux, fix linux build 2024-04-12 16:41:27 -07:00
CasualPokePlayer 5df8ce3b8e Convert sameboy makefile into cmakelists, use clang-cl to build sameboy, update sameboy 2024-04-12 16:26:25 -07:00
feos 342fb9cb26 quicknes: update, fix build, and rebuild 2024-03-24 22:14:41 +03:00
Sergio Martin 9c4a818423
Replace QuickNES core with QuickerNES (squashed PR #3839)
resolves #3848
2024-03-23 01:31:22 +10:00
CasualPokePlayer 6e881d39a2 encore: avoid directly using SetThreadDescription (windows 10+ only function), restores windows 7-8.1 compat 2024-03-13 21:08:07 -07:00
CasualPokePlayer 986299c52b encore linux build 2024-03-10 20:05:04 -07:00
CasualPokePlayer 5cb80569d9 encore: bump up uncompressed state buffer size 2024-03-10 19:57:03 -07:00
CasualPokePlayer d9a93c474a throw out the speex resampler, place in SDL's resampler to replace it
no more 2010 vc++ runtime requirement
2024-03-10 15:02:25 -07:00
CasualPokePlayer 5a8ce91d95 Recompile mupen dlls against VS2022
this also needed mupen deps updated, and SDL2 compat needed to be fixed. SDL doesnt need to be used anymore, so that's nice
also deleted mupen projects which we don't use anymore
2024-03-10 03:36:43 -07:00
CasualPokePlayer 330115452f linux encore build 2024-03-08 21:32:11 -08:00
CasualPokePlayer 90369fce13 encore: add lag detection 2024-03-08 20:25:25 -08:00