15 Commits
Author SHA1 Message Date
Adrian "asie" Siekierka ec5f14d95e WS: WonderWitch/NOR flash + extended 2003 mapper emulation support (#100) 2026-07-18 19:30:57 +09:00
Adrian "asie" Siekierka 9cb5c5f46e WS: Fix LCD control port initial read when skipping boot ROM (#182) 2026-06-20 08:25:56 +09:00
Adrian "asie" Siekierka 045e9c2e70 WS: Emulate internal EEPROM unlock bit in cartridge header when a boot ROM is not present. (#174) 2026-06-14 19:38:33 +09:00
SourMesen 37de357b75 NES: FDS - Performance improvements (#143)
-ProcessCpuClock was used to check for events that don't need to be checked that often (auto-switch disk + auto fast-forward options). This has been moved to an EndFrame callback.
-This was even slower than intended because of the call to _emu->GetFrameCount() which was, relatively speaking, fairly slow. To improve its performance (since it's used rarely for some things like turbo button processing), a separate GetFrameCount function was added on all console classes, and Emulator::GetFrameCount was also optimized to be faster when called from the emulation thread.

When the auto-switch disk option is enabled, this can improve performance by about 25-30%. When the option is not enabled, this still improves performance by 4-5%.
2026-05-27 04:02:54 -07:00
Adrian "asie" SiekierkaandSour 22424d7412 WS: Initial cartridge RTC implementation (#98)
* GBA: Separate S3511A RTC emulation code from GBA interface emulation code.

* WS: Initial cartridge RTC implementation.

* WS: Expose cartridge RTC state to register viewer.

* Code: Fix formatting.

* WS: Update Core.vcxproj.

* Fix compilation error, remove unused method

---------

Co-authored-by: Sour <[email protected]>
2026-05-19 05:50:19 -07:00
Adrian "asie" Siekierka 5bb64aacf0 WS: Initial Pocket Challenge V2 support (#95)
The Pocket Challenge V2 is an education handheld based on the ASWAN SoC, as used in the WonderSwan. It uses the same boot ROM (with an early exit), but has some implementation changes:

    The LCD icon segment area is not present (on the display panel only).
    There is no onboard internal EEPROM.
    The input keypad layout differs.
    The headphone output is always used with a custom onboard DAC, as opposed to relying on the SoC's own PWM DAC for the internal speaker.

This PR implements support for all of this. Support for the PCv2-exclusive cartridge mapper (KARNAK) will be added by a separate PR.
2026-05-17 01:11:02 +09:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
Fiskbit 4beea87cc3 Merge pull request #15 from asiekierka/feature/ws-script-fix
Debugger: WS - Fixed I/O port script memory callbacks not working
2026-03-31 13:41:46 -07:00
Adrian Siekierka ba8c80f71d Debugger: WS - Fixed I/O port script memory callbacks not working 2026-03-30 19:55:01 +02:00
Adrian Siekierka 7a59101b67 WS: Improve initialization logic.
- Games expecting vertical mode are now correctly auto-rotated on start when
  the boot ROM is not present.
- Cartridge SRAM and I/O port timings are now correctly slowed down when
  emulating the monochrome console model.
- Other minor improvements to initialization accuracy when the boot ROM is
  not present.
2026-03-29 12:50:51 +02:00
Sour 998ab6e3de WS: Minor tweaks to EEPROM delay logic 2025-07-14 17:24:32 +09:00
Sour ed7d8ca6a3 WS: Fixed zero flag after unsigned multiplication on monochrome model 2025-07-13 20:58:30 +09:00
Sour 88462e6ffa WS: Fixed minor port-related issues (missing bits, etc.)
Fixes the IO Regs test in WSHWTest for all 3 console types
2025-06-25 16:40:43 +09:00
Sour cb0da64c5b PCE/SMS/WS: Fixed behavior/crashes when loading ROMs that aren't a power-of-2 size 2025-04-24 21:26:15 +09:00
Sour c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00