292 Commits

Author SHA1 Message Date
ikari
6280ac6e7a Menu: Remove yet-unused cheat.o65 from object list
(Blocks menu compilation)
2026-01-02 22:15:30 +01:00
ikari
fe68526670 MSU1 video player: compensate for A/V desync
When the MSU1 audio sample rate was locked at exactly 44100Hz in 829953b, some A/V desync was introduced in videos played by the example video player.
Audio sample rate had previously been set to a slightly higher rate to match the slightly higher vertical refresh rate of the SNES.
This commit repeats a video frame occasionally, based on a phase accumulator, to keep video playback from running ahead of audio.
2024-08-17 18:36:16 +02:00
ikari
408d50dd78 menu map: also cut warning messages before parsing
avoids number conversion errors during memory map listing creation.
2024-08-17 18:25:01 +02:00
redguyyyy
3fe82d5145 Fixed savestate slot bug where a load didn't wait for a slot change to
complete.
Added Chrono Trigger savestate audio fix.
2023-06-21 12:25:36 +02:00
ikari
f480c9adb5 Add config toggles for Autosave & MSU1 Autosave
Since MSU1 auto saving may lead to undesired delays on track changes for quirky hacks, add a config option to turn it off.
In the process, a global autosave disable option is also introduced.
MSU1 autosave is automatically disabled when global autosave is disabled.
2023-06-21 12:14:10 +02:00
ikari
ea979208bd Correct comments in MSU1 video player code
S-CPU B -> S-CPU A
2023-04-08 00:20:00 +02:00
ikari
261f22686b Add LoROM flavors of MSU1 demo player
Add two LoROM flavors of the MSU1 demo video player:
* A direct adaptation of the HiROM variant with identical behavior
* A slight variant that takes a data offset and track number from RAM; may be used to support playback of different videos from a caller
2023-03-28 12:43:34 +02:00
ikari
a96bf4a94f Specify link banks explicitly for more recent snescom versions 2023-03-24 13:04:12 +01:00
ikari
aa793efb80 Workaround S-CPU A DMA silicon bug
The SNES's CPU revision A occasionally does not carry out DMA transfers when a HDMA channel is configured to use $2100 as a B-Bus target, i.e. $00 must not be written to any DMA channel's B-Bus address register at any time.
The fix sets $21ff (unmapped) as a target address instead and configures the DMA channel to write two registers, thereby wrapping around to $2100 on the second write.
2023-03-24 13:03:54 +01:00
ikari
2d99db56be Slight facelift for the early boot messages
- Update with current font from menu
- Tweak palette for antialiasing and border
- graphical underline to replace row of dashes
2023-02-26 03:13:43 +01:00
ikari
6e221c3917 SNES boot ROM (early error message display) fixes
- Do not erase text buffer from SNES side but from MCU side to prevent
  SNES overwriting text already written by MCU on delayed boot.
- Display up to 24 lines of text instead of 1.
- Show more detailed messages including FS error description
- Display firmware version
2023-02-25 22:12:45 +01:00
ikari
edb48451c4 Fix boot ROM source for recent snescom assembler versions 2023-02-25 22:12:45 +01:00
ikari
48fecdb5c6 Fix refresh/cursor issues in "Favorite games" menu
Fixes #156

UI stuff is always the most painful...
- There was no way to return outside of the submenu system whether a
  function was executed so a `listsel_dirty` flag was introduced to force
  refresh
- Same for the `listsel_backup` variable
- Redrawing the list after removing a favorite resulted in some flickering so
  an additional `screen_dma_disable` flag was introduced to inhibit
  screen refresh (WRAM->VRAM DMA) until the redraw was finished.
  This feature can be useful for other redraw operations.
2023-02-20 00:40:41 +01:00
ikari
7ced9c1530 SNES: add offset table for theme assets
Allows theme updater to work without adding the offsets for each new menu build
2023-02-03 01:37:32 +01:00
ikari
8ea41a6e53 SNES: update version in menu header 2023-02-03 01:37:32 +01:00
ikari
86d931da80 SNES: add some comments to savestate handler 2023-02-03 01:37:32 +01:00
ikari
f578b0269f Overhaul savestate handler (IRQ support, fixes...) 2021-07-28 17:19:12 +02:00
ikari
0acfd38ffa Add tribute to Near 2021-07-28 17:18:14 +02:00
ikari
bd1c27ee5a Disable ingame hook area mapping directly before jump back 2021-07-28 10:30:28 +02:00
ikari
f7e1208b06 comments, wording, cleanup, cosmetics 2021-07-28 02:19:06 +02:00
ikari
7fa5c159cf Menu: fix cmd codes and memory locations for config entries 2021-07-28 02:01:49 +02:00
ikari
031cb5201d integrate savestate handler call with in-game hook
Also move in-game hook out of the way of MCU_CMD area used by savestates
2021-07-28 00:30:48 +02:00
ikari
cdca4281ef Generate dependency files for SNES menu build 2021-07-27 23:10:56 +02:00
ikari
6e52385ef1 Menu: rename option to disable SGB perks 2021-07-18 22:22:29 +02:00
ikari
9b0c6ede0c Fix typos in SNES Makefile 2021-03-16 00:18:42 +01:00
ikari
ab27994028 update savestate memory map
steer clear of memory map used by USB save states
2020-10-14 01:15:34 +02:00
ikari
c485c54a21 update savestate code with latest frs version 2020-10-14 00:52:41 +02:00
ikari
abe7f09cd7 Make the SNES assembler Makefile a bit smarter
Actually only run targets when required files change
2020-10-13 22:29:47 +02:00
Thomas Geiger
b4d58bb2f2 Update README with instructions for new snescom, add linker directives for snescom 1.8.1.1 2020-10-01 02:26:18 +02:00
Thomas Geiger
0cc398e4ba Fix makefile, add suplementary docs, add bsnes configuration data 2020-10-01 02:24:49 +02:00
ikari
7263930222 Merge branch 'develop' into furious-save3 2020-09-30 18:06:11 +02:00
ikari
90d2d13009 Merge branch 'savestate' of https://github.com/furious/sd2snes into furious-save2 2020-09-30 17:49:41 +02:00
ikari
735d097e43 Add savestate code to menu build (preliminary) 2020-09-29 00:47:51 +02:00
ikari
415d373547 Menu: Tweak savestate setting enable function
Make it look the same as the other ones
2020-09-28 23:51:36 +02:00
ikari
d9947c5f0f SNES: remove user specific recipes from map target 2020-09-23 22:15:40 +02:00
furious
537d13de18 Added SGB menu settings, new option to choose which SGB firmware to use
Bug fixes ARM crash on mk3 when loading savestate fixes
2020-09-08 11:27:31 -03:00
furious
ebb66a5be1 Added menu options for SGB settings 2020-08-23 21:14:45 -03:00
furious
6f32044dc6 Merge remote-tracking branch 'redacted173/sgb' into feature/sgb 2020-06-28 17:33:07 -03:00
furious
0e4f14bfe8 Multiple changes since 1.10.3 release, added savestates for Mk.III (Pro) 2020-06-28 14:08:13 -03:00
Kim Johnsson
36e48b1746 Basic Favorite games list, with context menu in the file selector to add games (#134)
Context menu is accessed with the Y button
Favorites list is accessed with the SELECT button or via the main menu
Adds new menu option type FUNC_CLOSE, which closes the current menu after RTL
Extends menu_select to support multiple buttons to select an item
2020-03-02 11:03:42 +01:00
ikari
643c46735e Merge branch 'savestate' of https://github.com/furious/sd2snes into furious-savestate 2019-10-13 02:37:03 +02:00
FURiOUS
857fb44f03 Merge remote-tracking branch 'redguy/usb' into savestate
# Conflicts:
#	src/Makefile
#	src/config
#	src/main.c
#	src/snes.h
#	src/sysinfo.c
2019-09-22 15:18:27 -03:00
FURiOUS
add86441fc Merge branch 'redguy/usb' into savestate 2019-05-27 22:58:37 -03:00
ikari
a01fb3d6a1 Revise project structure
Makefile based build for FPGA configurations, firmware, SuperCIC,
release packaging. Probably needs more polishing.
2019-05-20 00:33:28 +02:00
ikari
bf52dadff1 actually detect Satellaview base unit.... 2019-04-04 16:21:23 +02:00
ikari
5034c3d06b separate status into fields governed by MCU and by SNES
Avoid status getting overwritten by race conditions
2019-04-04 16:18:03 +02:00
ikari
b2f88ad8dd bump version number to 1.10.3 2019-04-03 11:05:27 +02:00
ikari
ef67f6460e Bump version number to 1.10.2 2019-03-26 12:16:33 +01:00
ikari
86cf003d4d SPC Player: actually ignore invalid SPC files 2019-03-26 12:16:02 +01:00
ikari
c1ed48a4fd Bump version number to v1.10.1 2019-03-01 19:15:09 +01:00