Commit Graph

80 Commits

Author SHA1 Message Date
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
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
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
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
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
Benjamin Sølberg
2946973328 Sound buffers moved from common.h to own file.
New API functions introduced to encapsulate and ease sound handling and initialization.
active/inactive sound buffer introduced much like in the LCD.
2024-01-14 19:22:11 +01:00
sylverb
70b8f1abdd Correct the location of game_genie.c in Makefile 2024-01-03 23:51:47 +01:00
marian
09499d7a59 enable homebrews by dropping rom files 2023-12-13 22:43:47 +01:00
marian
3019c39667 better makefile rules 2023-12-13 19:14:31 +01:00
marian
6419911055 fix zelda3/smw incompatibilities 2023-12-13 15:38:53 +01:00
marian
a30a8ec21e playable smw 2023-12-12 22:43:34 +01:00
marian
843747b54e playable 2023-12-12 01:31:25 +01:00
marian
fa71a2be17 load assets 2023-12-12 00:02:28 +01:00
marian
2f73a7505e initial setup for zelda3 2023-12-11 22:30:38 +01:00
sylverb
42a8f8342c Merged latest fceumm changes (mappers 342 & 468 + somes fixes) 2023-05-23 22:39:04 +02:00
sylverb
485c94bf71 NES : fix compilation error for some people 2023-02-21 23:07:55 +01:00
sylverb
f3df2b9be9 NES : add support for NSF sound files, compiled only if needed 2023-02-18 22:55:25 +01:00
sylverb
e61d573d6d G&W : Restore LZ4 support for people with LZ4 G&W "roms" 2023-02-17 23:33:53 +01:00
sylverb
26f003c5bc NES : VRC7 Mapper correction of FM Sound samplerate and improved performances 2023-02-15 13:47:24 +01:00
sylverb
9ef126151b Remove zopfli & lz4 compression support, lzma is better 2023-02-13 13:28:50 +01:00
sylverb
85875b2308 Add fceumm nes emulator port 2023-02-12 20:18:07 +01:00
sylverb
bc3699d500 Add Amstrad CPC 6128 support (beta).
Removed global emulator_framebuffer variable.
Corrected a typo in allocation file that was causing .data section to
go in DTCRam memory instead of the correct zone for each emulator
2022-12-21 12:52:55 +01:00
sylverb
1a30fd493c MSX : if no control profile is found in game database, joystick config will be used 2022-11-26 16:07:59 +01:00
sylverb
08ff19a6c4 Allow faster compilation & link if there are no MSX or Genesis roms
MSX : add controls for more games
2022-10-21 00:11:19 +02:00
sylverb
a69af73cd4 MSX : add support for R-Type and Super Lode Runner 2022-10-17 23:08:57 +02:00
Sylver Bruneau
9ab716d996 Merge branch 'msx_wsv_genesis' into A7800 2022-09-27 10:14:36 +02:00
sylverb
4645028610 UpdateGenesis emultor and overclocking at max frequency (warning: it may destroy your device) 2022-08-30 22:18:37 +02:00
sylverb
8fe11696e3 Add Atari 7800 emulation 2022-06-30 11:33:27 +02:00
sylverb
7da186a96d Genesis : preliminar savestate implementation 2022-06-02 00:42:55 +02:00
sylverb
529a32b14c Genesis : Pre-Release of Genesis Emulator (Gwenesis) 2022-05-27 11:27:33 +02:00
sylverb
3896b2f02f MSX : add support for IDE HDD .dsk image (Sunrise IDE format) 2022-05-26 08:38:53 +02:00
sylverb
2813662e2c MSX : removed warnings, added an automatic VDP sync option and improved audio in 60Hz mode 2022-05-23 14:17:18 +02:00
sylverb
50e5f4ff13 Watara Supervision support 2022-05-02 14:56:36 +02:00
sylverb
724a09a657 Add functions to allow allocating memory in AHB & ITC RAMs
MSX : use AHB & ITC RAM allocation
2022-05-01 22:22:09 +02:00
olderzeus
9bb985d821 Merge branch 'fMSX' of https://github.com/sylverb/game-and-watch-retro-go into blueMSX 2022-04-22 16:49:58 +08:00
sylverb
afac09eae9 MSX : improve Screen 12 graphics performances 2022-04-21 16:50:26 +02:00
sylverb
847980b711 MSX : add support for more rom mappers 2022-04-17 18:27:30 +02:00
sylverb
b00ea339c0 MSX : preliminar support for savestates 2022-04-12 15:30:47 +02:00
sylverb
fbc5239546 MSX : Allow to select 50 or 60Hz mode (60Hz default)
Removed a useless file from compilation
2022-04-05 20:14:41 +02:00
sylverb
4ef29f4b5e MSX : remove compilation of a useless file 2022-04-04 13:34:52 +02:00
sylverb
0ff8e3795a MSX : add support for more rom mappers 2022-04-03 19:32:00 +02:00
sylverb
a5e4d47c2d MSX : Add MSX Type selection in options 2022-04-03 18:21:29 +02:00
sylverb
d7640ec3ff MSX : add mapper field in rom info
fill mapper field with info from blueMSX database
      removed useless DAC file
      set audio samples to 22050Hz to reduce CPU usage
2022-04-02 00:20:04 +02:00
sylverb
eb4e56c114 Switch to blueMSX emulator instead of fMSX 2022-03-30 10:19:05 +02:00
olderzeus
656c817522 Merge branch 'game-genie' of https://github.com/martaaay/game-and-watch-retro-go-1 into game-genie 2022-03-11 11:38:54 +08:00
olderzeus
b3394b8714 Merge branch 'NewUI' into fMSX 2022-02-09 11:54:11 +08:00
olderzeus
a9eeeeed65 Update submodule to new version 2022-02-09 11:43:06 +08:00
olderzeus
ea22d107be Fixed 2022-01-31 11:55:53 +08:00
olderzeus
d82e662292 Merge branch 'main' of https://github.com/sylverb/game-and-watch-retro-go into fMSX 2022-01-31 09:47:02 +08:00