Commit Graph

1904 Commits

Author SHA1 Message Date
Rikard Bengtsson
61efed2cba N64: Add CIC5101 type. Don't analyze gameboy roms. (#843)
* Squashed commit of the following:

commit 40c58abf1d
Merge: 1fc9c37 7c65b22
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 09:00:07 2023 +0200

    Merge branch 'master' of https://github.com/yxkalle/Main_MiSTer

commit 1fc9c37c07
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 08:57:57 2023 +0200

    N64: Just some cleanup. Made code simpler. Added some comments where needed.

commit 7c65b22cab
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 04:09:51 2023 +0200

    Delete MiSTer_noface

commit fe2169544f
Merge: c163956 ee5659a
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 03:28:02 2023 +0200

    Merge branch 'master' into add-id-to-db

commit c1639563da
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:15:05 2023 +0200

    Update n64.cpp

commit f4a6b98b5d
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:12:51 2023 +0200

    cleanup

commit 401b9dc6a9
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Tue Oct 3 22:48:03 2023 +0200

    Clean-up

    Clean-up the code, added some comments. Allow uppercase md5s in the database.

commit e0e2affdfe
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Mon Oct 2 20:05:28 2023 +0200

    Cleaner code?

commit 554666832b
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:13:00 2023 +0200

    Delete N64-database.txt

    Delete before PR

commit 9e8fc3f30c
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:09:07 2023 +0200

    Some commenting and clean-up

commit be19bb6e67
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 01:19:05 2023 +0200

    Autodetect settings by ID

    Settings are saved in the database text files as usual, but you can match by both MD5 (first 4096), MD5 (full) as well as ID + region + revision.

* Added support for hacked boot codes

* Update n64.cpp
2023-10-29 06:52:17 +08:00
Sorgelig
bf2eb381ba file_io: fix for single-file zip. 2023-10-27 05:13:26 +08:00
Sorgelig
44139157a2 file_io: fix listing inside zip. 2023-10-26 02:32:13 +08:00
Sorgelig
4fab9a5aa7 IDE support for Uneon core. 2023-10-24 22:36:22 +08:00
Alexey Melnikov
64b6cc5a88 Update names.txt 2023-10-23 18:46:05 +08:00
MikeS11
b4e2d5fd0d YC.txt Update 20231018 (#839)
Added Saturn
2023-10-20 00:47:06 +08:00
Sorgelig
2462c8e00e Release 20231018. 2023-10-18 19:43:38 +08:00
trbocode
78edf5f58c Added controller handling for new N64 options (#838)
* Added controller handling for new N64 options

* Move to N64 folder and add per stick ranges

* Improve latency
2023-10-16 07:08:44 +08:00
MikeS11
222d61776f Update to YC Key Compare (#836)
- Add an expanded key option to include core pixel freq in key E.g. Corename_FPS_Fpix=PhaseInc
- Fixes issue with matching YC key when Saturn core changes from low res to high res mode, as the FPS remains the same when the pixel clocks change (E.g. 6.71Mhz vs 7.16Mhz)
- Tested with existing yc.txt list as well as new Saturn keys for yc.txt
2023-10-13 19:31:57 +08:00
zakk4223
9685215fec Saturn CHD image loading (#835) 2023-10-11 18:26:20 +08:00
Patrick Pollock
22834acc98 Scale N64 analog optimally for different gate shapes (#834)
* Scale N64 analog optimally wrt gate shapes

* Limit max_range to near diagonals

* Make magic numbers adjustable constants
2023-10-11 03:05:52 +08:00
Rikard Bengtsson
c9994f9dd2 Cleanup of n64.cpp (#833)
* Squashed commit of the following:

commit 40c58abf1d
Merge: 1fc9c37 7c65b22
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 09:00:07 2023 +0200

    Merge branch 'master' of https://github.com/yxkalle/Main_MiSTer

commit 1fc9c37c07
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 08:57:57 2023 +0200

    N64: Just some cleanup. Made code simpler. Added some comments where needed.

commit 7c65b22cab
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 04:09:51 2023 +0200

    Delete MiSTer_noface

commit fe2169544f
Merge: c163956 ee5659a
Author: Rikard Bengtsson <rikard.bengtsson@yahoo.se>
Date:   Fri Oct 6 03:28:02 2023 +0200

    Merge branch 'master' into add-id-to-db

commit c1639563da
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:15:05 2023 +0200

    Update n64.cpp

commit f4a6b98b5d
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Fri Oct 6 03:12:51 2023 +0200

    cleanup

commit 401b9dc6a9
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Tue Oct 3 22:48:03 2023 +0200

    Clean-up

    Clean-up the code, added some comments. Allow uppercase md5s in the database.

commit e0e2affdfe
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Mon Oct 2 20:05:28 2023 +0200

    Cleaner code?

commit 554666832b
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:13:00 2023 +0200

    Delete N64-database.txt

    Delete before PR

commit 9e8fc3f30c
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 02:09:07 2023 +0200

    Some commenting and clean-up

commit be19bb6e67
Author: Rikard Bengtsson <rikard@loginhasselberg.se>
Date:   Sun Oct 1 01:19:05 2023 +0200

    Autodetect settings by ID

    Settings are saved in the database text files as usual, but you can match by both MD5 (first 4096), MD5 (full) as well as ID + region + revision.

* Added support for hacked boot codes
2023-10-07 02:36:57 +08:00
Rikard Bengtsson
ee5659ad9c N64: Find ROM settings in database by ID, region and revision (#830)
ID, region and revision are grabbed from the games' header and are looked up in the database text file, the same file where MD5 hashes are now. Both MD5 and ID will be valid ways of determining ROM settings, so old database files will still work. The benefit of this is that the database can be shrunk quite considerably, as many, many duplicates can be removed. It will be (much) easier to maintain. I'm hoping to see fewer pull request made to the database repository as a consequence of this change.
2023-10-01 19:56:12 +08:00
Marcoen Hirschberg
d53a998eac N64 joystick emulation (#828)
* input.cpp: pass dev nr to joy_analog

This allows for per-controller behavior

* N64: add emulation for the analog joystick

This applies the reduced-range octagonal gate of the N64 analog stick to
regular analog sticks.

The code was mostly written by Patrick Pollock with small optimizations
by Martin Donlon and myself.
2023-09-24 17:22:02 +08:00
Rikard Bengtsson
257e81ed32 Fix my previous pull request (#827)
Some users complained that some games weren't working anymore after my submission. The reason is that I always set save type to "none" when the game wasn't detected in the db. This reverts some of the old behavior, don't touch the save type and controller pak settings when these settings are unknown because of missing db.
2023-09-24 13:42:07 +08:00
Rikard Bengtsson
dc7fa8253f Always try to auto detect system region and CIC (#825)
* Auto detect system region, CIC, and save type if the ROM is missing from N64-database

Make it possible to to load games with correct settings even if they are missing from the database file.

* Removed auto-detection of save type

Only detect system region and cic type, use db for save type.

* Replace info texts with shorter variants

.
2023-09-23 21:38:22 +08:00
Sorgelig
be8a80346a saturn: some tweaks in CD loading. 2023-09-19 23:04:16 +08:00
Sorgelig
4211234cba Remove some old builds. 2023-09-15 18:59:51 +08:00
Sorgelig
0b87456f21 Release 20230915. 2023-09-15 18:55:53 +08:00
Marcoen Hirschberg
d98ae034e0 N64: also search in N64-database_user.txt for rom info (#821)
Having a 2nd user database has the advantage of allowing custom entries
without losing them every time when N64-database.txt is overwritten.
2023-09-15 15:07:59 +08:00
Sorgelig
a1c64c955c input: fix mapping. 2023-09-12 04:04:37 +08:00
Sorgelig
ce9daf6de9 input: make keyboard remap system-wide. 2023-09-12 02:55:36 +08:00
Sorgelig
f1cdcd5c46 input: improve keyboard remap dialog. 2023-09-10 14:41:00 +08:00
birdybro
791308d8d4 Update names.txt (#815) 2023-09-10 05:02:47 +08:00
Sorgelig
203c8a92c4 user_io: improved persistent file loading. Don't load boot.rom if user choose specific persistent file. 2023-09-10 00:55:40 +08:00
Sorgelig
1d36e3472f input: fix broken button skip in buttons definition. 2023-09-10 00:16:46 +08:00
zakk4223
698a849990 Don't close existing filehandle if it is the same as the 'new' one. (fixes ao486 reset issue) (#814) 2023-09-09 17:53:46 +08:00
Sorgelig
a218675ba3 Some improvements in build files. 2023-09-08 18:32:02 +08:00
Sorgelig
b613044f89 MGL: support for absolute paths. 2023-09-07 23:16:45 +08:00
Sorgelig
3bfadb39e8 input: make button/key remap permanent. 2023-09-07 22:09:54 +08:00
MikeS11
ed28dab2e5 YC.txt Update 20230906 (#812)
Added Megadrive, Added JTTMNT
2023-09-07 14:56:05 +08:00
Javier Rodas
4236d70433 Add a second JAMMA quirk to support 4-player JAMMA-VERSUS with two JammaSD/J-PAC (or similar USB JAMMA) controller interfaces. (#811) 2023-09-05 05:44:00 +08:00
zakk4223
2d67bfcb88 Fix handling of index0/pregaps for ide cdrom. Various atapi protocol fixups (#809)
Revert sub-channel audio playing status
2023-09-02 23:57:22 +08:00
zakk4223
cb8b90fe87 Fix IDE ISO file loading (#806)
Co-authored-by: Zakk <zakk@rsdio.com>
2023-08-22 00:00:27 +08:00
Marcoen Hirschberg
aa76842194 N64 loading improvements (#804)
* add n64 type

* use a custom loader for N64

This loader:
- converts little-endian and byte-swapped ROMs
- auto-detects ROM properties, this requires a N64-database.txt file in
  the N64 games folder
2023-08-18 19:27:46 +08:00
Martin Donlon
cdec51b121 Add two-player and per-controller type mapping support for the Reflex Adapt USB adaptor. Similar to other arduino leonardo based devices. (#803) 2023-08-17 02:07:36 +08:00
Alex Limi
7ad8106aed Fix typo and make the description clearer (#802)
* Fix typo and make the description clearer

* Another typo
2023-08-17 02:05:45 +08:00
Sorgelig
2e0cba58fe Release 20230816. 2023-08-17 00:09:31 +08:00
Sorgelig
61611e0b55 Cleanup from unused code. 2023-08-17 00:05:44 +08:00
Sorgelig
97472bc5e9 ide_cdrom: fixes and tweaks. 2023-08-16 23:16:29 +08:00
Dominic Evans
ab7fad101c input: support Thrustmaster Force Feedback Wheel (#801)
- add Thrustmaster Guillemot Force Feedback Racing Wheel (06f8:0004)
  case to setup_wheel for axis 8 (wheel), 9 (accel) and 10 (brake) with
  FF_AUTOCENTER support. This wheel uses the built-in `iforce` kernel
  module
- prevent input_cb from skipping axis 7 and 8 (previously assumed to be
  both paddle axis) if QUIRK_WHEEL is set on the device
- add wh_pedal_invert field to indicate that the pedal range needs to be
  inverted after normalization as the device input goes from minimum (0)
  offset to maximum (255) offset on pedal depression rather than maximum
  to minimum (like the existing supported wheels)
- comment the existing wh_ fields in setup_wheel to indicate their
  function

Fixes #799

Co-authored-by: Dominic Evans <oldmanuk@gmail.com>
2023-08-16 20:49:39 +08:00
zakk4223
b29ceebf20 ide: cd audio (#800)
Co-authored-by: Zakk <zakk@rsdio.com>
2023-08-16 03:08:35 +08:00
Callan Barrett
45e46704a8 Write original core name to tmp file RBFNAME (#798)
* Write original core name to tmp

* Use more appropriate function to get original core name
2023-08-14 06:11:32 +08:00
MikeS11
3facf0b3dd YC.txt Update 20230811 (#797)
Added Tiato System SJ, Simpsons, and fixed a change in the Apple II timing
2023-08-12 01:50:44 +08:00
Wilfried JEANNIARD
a296dd235d Look in /media/network too
* Network: add /media/network for NAS usage

* fix search order in comments
2023-08-11 23:20:29 +08:00
Sergiy Dvodnenko
98e1cf71f1 Saturn: add Save support (#795) 2023-08-09 03:46:13 +08:00
Sorgelig
7bf2526b7c menu: manual OSD lock, some tweaks. 2023-08-04 04:33:07 +08:00
Sorgelig
bfd04a2066 Release 20230803. 2023-08-03 18:47:13 +08:00
Sorgelig
66db60f7de menu: unlock OSD initially for auto-OSD function, backspace as B for unlock. 2023-08-03 18:25:23 +08:00
Sorgelig
d7869391fe menu: fix OSD locking. 2023-08-03 17:54:27 +08:00