Commit Graph

1544 Commits

Author SHA1 Message Date
Sylverb
b80630d0d1 Add support for gnwmanager for flashing, use make [...] flash_gnwmanager
to use gnwmanager instead of patched openocd
2025-11-13 22:48:13 +01:00
Sylverb
7bdd7f80c2 Fix docker compilation 2025-11-13 13:51:34 +01:00
Sylverb
bcbe58bf70 Fixes for arm compiler v14.x 2025-11-13 13:45:42 +01:00
Sylverb
f2e458f284 GB/GBC : Gnuboy - add an option to reset the console 2025-04-28 12:38:46 +02:00
Sylver Bruneau
d179d49325 Merge pull request #75 from damonmo2/msx_wsv_genesis 2024-12-12 06:30:17 +01:00
Daniel Montero
cd5f5f2b73 Full screen upscaling for smw and zelda3 2024-12-10 02:10:56 +01:00
Sylverb
8783c57a8a NES : fix nofrendo compilation error 2024-11-25 12:50:11 +01:00
Sylver Bruneau
345dda4856 Merge pull request #74 from BenjaminSoelberg/GB_PAL_LIVE_UPDATE
Added GB palette live background update when changed
2024-08-17 10:21:10 +02:00
Benjamin Sølberg
d8a0518b3e Added GB palette live background update when changed 2024-08-16 23:40:24 +02:00
Sylver Bruneau
027508e2f5 Merge pull request #73 from BenjaminSoelberg/GW_SND_OVERFLOW_FIX
Bumped LCD-Game-Emulator with fix for G&W audio buffer overflow.
2024-08-16 21:00:56 +02:00
Benjamin Sølberg
cbf4eb0725 Bumped LCD-Game-Emulator with fix for G&W audio buffer overflow.
TODOs removed as one was fixed and one was wrong.
2024-08-15 08:25:09 +02:00
Sylver Bruneau
a9a2c52b1d Merge pull request #72 from marian-m12l/msx_wsv_genesis
Check extflash params alignment
2024-07-28 22:24:00 +02:00
marian
edaec50419 check extflash params alignment 2024-07-28 12:50:46 +02:00
sylverb
347c61831f Remove / char at the end of includes path witch could cause some problems with some environments.
(adding some missing changes)
2024-06-23 20:17:06 +02:00
sylverb
9ca86c96b5 Remove / char at the end of includes path witch could cause some problems with some environments. 2024-06-06 15:06:36 +02:00
sylverb
06509dfcf2 Fix rom parsing error if using Pillow (python lib) >= 10 2024-06-06 09:55:54 +02:00
Sylver Bruneau
9b544a25a7 Merge pull request #71 from BenjaminSoelberg/TAMA_KEEP
Missing .keep file added (even so the parent folder is in .gitignore)
2024-05-04 11:11:53 +02:00
Benjamin Sølberg
6878c279e0 missing .keep file added (even so the parent folder is in .gitignore) 2024-05-04 10:02:09 +02:00
Sylver Bruneau
dec96e611d Merge pull request #70 from BenjaminSoelberg/msx_wsv_genesis 2024-04-29 11:12:38 +02:00
Benjamin Sølberg
e5352c8a04 Moved submodule refs back after PR merges 2024-04-23 19:59:45 +02:00
Sylver Bruneau
8fdbf2d23d Merge pull request #66 from marian-m12l/fix/default_binding
Fix default SMW button binding for zelda units to match readme
2024-04-20 09:53:01 +02:00
Benjamin Sølberg
467149b50e Merge pull request #67 from BenjaminSoelberg/tamagotchi
Tamagotchi
2024-04-18 20:58:19 +02:00
Benjamin Sølberg
6935cb63d6 Merge pull request #65 from BenjaminSoelberg/multisync
Multisync feature
2024-04-18 20:42:26 +02:00
Benjamin Sølberg
0f09db6e76 Code cleanup 2024-04-13 22:50:44 +02:00
Benjamin Sølberg
ac25bb6001 Added a Saleae (Logic state analyzer) debug library to enable developers to capture precise timing of audio and LCD dma. Can also be used for a ton of other tings. PIN0 = Sound DMA completed (Both half and full), PIN1 = LCD Reload (line 248), PIN2 = LCD line event (line 239), PIN3 = LCD Swap called, PIN4 = Frame period, PIN5 = Unused frame time 2024-04-13 22:50:44 +02:00
marian-m12l
5019461889 fix default SMW button binding for zelda units to match readme 2024-04-01 20:55:16 +02:00
Benjamin Sølberg
a9191bc844 Added automatic G&W -> Tamagotchi P1 clock copy upon load 2024-03-17 23:24:29 +01:00
Benjamin Sølberg
8b4e6c8f0d Debug memory dump added. 2024-03-17 23:24:29 +01:00
Benjamin Sølberg
3b2c2b27c7 Fixed: Small sound tick if going from mute to unmute by turning vol up in a new game
TODOs regarding save and restore deleted. Cannot reproduce.
2024-03-17 23:24:29 +01:00
Benjamin Sølberg
171a2093b0 Removed no longer needed TODOs 2024-03-17 23:24:29 +01:00
Benjamin Sølberg
a9f40bb993 Changed submodule "tamalib" to point to https://github.com/BenjaminSoelberg/tamalib.git 2024-03-17 23:24:29 +01:00
Benjamin Sølberg
20da7e4eb0 Added static to tama functions to avoid name clashes
Fixup of cpu_reset -> tama_cpu_reset to avoid name clashes
Fixing sound index
Added a call to common_emu_frame_loop_reset() when finishing fast forward as the integrator was way out of sync (due to the low frame rate during FF to maximize emu CPU time)
2024-03-15 14:28:09 +01:00
Benjamin Sølberg
2540cfe692 Added common_emu_frame_loop_reset() to reset the frame integrator 2024-03-15 14:28:09 +01:00
Benjamin Sølberg
096cd7b876 Tamagotchi P1 emulator based on tamalib by https://github.com/jcrona/tamalib
Tamalib has been heavily changed to accommodate G&W needs.
A "fast forward" option has been added to emulate "always on" mode.
The emulator is currently running about 300x speed while fast forwarding.
Save & load of emulator state also works.
Max age for save states are 48 hours. The emulator will ignore fast forward if state is older and just continue from where it left off.
Max volume is 25% as a 100% square wave at even lowest volume setting is way too loud.
It also supports start_paused handling.
Reload of a tama state will now re-initialize the entire emulator which eases the implementation. This is a deviation from other emulators but my hope is that it makes the code more clear and concise.
Bumped all clock counters to 64 bit to avoid wrapping around every 1.5 days.
Button handling is: any d-pad = left button, B is middle button and A is right button.
In-game icons are taken from tamatool and scaled for G&W use.
I have addedd a simple instruction decoding cache using a 4k 'map' to tamalib to increase performance from a 2456 fps base to about 8150 fps (with no gui, and no sound etc.)
lcd_clear_active_buffer & lcd_clear_inactive_buffer how returns the cleared buffer
2024-03-15 14:28:09 +01:00
Benjamin Sølberg
a92df835b4 Multisync fixup: Changed G&W emulator to run 60 Hz so it can be used with multisync. 2024-03-14 20:59:49 +01:00
Benjamin Sølberg
43767a66e9 Multisync fixup: Removed the emulator specific multisync feature from the Gwenesis emulator to take advantage of the generic multisync system 2024-03-14 20:59:49 +01:00
Benjamin Sølberg
35292c59c0 Multisync fixup: Missing call to lcd_set_refresh_rate() added to the MSX emulator. This fixes a problem with misaligned screen updates. 2024-03-14 20:59:49 +01:00
Benjamin Sølberg
07220957cf Multisync fixup: Missing call to lcd_set_refresh_rate(60) added to the GB emulator. Not really needed as the default LCD refresh rate is 60 but an emulator can't really trust that precondition. 2024-03-14 20:59:49 +01:00
Benjamin Sølberg
999dc1313c Reduced sync time with 50% by pre-syncing the LCD and audio clocks 2024-03-14 20:59:49 +01:00
Benjamin Sølberg
812bc6ad18 Bumped retro-go-stm32 to multisync 2024-03-13 00:13:50 +01:00
Benjamin Sølberg
64ce803c1b Bumped retro-go-stm32 to multisync branch 2024-03-12 17:51:59 +01:00
Benjamin Sølberg
d6a9ccadd2 Added mandatory multisync. Added "in sync" overlay and debug option. Removed a few TODOs. Renamed set_audio_frequency() to audio_set_frequency() to follow naming convention. 2024-03-12 00:09:19 +01:00
Benjamin Sølberg
3539b75e1a Refactored and moved set_audio_frequency() to gw_audio.c to better suite multisync. New PLL values are all exact now including MCLK. 2024-03-10 22:42:44 +01:00
Benjamin Sølberg
e18f1f4a9b Multisync support added.
Changed PLL3 for 50/60 hz refresh rate to accommodate multisync.
Please note that center frequencies are still the same.
Multisync is by default opt-in.
Fixed: Removed reinit of LCD refresh rate (PLL3) during set_audio_frequency() which was causing a reset of the LCD frame rate back to 50 hz
2024-03-10 22:42:35 +01:00
sylverb
531b4c5f49 Fix crash in Amstrad emulator options menu 2024-02-23 23:24:12 +01:00
Sylver Bruneau
c65221710a Merge pull request #58 from BenjaminSoelberg/PROJECT_COIN
Project coin, a collection of pocket money changes
2024-02-20 22:08:08 +01:00
Sylver Bruneau
b9be6eca11 Merge pull request #63 from marian-m12l/rtc_fix
Workaround for RTC clock to avoid loosing seconds on reset
2024-02-18 22:55:35 +01:00
marian
a1060dc97d add workaround to fix rtc clock getting frozen on each reset during init 2024-02-18 18:22:31 +01:00
Sylver Bruneau
189a3d963e Merge pull request #60 from marian-m12l/feature/alternate_bindings
Add support for alternate button bindings in smw
2024-02-13 11:53:27 +01:00
Sylver Bruneau
d74f1ceed0 Merge pull request #59 from marian-m12l/msx_wsv_genesis
Add reset support in smw and zelda3
2024-02-13 11:52:12 +01:00