183 Commits

Author SHA1 Message Date
Preston Sumner 86faea2f0b Merge pull request #9 from ActuallyTaylor/fix-uint8-casting
Fix Compilation
2025-10-22 15:27:05 -06:00
Taylor Lineman d8e31d010d Fix many more castings
Signed-off-by: Taylor Lineman <git@actuallytaylor.com>
2025-10-13 13:24:56 -04:00
Taylor Lineman c5dacd8c13 Static cast ints to bytes to allow for compilation
This matches the changes on the core Nestopia repository that this project points at.

Signed-off-by: Taylor Lineman <git@actuallytaylor.com>
2025-10-08 17:46:55 -04:00
clobber 91f65da7a9 Fix -ringBufferAtIndex: deprecation warning. v1.52 2023-06-22 00:07:15 -06:00
clobber ab4c1101d6 Merge pull request #8 from ShutOstrich/master
Update to Nestopia JG 1.52
2023-04-29 20:44:50 -06:00
ShutOstrich 42d0389422 Update to Nestopia JG 1.52 2023-04-30 00:32:30 +02:00
clobber b68dafdebc Update to Nestopia JG 1.51.1
Version 1.51.1
--------------
 - Add database entries for Micro Mages, Nong Chang Xiao Jing Ling
 - Add support for Mapper 162 (UNL-FS304)
 - Add support for Mapper 554 (UNL-KS7010)
 - Add support for Mapper 302 (UNL-KS7057)
 - Pass cpu_exec_space/test_cpu_exec_space_ppuio
 - Improve MMC3/MMC6 IRQ handling
 - Improve DMC DMA read conflict handling

Version 1.51.0
--------------
 - ... All changes since last core port release plus the following:
 - Implement full behaviour of Mapper 156: fixes Janggun-ui Adeul
 - Correct SOROM Reset and Save/Load behaviour: fixes saving in Genghis Khan,
   Nobunaga's Ambition, and Romance of the Three Kingdoms
 - Correct FDS IRQ behaviour: fixes Druid - Kyoufu no Tobira, Lutter
 - Implement correct VRC2a CHR bank selection
 - Fix implicit integer size conversion in Sunsoft 5B audio
 - Improvements to RAMBO-1 timing
 - Implement mirroring for UNL-KOF97
 - Allow loading of NES 2.0 format UNL-KOF97 ROMs
 - Fix support for Korean Igo (Korea) (Unl)
 - Allow loading of NES 2.0 format UNL-TF1201 ROMs
 - Convert Street Heroes (Tw) to NES 2.0 format
 - Allow loading BMC-8157 ROMs in NES 2.0 format
 - Allow loading BMC-BS-5 ROMs in NES 2.0 format
 - Properly implement NAMCOT-340
 - Rewrite NAMCOT-175
 - Implement Mapper 306/KS7016 and rearrange Kaiser mapper code
 - Implement Mapper 312/KS7013B
 - Implement Mapper 307/KS7037
 - Allow loading of BMC-190IN1 ROMs in NES 2.0 format
 - Allow loading of BMC-A65AS ROMs in NES 2.0 format
 - Assign UNL-CC-21 to Mapper 27, and fix CHR bank swapping implementation
 - Allow loading of UNL-EDU2000 ROMs in NES 2.0 format
 - Allow loading of BMC-T-262 ROMs in NES 2.0 format
 - Allow loading of BMC-64IN1NOREPEAT ROMs in NES 2.0 format
 - Allow loading of UNL-T-230 ROMs in NES 2.0 format
 - Allow loading of UNL-AX5705 ROMs in NES 2.0 format
 - Allow loading of BMC-GS-2004 ROMs in NES 2.0 format
 - Allow loading of BMC-GS-2013 ROMs in NES 2.0 format
 - Allow loading of BMC-WS ROMs in NES 2.0 format
 - Convert BMC-FK23C and BMC-SUPER24IN1SC03 to Mapper 176
v1.51.1
2021-09-15 12:39:53 -06:00
clobber edab55082a Update to Nestopia JG 1.51.0 2021-09-15 12:25:44 -06:00
C.W. Betts 72a6e1888f Mark the callbacks in NESGameCore as static.
More localized error strings.
Also have errors have NSDebugDescriptionErrorKey in their dictionary.
2021-07-29 14:36:13 -06:00
C.W. Betts 787a036311 Minor Xcode maintenance. 2021-03-21 18:44:26 -06:00
C.W. Betts 2657a39d69 Add localizable strings for Nestopia errors. 2021-03-21 18:36:51 -06:00
C.W. Betts 8df794401b Fix some static analyzer warnings about null dereferencing an error pointer.
Other Static analysis warnings.
2021-02-20 02:54:11 -07:00
C.W. Betts 111b26d59c Build only active architecture on debug builds. 2021-02-20 01:33:52 -07:00
C.W. Betts ed996bc78a Remove VALID_ARCHS and NST_NO_ZLIB. 2021-01-15 21:48:37 -07:00
clobber 2b6d11fad0 Bump version for sparkle updater. v1.49.0.5 2020-12-09 17:46:35 -07:00
clobber 85b0e6e568 Cleanup bundle. 2020-12-09 17:44:46 -07:00
clobber 15d153d148 Don't build any filters. 2020-12-09 17:41:21 -07:00
clobber d13c676678 Merge latest improvements from upstream https://gitlab.com/jgemu/nestopia/-/commit/66578c0d98dcc9d4a0339e28479d9350845d2b18
* Fixes scratchy sounding triangle channel, noticeable in Super Mario Bros. 3 (resampler waveform decay issue)
* Pass test: apu_reset/len_ctrs_enabled
* Pass test: blargg_ppu_tests_2005.09.15b/power_up_palette
* Remove overclocking hack
* Revert the PPU to a mostly clean state and replay working community fixes from Nestopia UE on top - Do not include Burai Fighter status bar fix or Dendy timing fixes as they cause regressions
* Correctly implement opcodes 9C and 9E
* Correctly count cycles and write correct value to 0x4017 on soft reset
* Tweak hard reset cycle timing
* Properly implement behaviour of Camerica mapper (71)
* Improve MMC5 emulation accuracy and add Sim City to NstDatabase.xml
* Correctly handle NAMCOT-3301 boards with 8K PRG ROM, add entries for Galaxian and Galaxian (Rev A) to NstDatabase.xml
2020-12-09 14:25:59 -07:00
clobber 8b110d3196 Source files should not be executable. 2020-12-09 13:50:38 -07:00
C.W. Betts c163b4df0e Poke the plists: get the development language from Xcode build. 2020-10-01 01:51:37 -06:00
C.W. Betts c7af2ea037 Fix locations of the system plugin headers.
Minor Xcode maintenance.
2020-10-01 01:26:41 -06:00
C.W. Betts 95e2278758 Update language resources.
This quiets warnings in newer Xcode releases.

Also update framework locations.
2020-01-07 16:40:49 -07:00
clobber 2ddbfefdc5 Bump version for sparkle updater. v1.49.0.4 2019-11-27 19:49:29 -06:00
clobber a785788b98 sync with upstream https://github.com/0ldsk00l/nestopia/commit/830761d36376e24094a1b360432cd5c2a6df46ac 2019-11-27 19:48:50 -06:00
clobber 216b8e1f44 Bump version for sparkle updater. v1.49.0.3 2019-10-23 12:06:52 -05:00
clobber 91d116c41e sync with upstream https://github.com/0ldsk00l/nestopia/commit/2b7d528bbacbad1fc6957d0ae254b22fa4924b0a 2019-10-23 12:04:57 -05:00
clobber a330f9551e Bump version for sparkle updater. v1.49.0.2 2019-06-07 14:29:55 -05:00
clobber 1d25d87ee4 sync with upstream https://github.com/0ldsk00l/nestopia/commit/db7555c2f612dacc70f890e155c6ee9b8dc58e56 2019-06-07 14:28:41 -05:00
clobber f7863e5fd2 Bump version for sparkle updater. Core is still 1.49 @ upstream https://github.com/0ldsk00l/nestopia/commit/28aa27ccd6a44cf8e1e406b58356a8d0bb646834 v1.49.0.1 2018-12-08 23:21:21 -06:00
clobber bae9392405 Add support for Raw and Pro Action Rocky cheat formats. 2018-12-08 23:20:23 -06:00
clobber 370c2df366 Update Nestopia to 1.49+
synced with upstream https://github.com/0ldsk00l/nestopia/commit/28aa27ccd6a44cf8e1e406b58356a8d0bb646834
v1.49
2018-11-26 17:01:14 -06:00
clobber d9a56c4c0e Cleanup 2018-11-26 15:13:50 -06:00
clobber 9b016d67f9 Cleanup 2018-11-22 22:49:59 -06:00
clobber 67028d3c86 Add display mode change support 2018-11-22 18:09:25 -06:00
clobber 709aacd045 Cleanup 2018-11-15 16:23:03 -06:00
clobber ef1cb7f905 Use -fileSystemRepresentation instead of -UTF8String for file names 2017-08-17 00:33:06 -05:00
Rudy Richter 1c3388fc8a Enable direct-rendering 2017-07-21 20:57:50 -04:00
clobber bdf4b5d102 Fix deployment target. 2017-02-21 12:12:36 -06:00
clobber eb62c6533d Bump version for sparkle updater. Core is still 1.40 v1.42.6 2016-07-01 12:14:42 -05:00
clobber 7c5481c86f Limit rewind buffer to 60 seconds to reduce memory use 2016-06-30 01:35:12 -05:00
clobber 3c746560bd Bump version in order for sparkle updater to work. Core is still 1.40 v1.42.5 2015-12-22 19:52:00 -07:00
clobber 758d03e2e4 Clean up deprecated methods. 2015-12-12 17:05:33 -08:00
Alexander Strange 1f6fcdb7c9 Update projects - fix debug builds, make deployment 10.11, enable objc-arc properly, build faster 2015-10-17 13:04:19 -07:00
Christoph Leimbrock da1fbad8f1 Fix some warning and adjust project settings. 2015-10-06 22:04:32 +02:00
clobber 0610f87673 Fix PAR
We don't have left/right overscan borders or crop the top/bottom scanlines for the drawing area like a real NTSC TV, instead we display the entire PPU framebuffer 256x240 pixel picture. On a 4:3 TV, the NES would have a 8:7 Pixel Aspect Ratio so we must maintain that by correcting the width to 256 * 8/7 PAR (~1.143:1), so 292x240 non-square pixels. This gives us the same look as a 4:3 TV with the proper PAR for NES, without overscan.

Docs: http://wiki.nesdev.com/w/index.php/Overscan
Test ROM: https://github.com/christopherpow/nes-test-roms/tree/master/tvpassfail
2015-05-25 11:56:23 -05:00
clobber 4eea763fa9 Merge input timing change from "Nestopia 1.41" fork by Keith Kelly (c0d3h4x0r@hotmail.com)
"Removed some screwy input timing logic that was causing input polling to work only on certain clock intervals, rather than allowing it to work every time it was called."

No idea if the timestamp logic removed was part of some accuracy on the NES, though
2015-05-24 01:42:17 -05:00
clobber 6bf3c6e694 Add some fourscore-supported rom hacks to internal database
Battle City (Japan) (4 Players Hack) http://www.romhacking.net/hacks/2142/
Super Dodge Ball (USA) (4 Player Hack) http://www.romhacking.net/hacks/71/
2015-05-24 01:12:41 -05:00
clobber bf5c6db6ba Add some notable fourscore-supported homebrew to internal database
Bomberman 3 http://tempect.de/senil/games.html
K.Y.F.F. http://slydogstudios.org/index.php/k-y-f-f/
Super PakPak http://wiki.nesdev.com/w/index.php/Super_PakPak
2015-05-21 01:45:34 -05:00
clobber 9afaea85c3 Fix automatically enabling fourscore adapter for some games 2015-05-20 16:55:48 -05:00
clobber d3b60d502f Update internal database
This fixes automatic arkanoid, fourscore and zapper support, as well as
some cart loading issues for:

3 in 1 Supergun (Asia) (Unl)
Arkanoid II (Japan)
Bomber Man II (Japan)
Bomberman II (USA)
Chiller (USA) (Unl)
Danny Sullivan's Indy Heat (Europe)
Danny Sullivan's Indy Heat (USA)
Day Dreamin' Davey (USA)
Downtown - Nekketsu Koushinkyoku - Soreyuke Daiundoukai (Japan)
Ike Ike! Nekketsu Hockey-bu - Subette Koronde Dairantou (Japan)
Mad City (Japan) (Beta)
Moero TwinBee - Cinnamon Hakase o Sukue! (Japan)
Monster Truck Rally (USA)
Nintendo World Cup (Europe) (Rev A)
Nekketsu Kakutou Densetsu (Japan) (alt)
Rackets & Rivals (Europe)
Spot - The Video Game (Japan)
Super Mario Bros. + Tetris + Nintendo World Cup (Europe)
U.S. Championship V'Ball (Japan) (Beta)
Wit's (Japan)

Upstream: https://github.com/rdanbrook/nestopia/commit/b933cee2cf235d228af5e4e592e49a923db59210
2015-05-20 16:52:47 -05:00