Commit Graph

21 Commits

Author SHA1 Message Date
CasualPokePlayer 63ec0cecc7 fix picodrive's cram/vsram sizes 2023-05-18 19:29:42 -07:00
CasualPokePlayer 0a2d4405f0
Revamp Waterbox Setup (#3529)
* Waterbox setup has been revamped to use the latest llvm parts (llvm 16 for compiler_rt/libunwind/libcxx/libcxxabi).
* Clang is now possible to use, and is the preferred compiler (due to superior performance).
* Supported compilers are now clang 14/15/16, and gcc 12.
* Other core updates are mixed in.

---------

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
2023-03-28 16:53:33 -07:00
nattthebear 3b207f54ce 32x - fix crash, fixes #1826
Trigger condition:  Any 32x rom smaller than 4MB in total size that tries to read out of bounds between its actual end and the 4MB limit

I've fixed the emulator crash, but I do not know if such roms are actually mirroring correctly - they probably aren't
2020-05-21 10:04:12 -04:00
nattthebear 21cdf5120b
Revamp waterbox build environment and runtime. (#2027)
Create an all new waterbox build environment:
WSL2 + Ubuntu 20.04 LTS (Other linuxes may work)
Musl libc with waterbox customizations
LLVM's libclang-rt, libunwind, libcxxabi, libcxx
Static linking to elf files

Compared with the old system, this is easier to set up a dev env for and easier to update in the future. The executables are larger but produce smaller savestates due to static linking. The modern toolchain means advanced library features and language features that sometimes appear in some upstream cores will be reusable.
2020-05-20 15:34:24 -04:00
nattthebear fe85175619 Fix Issue #1048: Flags on memory domain in picodrive 2017-11-13 21:12:27 -05:00
nattthebear 569730a61b picodrive: region select. closes #929 2017-07-22 10:55:17 -04:00
nattthebear 05299c618f picodrive: Only honor reset and power buttons on leading edge. Works around bug where resetting every frame broke the emu 2017-07-13 18:06:35 -04:00
nattthebear dd7389f848 PicoDrive: Add core query whether 32X hardware is currently active. Remove code that assumed that the emulator would always activate 32X hardware when _32xPreinit was true, or that it would never activate 32X hardware when _32xPreinit was false. Both assumptions are false. 2017-07-09 12:14:27 -04:00
nattthebear d1ff443540 PicoDrive: Add the rest of the games to the DB. Expose IRegionable information and use it to inform FPS rate 2017-07-09 11:59:54 -04:00
nattthebear ea02e62d05 PicoDrive: Add memory domains, including ISaveRammable support. In order to get memory domains for 32x, "32X" needs to be on the gamedb entry. 2017-07-03 11:43:03 -04:00
nattthebear 5e54b896b7 PicoDrive: Disable idle loop detection. Move rom to alloc_sealed. Set heap sizes. 2017-07-03 10:50:24 -04:00
nattthebear d1a9c41466 PicoDrive: Fail fast when trying to run any hardware that calls PicoCartResize (SVP, Pier Solar, and others). Bizhawk won't be using this, so no reason to think about it. 2017-07-03 10:24:26 -04:00
nattthebear b6d2f38899 remove stray printf 2017-07-03 09:09:00 -04:00
nattthebear bc55597e90 PicoDrive: CD Audio support. GPGX and PicoDrive both share the same MCD emulation core, which has significant accuracy difficulties with CD audio... 2017-07-03 08:16:34 -04:00
nattthebear 24cd317a1c PicoDrive: Mega CD. No CD audio yet. 2017-07-02 20:46:01 -04:00
nattthebear a80f16c032 PicoDrive: minor cleanup 2017-07-02 18:29:41 -04:00
nattthebear 45e0770d06 PicoDrive: Connect 32X bios files. These are not required by the emulator, but we'll require them for deterministic mode. Otherwise, they're used if available. 2017-07-02 18:16:38 -04:00
nattthebear fee2f865cc PicoDrive: Fix 32x. (The 32x video draw routines don't respect pitch so you have to set it to width in bytes) 2017-07-02 17:45:10 -04:00
nattthebear 264436e614 PicoDrive: input plus lagged and callback 2017-07-02 16:15:54 -04:00
nattthebear 8b4176df70 PicoDrive: Sound 2017-07-02 15:06:44 -04:00
nattthebear 47535f8158 PicoDrive (WIP) 2017-07-02 13:47:43 -04:00