Commit Graph

34 Commits

Author SHA1 Message Date
harry 4c9a0ad7cf Increased array size of LoadedRomFName buffer to allow for max unix filepath length. Remove duplicate extern definitions in cpp and instead include ines.h header which contains official extern definition. 2023-01-16 08:42:33 -05:00
negative 2c85cc53c5 FDS: Update IRQ based on latest hardware notes
- IRQ updates based on latest notes. Verified with test rom.

https://www.nesdev.org/wiki/Family_Computer_Disk_System#IRQ_control_($4022)

Discussion and test rom file:
https://forums.nesdev.org/viewtopic.php?f=3&t=16507
test rom: https://forums.nesdev.org/viewtopic.php?p=205052#p205052

- Puff Puff Golf is still problematic and unplayable. added notes for
  it.

- Fix typo for a previous commit.
2022-06-05 16:18:07 -04:00
negativeExponent 3bd6da8e83
FDS: Improve IRQ emulation (#469)
Fix https://github.com/TASEmulators/fceux/issues/468

Co-authored-by: negative <negativeExponent@users.noreply.github.com>
2022-03-06 19:39:17 +02:00
mjbudd77 dbcc485e24 Cleaned up a few annoying compiler warnings. 2021-12-30 20:36:45 -05:00
g0me3 67942accc7 - better log for FDS aware of RAM based code + bios log at the same time (for convinience)
- new FDS save/load code tested and works just fine, except they forgot to use DiskWritten var to have saved data flushed, fixed, now all saves are complete
2021-05-28 19:29:23 +02:00
jnahmias 6f45846975
fix spelling mistakes caught by lintian (#314) 2021-01-31 23:57:24 -05:00
Alexey 'Cluster' Avdyukhin 6aebbcbb9b FDS fix (SubLoad() returns 0 on success now) 2020-12-21 09:44:41 +03:00
Alexey 'Cluster' Avdyukhin ddf3fb631e Refactored loader code for better error messages 2020-12-21 02:19:48 +03:00
dinkc64 0b4be4b639 fds.cpp: new fds image handling, fixes saving issues with some games (Bubble Bobble, Super Lode Runner II, ...) 2019-12-16 00:45:14 -05:00
Brad Smith 5be92d3ee5
Propagating memory initialization option to WRAM (#13)
1. Including WRAM in the RAM initialization options. Since it was usually initialized to zero by default, the "default" setting must do that as well, the explicit settings should follow the others.

2. unif.cpp extending memory randomization of 4-screen VRAM to match ines.cpp version, except it had no explicit initialization before: static array should initialize to 0, so its default will still do this

3. MALEE WRAM never initialized, replacing a few existing explicit (non gmalloc) WRAM clears with MemoryRand, removing a few memsets now unneeded because of gmalloc clear.
2018-06-26 22:11:01 -04:00
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -05:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00
CaH4e3 f3a5527c6b ppu code cleanup 2013-03-10 20:36:51 +00:00
CaH4e3 c550c9623e more cleanup 2012-12-15 21:53:01 +00:00
CaH4e3 43ee931dec cleanup and version bum... hmmm (not no mention something else) 2012-10-21 16:40:04 +00:00
punkrockguy318 449ac4352f updated FSF license in COPYING license file and source and header files 2012-08-04 22:33:16 +00:00
CaH4e3 565f063fa5 varous bugfixes, xstring trimming functions logic bugs, etc
some refactoring, some wtfs... ;)
2012-03-17 16:29:56 +00:00
aquanull ce8c18789f Some minimal fixes and clean-ups. 2011-06-09 12:17:47 +00:00
ugetab 046617c693 Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00
ugetab 5600ba096b Added an error message to account for FDS BIOS files that aren't exactly 0x2000 bytes in size. The 40k copy floating around shouldn't cause unannounced errors anymore. 2010-04-24 15:54:34 +00:00
adelikat 86f60b1371 Movie file format header now has a FDS flag. 2010-03-02 04:59:45 +00:00
punkrockguy318 bd1d923b78 * fix fds bug; .sav file was being opened read-only and causing "error reading auxillary FDS file"
* someone please test this change on win32 to ensure nothing is broken
2010-02-24 08:48:05 +00:00
mart0258 60abe35afb fds - show filename of missing bios file 2009-12-08 04:28:05 +00:00
ugetab 18cd4d6569 Fixed a debugger crash error I introduced while adding .deb saving, fixed an internal Unif/FDS filename issue that was affecting .deb saving/loading, and enabled bank display in the debugger for NSF and NES. FDS and Unif banks displayed aren't right, but shouldn't be a serious problem, even if not fixed. 2009-10-08 17:55:21 +00:00
zeromus 7c7307e43a frame advance after each fds command to protect user from doing something to the rom which can't be recorded (only one select command can be recorded per frame) 2009-08-03 23:43:31 +00:00
zeromus 9813608af3 add fds insert/select recording 2009-08-03 22:24:59 +00:00
zeromus 3e983865df SF [ 2046985 ] SRAM not wiped on power cycle (during movies) 2008-08-12 06:52:48 +00:00
adelikat c8e3eef74d Fixed a potential movie desync problem for FDS games. (Disables disk shadow write during movie play). (This was a fceu.22 fix originally) 2008-06-20 00:12:56 +00:00
zeromus e0a14909f0 faster compiles (mappers include 1/3 as much code now)
fix some memory leaks by changing the path generation APIs to return std::string.. but it still gets strdupped by a lot of clients. 
switch over more movie and savestate code to use iostreams instead of stdio
remove the temporary savestate stuff for more tasing speed hopefully
2008-06-17 06:55:07 +00:00
zeromus 43908a249d goodbye fastapass and c80x86 2008-06-06 03:02:00 +00:00
zeromus ff532f74e8 why in the world did this compile on my computer last night. well maybe now it will compile for other people 2008-05-23 17:51:52 +00:00
radsaq e7d5aa6d29 Consolidate use of FCEUGI* globals GI, CurGame, and FCEUGameInfo into a single
GameInfo var. Still not very pretty, but at least there's only one of them and
the code compiles on Linux now.
2006-08-20 19:40:15 +00:00
zeromus cd427263da moved some util files to utils directory 2006-08-01 05:50:19 +00:00
zeromus 80d0d46d73 moved fceu to its own folder to make room for other projects
[[Split portion of a mixed commit.]]
2006-07-29 05:46:15 +00:00