Path: blob/main/misc/emulator/xnes/snes9x/docs/changes.txt
28798 views
Snes9x 1.5312- Rebuilt IRQ handling. (zones)3- Improved overall timings, now Snes9x can handle events in4a opcode a little. (zones)5- Improved screen interlace and sprite interlace supports. (OV2, zones)6- Fixed Hi-Res pixel plotter. (BearOso, zones, OV2)7- Fixed C4 for Mega Man X2's "weapon get" screen. (Jonas Quinn)8- Fixed Super Buster Bros. graphics after reset. (Jonas Quinn)9- Improved SA-1 support. (zones)10- Added SA-1 CC2 support. (Jonas Quinn, byuu)11- Fixed SA-1 NMI override mode. (zones)12- Fixed Dual Orb 2 sound glitch. (byuu)13- New APU timing hack, fixes various games that exhibit14problems with Blargg's SNES_SPC library. (OV2)15- Fixed the problem that echo buffer breaks IPL ROM. (zones, OV2)16- Fixed movie snapshot unfreeze inconsistency. (gocha)17- Faster config file saving. (OV2)18- Fixed BlockInvalidVRAMAccess config file option.19(windows port, unix port and gtk legacy config) (Jonas Quinn)20- Remove POSIX dup and access calls, and rename qword to21fix compilation with Cell SDK. (BearOso)22- Fixed PS3 version save state crash by using heap23allocation for soundsnapshot. (danieldematteis)24- Fixed crash relating to double-closed descriptor. (BearOso)25- Removed CPUShutdown speedhack, DisableHDMA and26DisableIRQ options. (zones)27- Removed remaining outdated asm code. (zones)28- JMA 64 bit support. (kode54, Nach, friedrich.goepel)29- GTK+, Win32, Mac: Added optional Hi-Res blending. (BearOso, OV2, zones)30- GTK+, Win32: Support for bsnes-style XML shaders. (BearOso, OV2)31- Win32: Full unicode support. (OV2)32- Win32: Restored OpenGL mode. (OV2)33- Win32: x64 version. (OV2)34- Win32: HLSL shader support. (mudlord)35- Win32: Win7 jumplist synchronizes with recent roms list. (OV2)36- Win32: Updated menu structure. (OV2)37- Win32: Drag&Drop support for ROMs. (gocha, OV2)38- Win32: Reworked movie-recording with size selection. (gocha, OV2)39- Win32: Restored SPC save option. (OV2)40- Win32: Fixed vsync in DirectDraw. (OV2)41- Win32: Improved window position saving. (OV2)42- Win32: Restored compile with DEBUGGER. (gocha)43- Win32: Fixed various edge-case errors and/or possible44leaks. (Brian Friesen)45- Win32: Config file option to always center image. (OV2)46- Win32: Fixed "Turbo Down mode" hotkey assignment. (gocha)47- Win32: Added and fixed Autofire for D-pad. (gocha)48- Win32: Fixed aggressive soundsync wait. (OV2)49- Win32: Added window size presets. (OV2)50- Mac : Added pause and frame advance functions. (zones)51- Mac : Now you can choose any folder for saving files. (zones)52- Mac : Updated Music Box (mostly internally). (zones)53- Mac : Fixed gliches in open/save dialogs on 10.6. (zones)54- Mac : Fixed display configuration in windowed mode. (zones)55- Unix : Fixed segfault and hang-up with -DNOSOUND. (zones)56- GTK+ : Added ability to set specific folders for SRAM,57patches, snapshots, etc. (BearOso)58- GTK+ : Fixed many permissions issues with config folders. (BearOso)59- GTK+ : Updated compatibility with latest GTK+ and60GtkBuilder. Added experimental support for GTK+ 3.x. (BearOso)61- GTK+ : Updated software output to use cairo and added the62ability to use bilinear-filtering with it. (BearOso)63- GTK+ : Fixed issues where cheats wouldn't stay enabled. (BearOso)64- GTK+ : Fixed focus issue when there is no window manager. (BearOso)65- GTK+ : Fixed X Visual incompatibilities and expose66problems in the Xv and OpenGL outputs. (BearOso)67- GTK+ : Fixed vsync with new X Server and NVIDIA drivers. (BearOso)68- GTK+ : Added "Reduce input lag" option to OpenGL output. (BearOso)69- GTK+ : Added a visual indication of the expected video70refresh rate for the currently selected sound input rate. (BearOso)7172Snes9x 1.5273- IMPORTANT NOTICE: The structure of savestates (also known74as snapshots / freeze files) is incompatible with older75versions! Snes9x 1.52 cannot read the savestates created76by 1.51 or older. (zones)77- Highly acculate SPC700 and S-DSP emulation. (Blargg)78- Replaced APU emulation cores (SPC700 and S-DSP) with79ones provided by Blargg's SNES_SPC library. This renders80savestates incompatible with older versions. (BearOso, zones)81- SPC7110 emulation. (byuu, neviksti)82- Merged bsnes' SPC7110 emulation code. Note that the .rtc83file of Far East of Eden Zero is incompatible with older84versions. (zones)85- Removed graphics pack support. It's no more necessary. (zones)86- Replaced S-RTC emulation code with bsnes' one to keep the87good compatibility of .rtc files between the two88emulators. As a result, Daikaijuu Monogatari 2 now89outputs the .rtc file, and its .srm file is incompatible90with older versions. (zones)91- Added savestate supports for DSP-2, DSP-4, ST-010 and92OBC1. (zones)93- Added UPS support. (byuu)94- Fixed DSP-4 AI problem. (Jonas Quinn)95- Fixed invalid memory accesses in C4 and OBC1 codes. (zones)96- Fixed invalid memory accesses in BSX codes. My mistake. (zones)97- Fixed the read value of $213e, $4210 and $4211. (zones)98- Fixed the writing of word values at the memory boundary. (zones)99- Fixed the bug that the unnecessary SA-1 emulation100continues once any SA-1 games are launched. (zones)101- Removed old color blending codes. (zones)102- Removed too-old Snes96 and ZSNES snapshot support. (zones)103- Updated command-line options. (zones)104- Code cleaning. (zones)105- GTK+ : Added a port of Snes9x to the GTK+ toolkit. (BearOso)106- Unix : Reconstructed and simplified all the contents.107Some features have been removed to be simple, and many108options have changed. GTK+ port is recommended for most109of Linux users. (zones)110- Win32: Now uses snes9x.conf to prevent problems with111modified meaning of settings. (OV2)112- Win32: Removed broken OpenGL mode. (OV2)113- Win32: Removed support for 8bit output. (OV2)114- Win32: Reworked settings dialogues to accomodate the115new APU core and display settings. (OV2)116- Win32: Updated defaults to use D3D and XA2 (better117Vista and Win7 support). (OV2)118- Win32: Direct3D and XAudio2 support. (OV2)119- Win32: Added Blargg's ntsc filter (three presets). (OV2)120- Mac : Fixed corrupted screenshot on Intel Mac. (zones)121- Mac : Fixed sudden abort in QuickTime movie export on122Intel Mac. (zones)123- Mac : Changed sound settings for the new APU core. (zones)124- Mac : Changed the default folder which Snes9x looks for125to 'Application Support' folder. (zones)126- Mac : Changed folder names: 'IPSs' -> 'Patches',127'BIOSs' -> 'BIOSes'. (zones)128- Mac : Added Blargg's ntsc filter. (zones)129- Mac : Internal changes for Leopard and Snow Leopard. (zones)130131Snes9x 1.51132- Added DSP1 and SuperFX savestate support. (nitsuja)133- Added screen state GFX to save states. (optional) (nitsuja)134- Fixed desync when loading inconsistent state in playback. (nitsuja)135- When playback reaches a movie's end, recording continues136instead of the movie suddenly closing. (after recording) (nitsuja)137- can now record resets and mouse/superscope/justifier(s) (nitsuja)138- Added same-line-comment support for config files. (nitsuja)139- input display for all controllers (including peripherals) (nitsuja)140- Win32: Now uses .cfg file instead of Windows registry. (nitsuja)141- Win32: open ROM dialog bugfixes and speedup and facelift (nitsuja)142- Win32: option to use standard file open dialog for ROMs (nitsuja)143- Win32: maintain aspect ratio and bilinear filter stretch (nitsuja)144- Win32: optional removal of the dreaded "black bar" (nitsuja)145- Win32: Added EPX,EPX2,EPX3,HQ2X,HQ3X,TV3X,DM3X filters. (nitsuja)146- Win32: Added hires support for Interlace and TV Mode. (nitsuja)147- Win32: text removed from .avi output (optional) (nitsuja)148- Win32: better directory management, customizeable (nitsuja)149- Win32: Screenshot support is back. (nitsuja)150- Win32: Netplay is back (but still not very good). (nitsuja)151- Win32: Made OpenGL Bi-linear an advanced .cfg option. (nitsuja)152- Win32: cheat search improvements (address, watch, SuperFX)(nitsuja)153- Win32: Added non-modal ("active") cheat search option. (nitsuja)154- Win32: new hotkey-config dialog and configurable hotkeys (nitsuja)155- Win32: Fixed joystick config in input dialog. (nitsuja)156- Win32: Fixed hires and extended height .avi output. (nitsuja)157- Win32: various small GUI improvements (nitsuja)158- Win32: Netplay fixes. (nitsuja)159- "Fake Mute" desync workaround option for movies, until160all ports have deterministic sound. (Bisqwit, nitsuja)161- Fix for save state blocks > 999999 bytes. (Bisqwit)162- C4 games now save C4 data in save states. (DeHackEd)163- Unix: Framework for high-speed seeking. Specify a frame164number in a movie, and the emulator will run at165maximum speed to that frame. Untested. (DeHackEd)166- X11: Support for window exposure. When a window is167damaged due to overlay, being iconified, etc. it will168be repainted correctly. (DeHackEd)169- Unix: parameter: -autodemo <filename> loads a movie for170playback on startup. Only the x11 code handles this171right now. (DeHackEd)172- Unix: parameter: -oldturbo, the turbo button renders all173frames when fast-forwarding. (DeHackEd)174- Unix: parameter: -upanddown, override U+D and175L+R protection. (DeHackEd)176- Unix: parameter: -mute, currently linux only, blocks out177audio output from your speakers while still emulating178sound. Not fully tested. (DeHackEd)179- Unix: parameter: -maxframes <target> during movie180playback, snes9x will exit when the target is hit. (DeHackEd)181- Unix: parameter: -keypress shows to stderr and on-screen182the currently pressed buttons on joypad 1. (DeHackEd)183- Unix: Stream dumping (NOT COMPLETE). With -dumpstreams,184raw video and raw audio are dumped to videostream%d.dat185and audiostream%d.dat, where %d increments on each CPU186reset, starting at zero. (DeHackEd)187- Unix: Non-blocking sound on Linux. It makes seeking nicer.(DeHackEd)188- Unix: Configurable sound device. (pierredavidbelanger)189- configure.in now requires a sufficiently new version of190autoconf. (anomie)191- Fixed slow versions of branch opcodes. (anomie)192- Fixed the mosaic offset bug. (anomie)193- No sorting by priority in C4 command 00 00. MegaMan X2194can go behind the legs of the intro stage boss. (anomie)195- New RTO discovery, fixes Super Conflict: The Mideast196title screen. (anomie, byuu)197- A 1->0 transition on $2100.7 causes OAM Address Reset. (anomie, byuu)198- The final HDMA Indirect Address load is only weird199on the last channel of the scanline.200Touge Densetsu Saisoku Battle problem solved. (anomie, byuu)201- Fixed BGnVOFS bug. Only HOFS needs ~&7 update. (byuu)202- Fixed superfluous VIRQ triggers. (zones)203- Fixed missing IRQ trigger just after the previous one. (zones)204- Fixed missing IRQ while writing to $4200. (zones)205- Fixed IRQ timing after WRAM refresh. (zones)206- Fixed NMA timing after DMA transfer. (zones)207- Fixed superfluous auto-joypad-reading. (zones)208- Fixed missing WRAM refresh during DMA transfer. (zones)209- Fixed DMA so that HDMA and any HC triggered events can210run during DMA transfer. (zones)211- Roughly fixed the case that HDMA and DMA use the same212channel at the same time. HDMA kills DMA. Thanks byuu. (zones)213- Changed initial DMA registers values. (zones)214- Slightly modified APU execute timings. (zones)215- Fixed APU I/O registers to get/set the proper value. (zones)216- Blocked invalid VRAM writings, though you can turn off217this option due to Snes9x's inaccurate timings. (zones)218- Omitted SPCTOOL, no one uses it. (zones)219- Added Sufami Turbo support. (zones)220- Added Same Game add-on cart support. (zones)221- Fixed HiROM SRAM and DSP1-4 memory maps a little. (zones)222- Improved mirroring. (Nach, grinvader, byuu)223- CRC32 on BS dumps now follows uCONSRT standard. (Nach)224- BS dumps now always run in NTSC mode. (Nach)225- Unknown regions (generally betas) default to NTSC. (Nach)226- Now support NSRT headers for setting up controllers. (Nach, nitsuja)227- Unix: Fixed command line help output. (Nach)228- Unix: Sound now defaults to 32KHz, Stereo, Interpolation229so Snes9x finally sounds like a real SNES by default. (Nach)230- Win32: Saner defaults for movie record. (Nach)231- Unix: Fixed crashing with mouse or super scope. (Nach)232- Removed some weird code which was crashing Korean233League and its varients. (Nach)234- Win32: Can now compile with MinGW. (Jonas Quinn, Nach)235- Win32: Can now cross compile Snes9xw. (Nach)236- Unix: SSnes9x compiles again. (Nach)237- Win32: ZSNES C4 and SuperFX compiles once again. (Jonas Quinn)238- Unix: Netplay Fixes. (Nach)239- Unix: Netplay Improvements. (Fabianx)240241Snes9x 1.5242- Pseudo-hires rendering flush, Old 2xsai endian fix (anomie)243- Added 'oops' auto-snapshot support (anomie)244- Fixed usage messages (Unix) (anomie)245- Old split-ROM-in-zip bugfix (anomie)246- ./configure fix for detecting libpng (anomie)247- Fix "no PNG support" error message (anomie)248- Anomie's control remapping patch (anomie)249- Support for IPS patches in the zip file (anomie)250- OBC1 savestate fix (Overload)251- Fix turbo frameskip, X11 keyboard auto-repeat, VRAM reads (anomie)252- Add some missing ifdefs (UNZIP_SUPPORT and ZLIB),253from AaronOneal (anomie)254- Config file for Unix/X11 and Unix/SVGA (anomie)255- CPU instruction fixes (mostly emulation mode & timing) (anomie)256- Mode 7 fixes (anomie)257- Rewrote the renderer. Enjoy! (anomie)258- Correct-ish memmap boundary testing. (anomie)259- Add support for saner directory structures under Unix (anomie)260- Unix: Fixed detection of newer libpng (spotted by vapier) (PBortas)261- Added 4-point gaussian interpolation and proper envelopes262many thanks to Brad Martin and TRAC. (zones)263- Fixed several sound problems. (zones)264- Fixed the memory access problem in C++ Super FX core. (zones)265- Speed adjustment of C++ Super FX emulation. (zones)266- Various timing fixes: NMI, IRQ, WRAM refresh,267cycles per line, HBlank start, etc.268Many thanks to byuu for much information. (zones)269- Removed some game specific hacks. (zones)270- Added partial Satellaview (BS) emulation. (Dreamer Nom, zones)271- Added the Katakana font for onscreen messages. (107)272- Updated JMA to v1 (Nach)273- Unix: Fixed JMA options in config (Nach)274- Unix: Removed --with(out)-asmcpu option in config275because the i386 assembler CPU core is out of date. (zones)276- Unix: Changed the default settings in config. (zones)277- Updated porting.html (porting.txt) in sync with 1.5. (zones)278- Fixed buffer over/under flow due to incorrect logical279operator in S-RTC code (byuu)280- Fixed HDMA flags bug. (byuu, anomie)281- Fixed bugs causing crashing in Unix. (Nach)282- Ported Snes9x to AMD64. (John Weidman, Nach, zones)283- Completed DSP-1 code. (Andreas Naive, Overload, Nach)284- Updated DSP-3 code. (Nach, z80 gaiden)285- Updated DSP-4 code. (Dreamer Nom, Nach, z80 gaiden)286- Overhauled BS detection. (Nach)287- Improved Unix portability. (Nach, zones)288- Fixed infiniti loop and invalid read bug in289C++ C4 core. (Nach)290291292Snes9x 1.43293- Win32: Disabled Netplay (funkyass)294- Win32: Various fixes, including ROM dialog (funkyass)295- Win32: New Input Config Dialog (funkyass)296- Win32: added .avi output feature (blip)297- Win32: fixed frame timings >100ms, added frame advance (blip)298- Rewrote Unfreeze, renamed it S9xUnfreezeFromStream,299failing to load a freeze file no longer resets emulation (blip)300- Fixed Unfreeze to restore IPPU.HDMA properly (blip)301- Rewrote OBC1 code to match the real chip (Overload)302- More updates the to DSP-1 code, fixes to projection (Overload, Andreas Naive)303- Unix/X11: Rewrote keyboard setup code (Bisqwit)304- Added movie recording+rerecording support (blip, Bisqwit)305- Added -hidemenu CLI switch (funkyass)306- fixed broken Win32 filters (lantus)307- Added internal support for emulating the new-style SNES (MKendora)308- Cleaned up many quirks of the cheat search engine (MKendora, Don Vincenzo)309- Fix mosaic in hires SNES modes (Tokimeki Memorial) (MKendora, zones)310- Rewrote Legend's hack, added another game to it (MKendora)311- Optimized the Open ROM dialog (MKendora)312- Rewrote the Seta DSP map (The Dumper, MKendora)313- Began string isolation for the UI, eases translation (funkyass)314- added -nopatch -nocheat, and -cheat CLI items (MKendora)315- fixed a UI typo (funkyass)316- fixed several C core stack ops in emulation mode (MKendora)317- split emulation mode ops from native mode ops (MKendora)318- Seta special chip emulation enhancements (Feather, The Dumper, Overload, MKendora)319- code tweaks to the ST010 (Nach, pagefault)320- fix some C/asm quirks and HDMA quirks (all my fault) (MKendora)321- several timing hacks to fix games (lantus)322- improved checksumming for odd mirrorings (MKendora)323- Snes9x uses a standard zlib instead of a packaged one (PBortas)324- Exhaust Heat 2 and regional ports are playable (Feather, The Dumper, Overload, MKendora)325- Game Doctor dumps that are 24 Mbit are now supported by326a force option (MKendora, Nach)327- SuperFx interleave format is now considered deprecated.328Support will be removed in future versions (Team decision)329- made SuperFx interleave detection a compile option (MKendora)330- added memory maps for slotted games (MKendora)331- fixed a typo in the usage messages (MKendora)332- fixed the bug that had nuked optimizations (The Dumper)333- restored full speed optimizations in release builds (funkyass)334- Added non-speed-hack version of color subtraction. (zones)335- OpenGL info message font fix (zones)336- APU timer fix (zones, Nach)337- Fixed mouse offset in resized X11 window. (PhaethonH)338- Fixed a (presumably) long-standing bug: Mode 6's BG is339depth 4, not depth 8! (anomie)340- Unix: unmap all joystick buttons before applying -joymapX (anomie)341- Win32: added a define to disable pausing when focus is342lost, NOPAUSE (funkyass)343- Win32: Changed the default for Auto-save SRAM to 15 sec (funkyass)344- Dreamcast: Added SH4 assembler (PBortas, Marcus Comstedt, Per Hedbor)345- C90 and aclocal 1.8 warning fixes (thanks Ville Skytt) (PBortas)346- Unix: AMD64 compilation fixes. (PBortas)347- Added support for NSRT Team's JMA format (Nach, NSRT Team, funkyass)348- Unix: Loading a zip file on binaries without zip support349will give an appropriate error message (Nach)350- Unix: Added install target with proper --prefix handling. (PBortas)351352353Snes9x 1.42354- Added 8-bit rendering filters (funkyass)355- Added Sanity Checks for the Display Dialog (funkyass)356- New Layout for the Joypad Dialog, (funkyass)357- Fixed that anoying Joypad dialog bug. Now check to see358if the axis exists before asking for the info form it (funkyass)359- Added full POV support. (funkyass)360- Fixed sram sizes for SuperFx games (Nach, MKendora)361- Stopped saving sram for games with no battery (Nach, Mkendora)362- Killed the gray line and slightly optimized Win32 GL (MKendora)363- stack wrapping fix in C core (MKendora)364- removed some dead hacks (Oda Nobunaga and Dezaemon) (MKendora)365- fixed some DMA and HDMA modes (anomie, MKendora)366- improved HDMA timing (anomie)367- cleaned up load and deinterleave code (MKendora)368- removed old UI DLL (MKendora)369- new cheat dialogs (MKendora)370- started Unicode preparation in Win32 UI (MKendora)371- Implement odd sprite sizes, sprite priority rotation. (anomie)372- RTO code that hopefully works. MK's #define is373"MK_DEBUG_RTO" to try to debug the RTO code. (anomie)374- SDD1 decompression support for Linux. Also added a new375command line option -sdd1-pack. (anomie)376- Added correct VRAM read logic. #define CORRECT_VRAM_READS377if you want it. (anomie)378- removed the non-VAR_CYCLES path (MKendora)379- changed access timing map to be address-based. (MKendora, anomie)380- DSP-1 updates (Overload, Andreas Naive)381- S-DD1 decompression support (Andreas Naive)382- optimized S-DD1 code (anomie)383- S-DD1 can use packs or decompression (MKendora)384- More work on Exhaust Heat 2 (MKendora, Overload, The Dumper)385- separated ROM detection from file reading (lantus)386- fixed a mirroring bug in LoROMs (MKendora)387- cleaned up some mapping issues (MKendora)388- ST018 games now boot before locking up (Mkendora, Overload)389- SA-1 state was not completely reset, crashed Marvelous (zones)390- Removed sample caching. It caused problems, and was not391noticably faster. (MKendora)392- Fixed interlace without breaking the displays for MK (anomie)393- Fixed a PPU OpenBus hack (anomie)394- Moved SPC7110 and S-DD1 regs to speed up the general case395of reading the $4xxx registers (MKendora)396- altered Hi/Lo ROM detection to fix a few misdetects. (MKendora)397- Implemented RTO flags. With MK's implementation of $213F's398interlace bit, we now pass the SNES Test Cart's399Electronics Test (anomie)400- Fix sprite windowing bug (anomie)401- Way back in 1.40 MK changed the Windows port to default402to a plain old joypad instead of the MP5. And then we403removed the hacks for games that dislike the MP5. So404we need to change the defaults elsewhere too... (anomie)405- cleaned up the hacks section somewhat (MKendora)406- removed some interleave hacks (MKendora)407- fixed a bug in KartContents (MKendora)408- transparency fix for Jurassic Park (lantus)409- A hidden Win32 feature (MKendora)410- Kludged Mark Davis until I get stable APU timing (MKendora)411- Win32 renders overscan always, fixes some jumpy games (MKendora, lantus)412- Fixed an FMOD bug (MKendora)413- cosmetic tweaks (Everyone)414- Fixed 2 special chip bugs in the C core (zones)415- Added some sanity fixes to the C core, fixes MLBPA416Baseball for C core users (zones)417- updated zlib source (includes 1.1.4-1 patch) (MKendora)418- compiler warning fixes (PBortas)419- Updated the SuperFx asm core (pagefault)420- Kludged Unix compilation to produce working SuperFx (PBortas)421with the asm core.422- Kludged VC to deal with optimization weirdness (MKendora)423- Hacked Robocop vs. Terminator using Daffy Duck hack. Stops424flashing. (MKendora)425- Added some defines to the asm core (MKendora)426- Added possibility to take screenshots on Unix (PBortas)427- Initialize the C SuperFx core better (PBortas)428- Kludge a Japanese golf game until the APU timing is fixed (MKendora)429430431Snes9x 1.41-1432433- Oops, in the asm CPU core i was stomping on %eax too434early, so register $4210 wasn't getting set properly. (anomie)435436437Snes9x 1.41438439- Win32 controllers now stay the same between games (MKendora)440- Win 32 Open ROM dialog fixes (MKendora)441- Win32 Display dialog fixes (funkyass)442- Win32 OpenGL ratio tweaking. (Reduces the gray line) (kode54)443- Fixed Win32 superscope for those having issues (MKendora)444- Generic accuracy fix in main SUperscope emulation (MKendora)445- sprite bug fixed (gah! How'd we miss that) (anomie)446- SPC saving compatibility fix (Caz and zones)447- Window clipping update (anomie)448- Mode 7 clipping fix (TRAC)449- latching fix (anomie)450- BS BIOS checksum and mapping fix (MKendora)451- Working Uniracers hack (dma.cpp) (anomie)452- HDMA Indirect Address fix for Romancing Saga 2 (anomie)453- Better savestate hack, does it break anything? (anomie)454- C4 C core fixes. Mostly Trapezoid (thanks Nach),455some s/short/int16/, some indentation. (anomie)456- Damn, but the indentation in ppu.cpp was screwed up.457Killed some dead code too (twas commented forevermore). (anomie)458- fixed a potential crash in S-DD1 logging (MKendora)459- Improved accuracy of Hi/LoROM detection (~500 ROM test) (MKendora)460- Hack for Moryou Senki Madara 2, don't call461SelectTileRenderer from DrawOBJS if BGMode is 5 or 6. A462real fix requires at least rewriting SelectTileRenderer,463or inlining a special version in DrawOBJS. (anomie)464- DMA traces: add additional address info to reads too. (anomie)465- Killed the old Borland Joypad dialog (funkyass)466- Fixed issues with Dezaemon and CT, maybe others (anomie, MKendora)467- Changed the internal snapshot key from \ to VK_F12 (funkyass)468Fixes issues with non-US keyboard layouts.469- Fixed OAM reset to not occur during forced blank. (anomie)470- Killed some dead OAM reset code that doesn't need saving. (anomie)471- Unix/X11: Fixed screen jumping. CT enables overscan mid-472frame for only one frame, and we now update the rendered473screen height accordingly. Other ports are still broken. (anomie)474- Unix/X11: Fixed possible TV mode crash. (anomie)475- Fixed OAM reset timing (beginning of V-Blank rather than476end) for R-TYPE 3 (J). (anomie)477- Unix/X11: Fixed OpenGL target (PBortas)478- Unix/OSS: Fixed big endian sound (PBortas/ernstp)479- Tweaked the About Dialog so its read-only and no scroll (funkyass)480481482Snes9x 1.40483484- cleaned up a sound skipping code issue. Same as the485RTC issue (lantus)486- re-fixed the invalid BRR header behavior twice (Lord Nightmare, FatlXception, Mkendora)487- More BS mapping fixes. (The Dumper, MKendora)488- Fixed Ranma Bun no 1 - Chonai Gekitou Hen (J) and489Street Combat (U). Interlace is not supported in the490non-Hi-res modes, as far as I can tell. (MKendora)491- Also fixes Maka Maka (J). Frank Yang's report, and492anomie's code both provided clues to this one.493- Removed special casing on setting 5c77 version to one.494This seems to be true for U and J units always. I need495it checked out on PAL... (neviksti)496- Using SNEeSe's values for 5c78 and 5A22. Note we know497that the 5c78 version can also be 1 or 2, instead of 3. (TRAC, neviksti)498- Added turbo buttons. Credit/blame for the design goes499to slack, Nave, Gogo, and myself. (MKendora)500- fixed a bug in turbo (slack, MKendora)501- Tried merging the behavior of Old $4200 with new $4200 (MKendora)502- Made $4200's return value match what VSMC Explorer503showed on Fancia's SNES (MKendora)504- Fixed a matrix multiplcation bug in ZSNES state loads (MKendora)505- Fixed Dezaemon and Ys3 mode 7 (lantus)506- Fixed H-DMA modes 5-7. Thanks to The Dumper for the507extra motivation needed. GunForce and Genocide 2 work. (The Dumper, MKendora)508- Fixed BG3 Priority. I'm stupid. anomie had fixed it,509but lantus fixed it again, because I didn't use it. (anomie, lantus)510- Added a Star Fox 2 hack, and an interleave skip (The Dumper, lantus, MKendora)511- Cleared BS setting on load (lantus)512- Fix for Mode 7 priorities. fixes F-1 Grand Prix (all 3) (anomie)513- JANJYU GAKUEN 2 needs Multi-tap 5 off. (Frank Yang, MKendora)514- HONKAKUHA IGO GOSEI: No multi-tap 5, allow mouse (lantus, MKendora)515- Added a few missed conditional compiles (Nach)516- disabled multitap 5 by default, added menu to enable (MKendora)517- special thanks to anomie and lantus. One of them is518responsible for a bug fix I forgot already. (anomie, lantus)519- Removed several Multitap5 disable hacks. (MKendora)520- Added an SPC dumping upgrade from kode54 (kode54)521- cleaned up some resource leaks (MKendora)522- I forgot this since 1.39mk, but SPC700 flag fixes (anomie)523- Mode 7 interpolation screen flip fix (anomie)524- Updated SPC7110 code a bit, for compatibility (Daniel, anomie)525- Changed RTC saving. (Byte exact to old format on Win32)526The submitted patch for "safety" doubled the file size,527so I had to write it in explicitly little-endian. (MKendora)528- Removed the old hidden cursor (MKendora)529- Applied a WAI correction from anomie. (anomie)530- Added a patch for Pseudo hi-res (anomie)531- Hacked around Word writes to $7F:FFFF. Thanks to lantus532and The Dumper for verification. (MKendora)533- PPC compile fix? and debugger reversion (anomie)534- Set defaults differently to improve sound quality. (MKendora)535- Clear Force load settings after Init (lantus)536- Made menu reset a soft reset. Fixed BL Sound Test & more (CaitSith2)537- Fixed word writes to block bounds in asm core. (MKendora)538- redone version of my bounds fix, only this one WORKS! (TRAC)539- Thanks to TRAC for the AT&T syntax refresher! (TRAC)540- Fixed screen saver disable (kode54)541- Fixed OAM and sprite priority in the asm core (anomie)542- Proper Interlace fix for mid-frame changes (anomie)543- Fixed OpenGL to accomodate previous patch (MKendora)544- Ported the "Settings" dialog to VC (MKendora)545- Fixed ROM Info bugs (_pentium_five, MKendora)546- Fixed non-stretched interlacing, but it's s.l.o.w. (anomie)547- Superscope and Mouse need to be enabled by the menu. (MKendora)548- Fixed HiROM sram reads in asm and C cores (anomie, MKendora)549- Added Company 48 to the list. Thanks to _pentium_five_ (StatMat)550- Set Super Drift Out's S-ram correctly. (Snes9xppSE Team)551- Fixed NTSC timing. Helps ToP Intro greatly (kode54)552- Added several entries to the company list, from uCON64 (Nach)553- Lots more companies (StatMat, Nach)554- Fixed Win32 Superscope support (NT kernel only?) (MKendora)555- Added ZSNES OBC1 code ported from asm to C (sanmaiwashi)556- Implemented Justifier emulation (neviksti, MKendora)557- Fixed Rudora no Hihou's clip window bug (anomie)558- Fixed Flintstones sprite issue (lantus)559- Fixed sram mappings for Big Sky Troopers and560Taikyoku - IGO Goliath. Both map in bank F0 (MKendora)561- Fixed a possible crash when switching audio settings (MKendora)562- Added per-pack gfx pack configuration (MKendora)563- Fixed glitches in DSP-1 games (Flintstones fix) (lantus)564- Added delay to Superscope latching. Fixes X-Zone. (neviksti, MKendora, zones)565- Added DSP-2 support (Overload, The Dumper, Lord Nightmare,566MKendora, neviksti)567- Fixed Super Bases Loaded 2 (and J/K ports) DSP-1 seems568to ignore the A15 line in LoROM maps (MKendora)569- Corrected $4200 again (The Dumper)570- Corrected $2100, $2102, and $2102 read behavior (anomie)571- Fixed Cancel on the Sound Options dialog. (MKendora)572- Fixed the sound options dialog (Thanks, Quattro) (MKendora)573- updated DSP-1 support to match chip better (Overload, neviksti, The Dumper)574- added a few Ops to the DSP-4 routine (Nothing plays yet) (neviksti, The Dumper, Overload, MKendora)575- added screenshot support (anomie, sanmaiwashi)576- stubbed the ST010 chip in Exhaust Heat 2 (Overload, MKendora)577- hacked around War 2410's lockup (pagefault, _Demo_, MKendora)578- updated tests for type 1 ROMs (based on reset vector) (MKendora)579- Emulation mode CPU fix (The Dumper)580- Open Bus fixes (anomie)581- Better Expansion port emulation (anomie)582- More Open Bus fixes (Overload, anomie)583- HDMA fixes (fix colors only in Full Throttle Racing) (anomie)584- Migrated DKJM2 onto the Tales map (MKendora)585- Tried to remove Dragon Knight 4 hack (LoROM sram fix) (MKendora)586- Fixed ROM Mirroring for LoROMs (<= 32 Mbit) (MKendora, TRAC)587- blocked wram to wram DMAs (neviksti)588- fixed HiROM mirroring, too. Thanks TRAC! (MKendora, TRAC)589- fixed C core RMW and Push ops to write in the correct590order, fixes Michael Jordan gfx. (anomie, Overload, MKendora)591- set RDIO to start as 0xFF, fixes SuperFx games. (anomie, Overload)592- New connect dialog (funkyass)593- better conditional compile of FMOD (funkyass)594- fixed screenshot code when libpng is not used (funkyass)595- added portability fixes (zones)596- fixed asm Pushes (anomie)597- fixed asm LoROM s-ram decode (MKendora)598- migrated DEZAEMON to standard LoROM map (MKendora)599- fixed the Madara 2 OpenGL bug (key found in Rudra) (MKendora)600- fixed asm RMW instructions (MKendora)601- fixed ADC opcode (The Dumper)602- added DSP-2 Op09 (The Dumper)603- updated C4 C code (anomie)604- updated C4 asm code (Nach)605- Keep OpenGL in ratio (kode54)606- Replaced many more Borland dialogs (funkyass, MKendora, Nach)607- Added CRC32 to displayed ROM Info (Nach, MKendora)608- Fix cheat support (The Dumper)609- improved DMA timing (MKendora, Overload, The Dumper)610- Fixed Mode 7 math, removed Dezaemon, Gaia, Ys 3 hacks (TRAC, MKendora)611- Mode 7 flip fix (TRAC)612- Multiple safety and initialization fixes (zones)613- Platform safety fixes (PBortas)614- Memmap cleanups (MKendora)615- More preliminary work on special chips (The Dumper, Overload, MKendora)616- Added color coding (MKendora)617- Another HDMA fix (anomie)618- added another known hack to the hacked games list (Nach)619- ToP memmap changes (MKendora)620- Checksum calculation changes (MKendora)621- Special cased a few games for OAM issues (MKendora)622- Reverted OAM reset to 1.39 timing (MKendora)623- Reworked vram wrapping (zones, Mkendora)624- Fixed $4210 and Super Professional Baseball 2 (Overload, MKendora)625- Fixed APU RAM init (Overload, MKendora)626- More support for Exhaust Heat 2 (not playable) (The Dumper, Overload, neviksti)627- removed some debris from save states (MKendora)628- fixed? Doom's save state bug (MKendora)629- simple overdump detection warning (MKendora)6306316321.39mk3b633634- Fixed the RTC detection. FINALLY done correctly (lantus, MKendora)6356366371.39mk3a638639- neatened up the company table. (MKendora)640- fixed a mistake in the ROM Info box (MKendora)641- Added a Calulcated Size field to ROM INfo. (MKendora)642- Added 3 more companies to the ROM Info table (MKendora)643- Fixed BS detection (The Dumper)644- Added a Legend-specific hack to get sound. I remembered645it being mentioned in the changelog. (Gary Henderson)646- Unbroke the Star Ocean special cases (Trigger of Time, MKendora)647- Company 255 is not Hudson-ZFE detects all Hudson games648without it, except a corrupt dump (StatMat, MKendora)649- fixed a bug in the redone detection for the SPC7110 (CaitSith2)650- 44Khz sound should be 44.1Kz. Changed, though you'll651need to re-set 44.1Khz to make it take effect. Not sure652if this affects non-Windows ports. (MKendora)653- Added 32Khz playback (MKendora)654- Inproved BS ROM mapping (_Demo_, The Dumper, MKendora)6556566571.39mk3658659- Honkaku Syogi Fuunji Ryuou (J) fixed (force no multitap) (Frank Yang)660Also Fixed Super Castles (j).661Also fixed a bunch more. This dude e-mailed like 100 bugs662to my hosts, some already fixed in Snes9x1.39mk2, but663about 7 were clearly multi-tap5.664- also fixed Dekitate High School. Error was in Japanese (Frank Yang, Tomato)665- fixed 2 memory leaks (Aaron)666- Dai Kaiju Monogotari 2 works as a 40 Mbit ROM. (MKendora, The Dumper)667- Fixed the Flashback bug. Lots of info led to this. (neviksti, MKendora)668Thanks neviksti, The Dumper, TRAC, and FatlXception669for clarifying the behavior.670- Fixed Sailor Moon Fuwa Fuwa Panic 2 to work with (neviksti, MKendora)671previous fix. It's a total hack, but it should sound672just like the old Snes9x did. neviksti strikes again!673- Dirty hack to make 3 games deinterleave properly: (MKendora)674Wizardry 4, Mark Davis, and Honkakuha Igo Gosei(FX)675all work as well as the deinterleaved counterparts.676(The last is a hacked game, and you should get the677non-FX version)678- Fixed Seima Jyuden Beasts and Blades. Another Multitap, (Frank Yang)679but for some reason, the hack requires the C cpu core.680Thanks to Tomato for taking a stab at the error message,681as well. It was too vague to be of use, he said. I682just tried it because it worked on other games.683- Res Arcana fixed. Another Frank Yang report, another J (Frank Yang, MKendora)684error, but I can read kana well enough with a table!685- Removed a Terranigma specific hack. Not sure, but the (anomie)686new behavior might have fixed Tin-Tin in Tibet's colors.687- Dirty hack to work around a dirty hack. Both Yoshi's (MKendora)688Island (E) dumps should work now689- Added the JumboLoROM memory map, Extends LoROM support (The Dumper, neviksti, MKendora)690to 48+ Megabits.691- added an EXTBG fix, since iirc, TRAC is using it as well (anomie)692Does it actually fix anything?693- Fixed crash in DSP Op06 (The Dumper)694- Fixed a GUI error on my part (Trigger of Time)695- Cleaned up some of the SPC7110 detection/size code. (MKendora)696- Merged in XBox port changes to SPC7110 code (lantus)697- Added a call to Memory.Deinit when exiting. (lantus, MKendora)698- Many memory leaks fixed while chatting with lantus (lantus, MKendora)699- Fixed that stubborn open/close leak (lantus)7007017021.39mk2703704- hacked in Shien's Revenge (anomie)705- fixed Orge Battle's green lines. (CPU source for DMA) (anomie)706- Looks interesting, and might apply to other DMA cases?707- maybe "fixed" DKC's barrels? by treating $2001708as unmapped. The game worked before with a hack. (MKendora)709- optimized SPC7110 slightly by removing extra setup work (MKendora)710- Fixed DBZ 3 (Korean). S. Korea is, in fact, NTSC. (MKendora)711- Fixed a hard-coded value in the SPC7110 (MKendora)712- Added a Win port ROM Info dialog (MKendora)713- some companies aren't in the table I used.714If you encounter an Unimplemented company,715report it the the Snes9x development forum, with716the correct company and the number.7177187191.39mk720- SPC7110 support based on Dark Force's docs. (Dark Force, zsKnight,721The Dumper, MKendora)722Trust me when I say those guys deserve the credit more723than me. From what I'm told, Dark Force is the man724behind most of the reverse engineering, but they all725did a much harder bunch of work than I did following726their specs. It's plain and simple that these three727are the masterminds behind all SPC7110 support.728729Dark Force for reverse engineering the chip (Extremely tough work!)730zsKnight for the original core, and probably other things731The Dumper for dumping the packs and doing hardware tests.732733Also thanks to CaitSith2 for numerous bug reports734and a lot of bug fixes.735736- Theme Park hack removed, fixed via PPU latching (anomie, MKendora, TRAC)737- WWF Wrestlemania hack removed (anomie, TRAC)738- Strike Gunner hack fixed (anomie, MKendora, TRAC)739- FF:MQ text fixed. May help other sprite issues. (TRAC)740- Umi Hara Kawa Se timing corrected. (anomie)741- S-DD1 packs load by the same rules as ZSNES (MKendora)742- SPC7110 code builds in linux (Lord Nightmare, zinx)743- Added The Dumper's DSP-1 updates (The Dumper)744- SPC7110 is correctly displayed on load, RTC also noted. (MKendora)745- Fixed a potential graphics problem (TRAC)746no known games fixed, but who knows?747- Fixed Ballz3D (pagefault)748- Re-fixed Ballz3D, via DSP op 0F (The Dumper)749- included some of anomie's fixes. Many caused me grief,750so only Marko's Magic Football is intentionally fixed. (anomie)751- finished zsnes save support, though I don't know how752well it will work with SPC7110 games (MKendora)753- Added a new soundux.cpp again to fix some noise.754(Fixes the GW "fart track") (Lord Nightmare, info from Anti-Res)755- Added 3 cache modes for SPC7110 games (MKendora)756- Added new BRR decoder. Requires sample caching757and the Anti-Res decoder be disabled. (FatlXception, port by Lord Nightmare)758- Added CaitSith2's RTC debugger. define RTC_DEBUGGER in759project settings to enable it. (CaitSith2)760- SPC7110 per-game cumulative logging (MKendora)761- other fixes that I've forgotten (sanma iwashi, TRAC, anomie, ????)762763- "I'm not worthy" thanks to the original SPC7110 crew (DF, zsKnight, and the Dumper)764- Thanks again to the same people, because they deserve it!765- thanks to The Dumper, Dejap, TRAC, and all the ZSNES crew for technical assistance766- Thanks to most of the Snes9x mods for testing (no thanks to you, Raptor ;)767- and thanks to TRAC and #mkendora for letting me vent at you.7687691.39770- Added SDD-1 unknown graphics data logging at the dumper's request. A bit late771but might help with Street Fighter 2 Alpha's data dumping. Creates a772romname.dat file in the freeze file folder.773- Implemented 16-bit texture support for OpenGL modes in Windows and Linux.774Had to support a new pixel format type to do it - RGB5551 (one bit of alpha)775which caused me some major problems - black was no longer always pixel value776zero!777- Removed the Bump map OpenGL mode from the Windows port (didn't look so good778anyway and was slow).779- Added a hidden novelty OpenGL mode (clue: a keyboard shortcut activates it)780- Reverted back to FMod version 3.20 after reports that version 3.33 broke781AD3 support.782- Implemented a better work-around for the broken select system call in the783Linux kernel - the original work-around was long-winded and stopped working784when I implemented OpenGL support under Linux.785- Added the same speed-up hack to the OpenGL code that the Glide code already786supported. Basically, if your OpenGL implementation supports 16-bit textures787then OpenGL mode should be as fast, or faster than the 3dfx Glide mode.788- Hopefully fixed Glide support.789- Reverted back to the original colour blending code. The newer code, although790more accurate in most cases, had too many glitches and was slower.791- Included multiple Japanese games fixes from Iswashi San.792- Fixed a timing problem caused by a speed up hack that was affecting Top Gear793300. No the game still isn't playable yet, but I noticed the problem while794investigating the DSP-4 chip used by the game.7951.38796- Added support for Star Ocean and Street Fighter 2 Alpha decompressed graphics797packs from dejap. Used a binary chop search rather than a linear search to798locate correct decompressed graphics more quickly - should help emulation799speed during later stages of the game.800- Included OpenGL support into the Linux port and speeded up the Windows OpenGL801implementation slightly. The real speed up would occur if I could figure out802how/if 16-bit textures are supported in OpenGL because at the moment the80316-bit software rendered SNES image must be converted to 24-bit before being804uploaded as a texture...805- Included the latest ZSNES DSP-1 code. Now Pilotwings, SD Racer and Suzuka 8806Hours are playable. Aim For The Ace, Super Air Diver 1 & 2 and Syutoko Battle 94807are also playable, but with bugs. Thanks to zsKnight, _demo_, et al for all808their hard work.809- Another Daffy Duck: Marvin Missions screen flicker problem worked around -810writing to the IRQ enable register shouldn't clear any pending IRQs, but811Sieken 3 seems to require this or else the game hangs. Special-cased Daffy812Duck for now.813- An NMI emulation bug was triggering a Panic Bomberman World game bug,814crashing it. Basically, if a game enables NMIs after the normal trigger815point, the NMI should not trigger if the game has already read the NMI clear816register.817- Panic Bomberman World requires SPC700 memory to be initialised to zero on818reset otherwise the game hangs when a tune finishes and another one should819start.820- Added mouse pointer auto-hide to the Windows port. Much better than the turn821the mouse pointer into a black dot method I was using before.822- Included the latest ZSNES Super FX code. Not sure if it fixes actually fixes823any games.824- Added an offset hack for Strike Gunner to get the scrolling ground layer825to line up correctly - another offset-per-tile bug hacked around for now.826- Arrr! Left in some debugging code in the last release that prevented all827games that need the slower SPC700 timing from working. Removed it.828- Hmm. The broken cut-scenes in Deep Space 9 seem to indicate that I haven't829got the emulated clock speed of the 65c816 CPU correct yet. And not by a830little bit - a 9% too slow error. Hacked special timing for the game for now.831- Added triple-buffering to Windows port - enabling double-buffering actually832enables triple-buffering if you have enough free video RAM, defaulting to833double-buffering if you don't.834- Fixed another crash bug in the interpolated mode 7 code - if no scaling835was being used (either up or down) and screen repeat was enabled and the836screen was flipped horizontally, the routine would crash Snes9x. Was causing837Snes9x to crash during rock monster boss stage of Castlevania 4.838- Oops. Got the initialisation of the default SNES screen width and height839round the wrong way - could cause a X Windows System error message on the840UNIX port after loading a ZSNES freeze file.841- Included the unofficial Windows port emulation fixes for several games including842Kentouou World championship and TKO Super Championship.843- Included Iwashi San's improved Anti Res. sound sample decoding routine and844updated the C version to match.845- Included Anti Res. improved sample decompression code he sent me ages ago,846but for some reason I didn't include. Sorry. This version seems good enough847to leave enabled all the time.8481.37849- Added fix for Captain America's corrupt graphics - a ROM bug causes it to850read from what I thought should be an unmapped memory area, but it expects851the value returned to be zero.852- Added code to support games that switch to the hi-res. SNES screen mode part853way down the screen while using the 3dfx bi-linear filter mode. The code854basically has to back out of the speed up hack it was using when the game855switches resolutions.856- Fixed support for games that have mixed lo-res. (256x224), medium res.857(512x224) and hi-res. (512x448) all on the same screen - corrects the display858of Majin Tensei 2.859- Added support for games that use sub-screen addition to the back-drop layer860while displaying hi-res. graphics - something I thought the SNES couldn't do861but the game Marvelous uses this.862- Reworked the UNIX/Linux output image handling code: the image doesn't always863have to be scaled when hi-res. support is enabled, the PutImage operation864only updates the area of the screen it has to, the SNES image is now always865centred in the window/full-screen area and if the SNES image changes size866between frames, the old screen areas are now correctly cleared.867- Fixed the corrupt graphics problem during the battle scene of Last Bible 3 -868it requires that previously unknown DMA mode 5 should just act the same as869DMA mode 1.870- Fixed a nasty bug when H-IRQs were being reused on the same scanline - a logic871bug could cause H-DMA processing for that line to be skipped. Was causing872the bridge and the start banners to be the wrong colours in Top Gear 2.873- Added Kreed's display processing modes to the Linux port, including his new874asm version of the Super2xSaI mode and the new software bi-linear filtering875mode.876- Think I might have figured out the odd Mode 7 glitch problems the games877Illusion and Gaia and Chase HQ were having. My original fix was to mod the878centre X & Y values with 1024, but looks like the true fix is to mod879X + horizontal offset and Y + vertical offset with 1024 when screen wrapping880is enabled.881- Disabled H-DMA'ing into V-RAM via registers 2118/2119. The game Hook882deliberately does this causing graphic corruption while dialog boxes are883displayed. Maybe the real SNES disallowed this and it was left in the game by884mistake? Not sure what effect the game was trying to produce because885disabling the emulation of this feature doesn't seem to affect the game at886all, other than stopping the corruption.887+ Also fixes graphics junk problem on first screen of Bugs Bunny.888- Added a 'region-free' timing hack for Power Rangers Fight - without it the889NTSC version was displaying badly glitching graphics; I'd already fixed the890PAL version.891- Added true priority-per-pixel mode 7 support (the previous support was just892a hack to get the colours correct) - level 2 of Contra 3 used this feature.893- The Japanese, German, French and Spanish version of Illusion of Gaia needs the894slow SPC700 timing.895- Deleted the Breath of Fire 2 S-RAM hack for the hacker intro version -896according to reports it was causing problems for the non-hacked version.897- Legend, the PAL version, never sets the sound master volume control - Snes9x898was defaulting this to off, I guess the real SNES must default it to full899volume; changed Snes9x. The NTSC version of Legend does set the master900volume level, but sets it to off just after the title screen. Hmm. The -nmv901command-line switch allows you to hear sound in this version.902- Panic Bomber World was tripping an SA-1 emulation bug - the WAI instruction903emulation code was setting the 'waiting for interrupt' flag on the wrong CPU904causing the main SNES to skip an instruction when the next interrupt occurred.905- Panic Bomber World, Bomberman 4 and UFO Kamen Yakisoban all need the slower906SPC700 timing.907- Oops! The Super Formation Soccer 95 fix was causing Aero 2 to lock up. This908means I have no no idea what value the DMA in progress register should909represent. I've hacked it and made it toggle between 0 and $ff on each read910which gets both games working, for now...911- The ROM de-interleaving code always assumed the blocks were rearranged based912on a power of two, but Francois found a copy of Soldiers of Fortune where913this was not the case. Corrected the code.9141.36915- Finally worked out why the menu items weren't being highlighted in several916ROMs, including Battletoads, U.N. Squadron and All Japan Pro Wrestling.917Two problems: its seems the SNES does halve the colour value result when918blending colours when only the fixed colour addition/subtraction is enabled,919but doesn't halve the result when sub-screen is being blended and its a clear920part of the sub-screen. The second problem was that I had an optimisation921that prevented the time consuming colour blending code from being called if922the colour being added/subtracted was black - adding zero to a number doesn't923affect the result, but not performing the side-effect of halving the result924does affect the final value...925- Super Formation Soccer 95 requires that the DMA enabled register doesn't926always return zero, otherwise the game locks up.927- Thanks to several people reporting a screen flickering problem in the928pseudo 3-d section of Jurassic Park 2 I've fixed a nasty problem in H-IRQ929handling code which could cause double-triggers or skip IRQs altogether.930With this fix I can now remove the special hacks for Ninja Warriors Again,931Chuck Rock and F-1 Grand Prix.932- More games needing the slow SPC700 timing:933Zennihon Puroresu 2, Soulblazer and Robotrek.934- The CPU idle time skipping code was skipping cycles during a software delay935loop in Itchy and Scratchy, causing screen flicker.936- Looks like reading the value of register $2137 shouldn't clear a pending937IRQ - was causing screen flicker on Yoshi's Island.938- Actraiser 1 & 2 both need the slow SPC700 timing.939- Terranigma reads a sound channel's current sample output value and waits for940it to be zero before preceeding. I forgot to always return zero when a941channel was silent. This mistake was causing the game to lock up.942+ Itchy and Scratchy and was causing the music to stop and samples to be cut943short in the Mario Early Years series.944- Added a hack for Secret of the Evermore - at several points in the game, just945as the plane is about to land, it reads from unknown registers $4000 and946$4001 and, if it doesn't get the value its looking for, the game hangs or947displays corrupt graphics.948- Silva Saga 2 was accidentally triggering a colour blending hack I put in949place Kirby Dreamland 3 and Kirby Superstar.950- The ZSNES freeze-file loading code could leave a file open if the file wasn't951a valid ZSNES freeze file.952- Super Punch-out requires certain DMA registers to be updated after the DMA953completes. Snes9x used to do that, but I must have accidentally left the code954commented out whilst investigating a different problem in another game.9551.35956- Added a recently played game list to the Windows port File menu so you can957quickly load up your favourite games.958- Included IPS patching support based on code from Neill Corlett - just rename959the patch file to match your ROM image name but with a .ips extension and960copy it into your ROM or freeze-file folder.961- Added John Weidman's and Darkforce's S-RTC, (Real Time Clock) emulation code.962The only game that seems to use it is Dai Kaijyu Monogatari II.963- Included code from Nose000 for games with 128Kbytes of S-RAM. Now964Sound Novel-Tcool, Thoroughbred Breeder 3, RPG-Tcool 2 and Dezaemon are965supported.966- The Windows port now has an option to make the 'turbo speed' button a toggle967button.968- The optimised fixed colour addition/subtraction code was ignoring the colour969window. Thanks to John Weidman for pointing this out.970- Added mode 7 and hi-res. hack for Dezaemon from Nose000 - the mode 7 hack971looks interesting (to me); I wonder if some other games would benefit?972- Both Tales of Phantasia and Star Ocean need custom sound CPU timing. Hmm.973That's 4 ROMs now, there will be more... That means I still haven't974discovered all the major SNES timing quirks. :-(975- Windows port now has an option to save the S-RAM data at any time.976- Windows port saving SPC dumps now auto-increments the filename.977- Added work-around for a Super Robot Wars Ex ROM bug - the game was checking978the wrong PPU register for end of h-blank. The game must have only worked by979chance rather than by design on a real SNES.9801.34981- Corrected the colour addition/subtraction and halve the result code not to982halve the result when only the fixed colour is used, i.e. the sub-screen is983clear. Discovered and fixed this awhile ago, but I accidentally reintroduced984the bug when adding some optimisations a few versions back.985- Finally cleared the last of the offset per tile background mode bugs. There986was something odd about the tile at the left-hand edge of the screen that I987couldn't figure out - well now I have. Yoshi's Island level 6 boss screen,988Mario RPG mine cart screen and Jim Power title screen now all display989correctly.990- Made reading blank areas of the SNES memory map return the middle byte of991the address - fixes Home Alone which tries to execute code in an empty part992of its memory map but only works because the real SNES seems to return the993middle byte of the address - $60 in this case, which corresponds to the994ReTurn from Subroutine instruction.995- Added auto-cycle skipping disable for Earth Worm Jim 2 and several other996games that spool sample data using H-DMA as the sample is being played.997Improves some sound effects in these games.998- Fixed joy-pad routines to only report up or left if down or right are also999pressed respectively. Works around a game bug in Empire Strikes Back in the1000asteroid stage where the game crashes if both left and right are pressed -1001something impossible to do on the original SNES game-pad.1002- Added custom SPC700 timing for Rendering Ranger R2 - the game now works with1003full sound. No idea why it needs custom SPC700 timing.1004- The ROM type detection was broken for Treasure Hunter G and Test Drive 2 -1005fixed the code so type 2 ROMs can be LoROM.1006- Adjusted the main CPU cycles per scan-line from 341 to 342 to give an exact1007match for the timing required for Earth Worm Jim 2. All EWJ2 needs now1008for perfect sound emulation is a method of synchronising the emulation1009speed to the host hardware's sound card playback rate, oh, and a fast CPU!1010The Linux port already has this but seems to be broken because games1011play at double-speed when this option is enabled.1012- Some SPC700 code in Earth Worm Jim 2 seemed to prove that I had guessed the1013clock speed of the SPC700 sound CPU incorrectly - out by almost a factor of1014two, in fact. Changed the relative emulated clock speed of SPC700. Now1015Chrono Trigger doesn't lock up at certain points anymore, the special SPC7001016timing for games written by the Human Software company isn't required and1017you can hear some more of the sound samples in Earth Worm Jim 2, etc.1018- H-IRQ triggering code was broken - if a ROM turned on H-IRQ but later turned1019it off, Snes9x could continued to generate H-IRQs, crashing some games.1020- Added a generic test for Human Entertainment games - they need special1021sound CPU timing to work. Gets Taekwon-Do working.1022- Disabled offset-per-tile mode for Theme Park; the world map screen is corrupt1023with it enabled.1024- Yet more changes to the offset-per-tile backgrounds modes 2 and 4. Added102564 tile wide screen support for Mario RPG's mine cart ride and fixed multiple1026bugs with the handling of horizontal offset-per-tile used in Chrono Trigger's1027fade in of the space ship.1028- New feature: Snes9x can now load ZSNES freeze state files! Just copy them1029into the freeze file folder and Snes9x will load them when you load a freeze1030file, but only if the corresponding native format Snes9x freeze file doesn't1031exist.1032- Added memory map hack for Batman - Revenge of the Joker: its ROM header block1033is in the wrong location and Snes9x incorrectly detected its ROM type.1034- Fixed an off-by-one-pixel clip window 2 bug when the window was set to clip1035outside the window area; clip window 1 was already correct. Removed the bright1036line bug at the left edge when the combat screen is appearing in Starfox and1037the clip problem when text boxes zoom-out in Yoshi's Island.1038- Jim Power's title screen seems to prove that the per-tile offset data on1039mode 2 isn't ignored for the left most tile as I originally thought.1040Modified the code.1041- The recent timing changes highlighted another problem with Daffy Duck -1042changed IRQ enable register to only clear pending IRQs if one has been pending1043for several microseconds.1044- Speeded up the sprite data register handling slightly.1045- Finally got Aero the AcroBat 2 working, after many hours of investigation,1046spread over several years - literally! Two problems. The SNES doesn't seem1047to consider scan-line line zero to be part of the v-blank period even though1048the line is never drawn and V-IRQs at the start of the scan-line have to be1049delayed until a few microseconds into the line - Traverse: Starlight & Prairie1050required this as well, so I removed the original, Traverse specific hack.1051There's a problem with the in-game music that I'll investigate at a later1052date.1053- The in-game music problem just required ENVX emulation to be switched on,1054off by default on the Linux port, on by default on the Windows port.1055- Fixed the mode 7 corruption problem on the title screen of Chase HQ using the1056same trick as Illusion of Gaia - i.e. mod the mode 7 centre X & Y values with10571024.1058- Fixed another crash bug in the interpolated mode 7 code - a portion of1059the code was ignoring the screen flip value and the fact that X render1060direction reversed if the screen was flipped horizontally. Was causing a1061crash on the whale boss screen of Kirby Superstar.1062- Mortal Kombat 3 now auto-adjusts emulated cycles per scan-line work-around1063a speech sample being cut short.1064- Added sample data register reading support to the sound DSP - somehow I1065seem to have missed implementing this. Not sure if any ROM actually reads1066the value.1067- Followed Sumire Kinoshita's suggestion and stopped clearing the ENDX flags1068when the value is read, against my better judgement, and it does actually1069improve speech samples in several games. Ooops! The Mortal Kombat series,1070Magical Drop 2 and Metal Combat are the ones I've discovered so far.1071- WWF Arcade now auto-adjusts the cycles per scan-line value to work-around1072a sound sample repeat problem.1073- Hmm. There's something about offset-per-tile mode I don't understand - WWF1074Wrestlemania Arcade is getting corrupt graphics; not sure what effect the1075ROM is trying to produce. Disabled offset-per-tile mode for the game for now.1076- Fixed Street Racer player 1 wobble problem during the soccer game by auto-1077adjusting the cycles per scan-line value slightly.1078- Made Power Rangers Fight auto-adjust emulated cycles per scan-line to work1079around a slight timing problem that causes an NMI to corrupt register1080values that an IRQ handler is trying to update. Without it the scrolling1081back-drop and fighter graphics are corrupt.1082- Illusion of Gaia seems to need the mode 7 centre X & Y values to be mod 10241083if the screen repeat flag is set. Fixes the island fly-over bug right at1084the end of the intro but breaks a few other games. Hmm. Made it auto-switch1085on for this game only.1086- Added memory map support for Radical Dreamers. Thanks to satellite hut master1087for the information.1088- Made updates to the top bit of the sprite write address register be ignored1089unless the low byte had been written to first. A ROM coding bug in1090James Pond II requires this, otherwise it writes a junk byte value into the1091main character's X position and Robocod wobbles around all over the place.1092- Reverted back to pre 1.31 way of initialising unknown register values -1093Rock and Roll Racing was reading a junk register value and using the value1094to set up DMA, which in turn was causing corruption on the player select1095screen.1096- Added Star Ocean memory map - thanks zsKnight! The original ROM I was testing1097was corrupt, no wonder I couldn't figure out the memory map myself! The game1098still isn't playable, though, due to missing S-DD1 graphics decompression1099(+ encryption?) emulation.1100- Started to dump some compressed data values from Street Fighter 2 Alpha in1101the hope that one day someone will be able to crack the S-DD1's compression1102algorithm.11031.33a1104- C4 emulation wasn't being automatically enabled for Rockman X2 / X3 - the1105Japanese versions of Megaman X2 / X3.1106- Fixed the Super FX plot table pointer that I accidentally broke while saving11071Mb of workspace RAM - it was stopping all Super FX games from working.11081.331109- Noticed another problem with the CPU_SHUTDOWN code - Chrono Trigger locked1110up during the intro but only when using the asm code CPU core. Found the1111algorithm difference between the code and made the CPU match what the C1112version was doing. Still not sure why it caused a problem in the first place.1113- Changed colour subtraction code to use Lindsey Dubb's newer version he sent1114me some time ago but I 'forgot' to include. I say forgot, but I really put1115off including it because, although it improves most games that use the1116effect, it does result in one or two slight visual glitches.1117- Hacked in zsKnight's C4 emulation asm code - now both Megaman X2 and X3 are1118playable. Still got to complete the reverse engineering of the i386 asm code1119to C so other, non-Intel ports can have C4 emulation.1120- Shuffled the keyboard mapping a bit on the Linux port so now Tab key acts as1121an emulation speed turbo button, `, # and ~ act as superscope turbo and1122/ acts as the superscope pause button.1123- Fixed asm CPU_SHUTDOWN code that I accidentally broke while trying to1124optimise it! Thanks to all the people who noticed Snes9x's frame skipping1125had changed between releases. Frames rates should be improved again for more1126than 50% of games.1127- Re-enabled in-lining of the C SNES memory access routines, improves frame1128rate by one or two on slower machines.1129- Optimised the asm 65c816 addressing mode emulation code a little.1130- Included some code changes making life easier for the Mac porter, John Stiles.1131- Added memory map support for Sufami Turbo using information supplied by1132Nose0000. No idea if it works because I don't have the ROM.1133- Spent a few minutes trying to figure out the Star Ocean memory map so at1134least the sound effects could be heard. But gave up after a couple of hours1135due to laziness. If anyone knows the memory map details, let me know please!11361.32a1137- The delay loading of the OpenGL DLLs on the Windows port was causing the1138OpenGL initialisation code to fail. Reverted back to normal DDL loading but1139with the side effect that Windows 95 users must visit the Microsoft web site1140and download the OpenGL add-on before Snes9x will work for them.1141- Corrected the OpenGL bump-map display option - my attempt to get the1142bi-linear OpenGL display option to work with Voodoo card's limited texture1143size had broken the bump-map mode.11441.321145- Changed the Windows port to delay load the two OpenGL DLLs, so now they're1146only loaded if you switch to OpenGL mode. The original version of Windows 951147didn't include the OpenGL DDLs, so Snes9x wouldn't even start on that1148platform; now it should.1149- Added yet another sound buffer option to the Windows port - this time the1150block size of sound data to mix. Some DirectSound sound card drivers only1151report the play position moving in steps rather than continuous amounts and1152Snes9x's default mix block size turned out to be smaller than this step1153value on several cards.1154Snes9x couldn't work out out where the true play position was accurately1155enough resulting in broken, noisy sound output.1156- Modified the Windows frame timer code to use semaphores rather than events -1157they should make Snes9x more reliable at not missing frame sync pulses when1158Windows is busy doing background tasks.1159- Added SA-1 shutdown code - basically, Snes9x now stops emulating SA-1 CPU1160instructions when the SA-1 enters an idle loop waiting for the main SNES1161CPU to give it something to do. All SA-1 run much faster and smoother now.1162- Added multi-axis joystick/game controller support to the Windows port and1163tweaked the dead-zone threshold position a little.1164- It looks like the SNES PPU was designed to support 128K of V-RAM but only116564K was fitted; Snes9x wasn't wrapping all V-RAM address to stay within the116664K limit causing a corrupt title screen on ReX Ronan - there will be others.1167- Added amend functionality to the Windows Cheat Entry dialog and added extra1168text boxes for direct address and cheat value input rather than only being1169able to type in a Game Genie or Pro-Action Reply code.1170- BS Suttehakkun2 was crashing just before start of play - the ROM was1171performing a junk DMA that was corrupting RAM, crashing the game when it1172went searching for a particular value.1173- F-1 Grand Prix requires IRQ triggering when IRQ scan-line register set to1174current scan line, but Chuck Rock objects. Hmm. Chuck Rock seems to indicate1175the CPU emulation is running too fast, but I can't see where the mistake is.1176Special-cased Chuck Rock for now.1177- Optimised SNES DMA handling slightly - copying data to SNES V-RAM is now1178significantly faster.1179- Windows Cheat search dialog was ignoring data type parameter in various1180places which was causing problems when larger numbers were being searched1181for.1182- Forced unknown PPU register reads to always return 0 - a coding bug in1183Equinox shows that this is required. An earlier fix didn't work.1184- Puya Puya 2 & remix were objecting to an NMI being triggered when enabling1185NMIs after scan-line 226, but Ys 5 seems to require this. Hmm. Added a hack1186to support both games.11871.311188- Snes9x DirectSound code modified - the mixing block size is now always 10ms1189for Windows 95/98/2000 and 20ms for NT 4.x, now there should be no need to1190enable Sync Sound when a large sound buffer is required (helps emulation1191speed). The maximum sound buffer length values have been updated to reflect1192the smaller mixing block size.1193- Changed the DirectSound code back to use an offset from the play position1194as the place to write new sample data into the sound buffer - on NT 4.x the1195write position seems to vary randomly rather than being a fixed distance1196in front of the play position as documented. Now I know why I used the play1197position originally!1198- Changed the DirectSound code to fill the sound buffer at the write position1199supplied by DirectSound, rather than just before the current play position -1200should help reduce latency.1201- Added an auto-detect method for interleaved mode 2 Super FX ROM images -1202well, not really auto-detect: if the game crashes and its a Super FX game,1203Snes9x assumes its in interleaved mode 2, de-mangles the ROM image and tries1204to run the game again.1205- Had to update the Snes9x Windows registry version number as the additional1206diagonal settings make old registry settings incompatible.1207- Added diagonal keyboard controls to the Windows port, as requested by1208several users.1209- Changed PPU code to return zero when reading non-existent registers - the1210game Equinox relies on this due to an original game coding bug.1211- Included FMOD sound driver support to Windows port - people experiencing1212broken sound or delayed sound, etc, might want to give it a try.1213- Tales of Phantasia - un-interleaved format ROM memory map changes to match1214odd ZSNES format, now the hacked ROM works.1215- Changed NMI again. Made reading or writing to PPU register 0x42101216clear NMI pending flag again, without this Super Tennis does not work.1217- Changed NMI timing back to be the same as several versions ago and just1218special cased Cacoma Knight instead - although kept the code to prevent1219the re-triggering of an NNI more than once in the same frame.12201.301221- Forgot to force GUI surface to be displayed when some dialogs where popped1222up - problem only happened on full-screen mode with triple or double1223buffering enabled, or when using 3dfx mode. It appeared as if Snes9x had1224locked up, but pressing Esc would pop down the hidden dialog.1225- Added a couple of options to the Settings dialog. Now its possible to1226disable S-RAM auto-save which was causing Snes9x to write to the hard disk1227every 30 seconds on some games, causing the occasional skipped frame.1228- Fixed Reset option which was accidentally broken when Netplay support was1229added.1230- Added support for Dirt Racer - it leaves the Super FX chip running all the1231time, so the default CPU emulation method never allocated any time to other1232CPUs and the emulation seemed to lock up.1233- NMI timing changed again. Now an NMI can only be triggered once per1234frame and enabling an NMI after the normal trigger scan line triggers1235an NMI immediately. This fixes display glitches in Ys 5, Stargate and1236Daffy Duck.1237- Fixed the WAI instruction to only 'wake up' once an actual NMI has1238triggered, rather than just waking up when it should have triggered.1239This fixes Battletoads, broken since version 1.29(ish).1240- Changed NMI again. Made reading or writing to PPU register 0x4210 not1241clear NMI pending flag. Seems to allow all the NMI timing sensitive ROMs1242I had on my list to now work without any special hacks. Illusion of1243Gaia now works again.1244- Another NMI fix - cleared the CPU pending NMI flag at start of frame;1245Battletoads intro was crashing without this. A long DMA was stopping the1246SNES CPU so it couldn't and shouldn't respond to the NMI signal from the PPU.1247- Fixed Netplay problem when game didn't have any S-RAM and Sync Using Reset1248was being used. An error dialog was displayed and the client would disconnect1249from the server.12501.30b#11251- The Windows auto-frame skip code was broken - badly. It didn't re-sync a1252timer value with timer events being generated, causing Snes9x to deliberately1253stop and wait for an event when it didn't need to, slowing down the overall1254emulation speed and increasing the number of frames skipped.1255- Improved the Windows cheat search dialog - its now possible to compare1256against a value and more comparison functions are available.1257- Finally worked out why Voodoo 3 support was so buggy in Snes9x - the Voodoo 31258card generates a WM_DISPLAYCHANGE message when switching to Voodoo mode (the1259Voodoo 1 and 2 cards don't); Snes9x thought that some other application had1260changed the screen depth or resolution and tried to adjust its window to1261match - triggering another WM_DISPLAYCHANGE message. No idea how the code1262worked at all; it must have been only by chance and very dependant on the1263driver version you were using!1264- Implemented Netplay on the Windows port - but its buggy as hell. I seem to1265be having major Windows multi-threading problems. Comments I've seen seem to1266suggest that Windows 95/98 don't implement true multi-threading; hmm...1267- Not happy with the current Netplay, so I scrapped it and tried again;1268the protocol is much improved and not using select to control game timing1269seems to have removed lots of the threading-type problems I was having.1270- Attempted to switch to just using Borland's C++ Builder to build the Windows1271port - and failed, again. Although C++ Builder can build Snes9x from sources,1272it can't then link in the asm CPU cores. I had hoped Borland might have1273fixed this with their latest release - they haven't.1274- Several attempts to get Anti Resonance's super-fast sound CPU and sound DSP1275code working in Snes9x, but all failed. Part of the problem was his code was1276written using TASM and the object files it generated would only work under1277Windows - but all my SNES debugging code was in the Linux port. Anti' fixed1278that, and I then had some success getting his code working, but its just too1279unstable at the moment for a main-stream release.1280- Included an option to use Anti Resonance's alternate sample decoding routine;1281it can approximate the wind and noise sound effects heard in several Square1282Soft games.1283- Thanks to Lindsey Dubb for the mode 7 bi-linear filtering code - it1284generates a nice smooth image when a game scales the screen using the SNES'1285mode 7, but you'll a fast machine if you don't want the frame rate to drop.1286- Thanks again to Lindsey Dubb, he improved the colour addition/subtraction1287subtraction routines - they are just a little slower but now mostly perform1288full 15-bit precision addition and subtraction rather than the previous128913-bits of precision. Many more colour shades can be seen - look at the1290improved shading on the Mario Kart or F-Zero track for example.1291- Added a reverse stereo option, for people with sound cards that swap the two1292channels.1293- Added a sound config dialog to the Windows port - now you can access extra1294sound options that have always been there, but just no GUI interface to1295access them.1296- Fixed the 32-bit windowed support on the Windows port.1297- Adjusted the NMI timing by a few microseconds to get Metal Warriors working1298again.1299- Added a few more sound playback rate choices. Most modern sound cards allow1300any value to be used from a large range, rather than just a select few, may1301be I ought to add text field so you could just type a value in?1302- Used Factory Setup 4 to build a new installer package for the Windows port -1303just shipping a zip file was confusing novice users and many (mostly AOL1304users) seemed to have an odd program mapped to .zip files, further confusing1305the issue.13061.291307- Disabled the SPC700 noise feature simulation used by Chrono Trigger and1308Final Fantasy 3 until I work out why its being triggered by sound effects1309that don't use it.1310- Rewrote/reorganised the DirectX and 3D/fx handling code, now both are never1311enabled at the same time in Snes9X. It might fix the crashing problems some1312Window port users are seeing. Changing between DirectX and Voodoo 3D/fx1313modes now requires Snes9X to be restarted.1314- Tracked down and fixed the Chrono Trigger black screen problem on the Windows1315port: a rogue asm instruction was left in by mistake after some code edits -1316it was only by chance that the code worked on the Linux port.1317- Added some SNES debug options to the Windows port, but disabled by default,1318on the shipped version.1319- Clicking on the column headings in the OpenROM dialog in the Windows port1320now sorts by that column; plus added some slight screen update optimisations.1321- Added an optimisation to graphics rendering: don't add or subtract1322sub-screen from background layers, or clear the sub-screen, if SNES fixed1323colour is black and no background layers are enabled on sub-screen, even if1324ROM tries to enable translucency effects for every background layer.1325Discovered Sonic was doing this, there will be others.1326- Forgot to enable auto S-RAM save on Windows port, oops!13271.281328- Warning dialog added to the Windows port - if a ROM is loaded from a1329read-only directory, e.g. a CD, and the freeze file folder is set to be the1330same as the ROM image folder, then a warning is displayed when the game first1331starts.1332- The Windows port now supports 5 joy-pads - Snes9x always did support 5 but1333the Windows port lacked the GUI option to enable and configure it.1334- Added an about dialog to the Windows port.1335- The Windows port now has a simple settings dialog, only one option so far -1336changing the freeze file and S-RAM save directory; much better than having to1337use regedit at least.1338- Added a new cheat search dialog, you can use it to find where games are1339storing life counters, health levels, etc. and then add cheats that stop the1340values from changing.1341- Added a cheat code entry dialog to the Windows port; now Game Genie,1342Pro-Action Replay and Gold Finger codes can be graphically entered and1343edited.1344- Added a master cheat codes on/off toggle, available from the Cheats menu1345on the Windows port.1346- Extended the number of cheats per game from 10 to 75.1347- Changed cheat code to reapply cheat every emulated frame so if RAM is being1348patched the cheat value is continuously applied.1349- Wrote some new cheat search code, the code won't be useful until I get around1350to writing a cheat search dialog.1351- Added automatic cheat code loading and saving using the same file format as1352ZSNES.1353- Rewrote large parts of the Snes9x cheat handling code ready for adding1354cheat dialogs to the Windows port.13551.271356- Added a flag to only enable SPC700 noise 'feature' when Chrono Trigger or1357Final Fantasy 3 are loaded - the conditions that I thought were necessary to1358trigger the feature where sometimes being met by other games.1359- Added a simulation of the SPC700 noise 'feature' where some games, notably1360Chrono Trigger and Final Fantasy 3, play samples that deliberately overrun1361outside a 16-bit value, the SPC700 sound DSP then for some reason starts to1362generate a type of noise sound which the games use to generate wind and1363swish type sound effects. Thanks to ZSNES for some of the information.1364- Fixed another sound interpolation problem, thanks to Mikael Bouillot -1365the initial value of the sample byte being played was not being set correctly1366when processing fractional offsets.1367- Added auto S-RAM save option; S-RAM is automatically written to a .srm file1368a few seconds (30 by default) after a ROM writes to it - useful for people1369who were playing games long into to night, only to lose their progress1370after a power cut or machine crash.1371- NMI delay code changed again - the fix for Cacoma Knight was breaking1372Tuff E Nuff; it would seem delaying NMI until the start of h-blank to too1373long, added a cycle counter instead.1374- Fixed yet another clip window bug - clip window was being incorrectly set1375at no range if colour window was enabled but background layer clip window1376was disabled (meaning layer should not be clipped).1377Fixes the sunken ship level on FF5.1378- Worked out (by example) how to add keyboard accelerators to the Windows port,1379now toggling full screen using ALT+Return works.1380- Added mouse-warp to the Windows port so the the cursor doesn't wonder off the1381Window while SNES mouse emulation is enabled.1382- Improved 3dfx support on Windows port - load dialog doesn't drop out of1383bi-linear mode and underlying window zooms to full-screen so its easy to find1384and click on the menu bar with the mouse.1385- Added Mouse and Superscope SNES emulation support to the Windows port, use1386'7' on the keyboard to select.1387- Windows cursor now hidden unless super scope emulation is enabled.1388- Windows port now has command line parsing - cheapo way of adding Game Genie,1389Pro Action Replay cheat codes, disabling sound CPU emulation for the1390corrupt copy of Star Fox 2, etc. Also allows ROM images to be dropped onto1391the Snes9x icon.1392- Cacoma Knight seems to provide proof that Snes9x triggers the SNES1393non-maskable interrupt (NMI) too early. Changed interrupt to trigger at the1394start of the next horizontal blank period. Will have to watch for it1395causing problems for other ROMs.1396- Added a translucency hack - when a ROM tries to create a stipple background1397pattern by enabling pseudo hi-res. and not enabling a background layer on1398one of the screens, Snes9x changes the effect to use transparency effects1399instead (the real SNES can't do transparency effects with pseudo hi-res.1400enabled). Now the water in Kirby 3 is translucent.1401- SA-1 CPU reset bug fixed, now Jumpin' Derby boots and plays but with major1402graphics problems.1403- Fixed nasty asm SA-1 custom hardware read/write bug that was causing the1404course map not to be displayed on Augusta Masters and Pebble Beach.1405- Added SA-1 character conversion DMA support for all SNES depths, now1406Augusta Masters and Pebble Beach work.1407- Merged in minor code changes for Linux running on the Alpha processor. Thanks1408to Sadruddin Rejeb for the changes.1409- Added four more auto-multi-player-adaptor-emulation-off presets based on1410code from Mystagogus.1411- Added DirectX3D output image processing support to the Windows port... and1412removed it again because it causes my desktop machine to lock up. Back to1413the drawing board...14141.261415- Fixed memory leak that crept in when SA-1 support was added when loading a1416game freeze file.1417- Added SPC dumping option based on code from Cyber Warrior X that he sent me1418ages ago but I've just found again while looking for something else!1419- Merged in most of the Amiga PPC port source code changes into the main1420source code tree.1421- Keying on a sound channel seems to clear its last-sound-sample-block-just-1422played flag. Chaos Engine/Soldiers of Fortune needs this.1423- Add multi-thread support to the UNIX ports for sound playing - required in1424the Linux port to work around a Sound Blaster Live driver bug and useful if1425you have multiple CPUs in your machine to help spread the emulation workload.14261.251427- Added BS 24Mbit ROM memory map, for Derby Stallion 96 and Sound Novel-TCool.1428No idea if it works. Thanks to Nose0000 for the info and code.1429- Corrected unzip code not to loop forever if an encrypted zip file is loaded -1430an error is generated instead.1431- Changed relative SPC700 cycle length for Mortal Kombat 3 to fix sample1432repeat problems - I wish I knew exactly how fast the SPC700 is clocked.1433Maybe I should write a test ROM and run it on a real SNES?14341.241435- 3dfx speed hack back again, only disabled when Seiken 3 is loaded.1436- Some minor SA-1 speed ups added - the SA-1 instruction skipping code will1437have to wait until I have more time.14381.231439- Corrected a SA-1 reset bug that reset the SA-1 RAM bank pointer back to block1440zero but didn't clear the RAM bank register. Was causing Kirby 3 to crash.1441- Fixed a wave clipping problem with interpolated sound that was causing noise1442on sound output when certain sound samples were played.1443- Fixed a bug in the sync-sound code that could overrun the sound buffer by a1444few bytes causing clicks on the sound output.1445- The sound sample repeat bug that has plagued Snes9x ever since is was called1446Snes96 finally bit the dust - Snes9x continued to play sample loops1447even if the game dynamically updated the sample not to loop. Fixes the1448stutter in the Mortal Kombat series and improves the sound from several games1449that download sound samples in real-time as they are played.1450- Rewrote the code the handled the SPC700's 64 byte shadow RAM area to fix a1451possible sample corruption problem with ROMs that stored samples that1452cross the 64 byte start area.1453- Added code to allow ROMs to change the sample being played the next time the1454channel loops or is keyed on - not sure if it fixes anything but seems more1455correct.1456- Added a zero-frequency fix to the stereo sound mixing code that I'd already1457added to the mono code some time ago.1458- Changed the code to set the end-of-sample flag just before the last block is1459played, rather than just after. Seems to help improve the sound on some1460games.1461- Sound sample start code now doesn't reset the channel's envelope volume level1462to zero before starting the sample - helps reduce the clicks being heard when1463a channel envelope volume level hadn't reached zero before being keyed on1464again.1465- Changed initialisation of sample-end-register to 0 rather than 255 - seems1466more logical now I've thought about it. Not sure if it helps anything.14671.221468- Finally fixed the corrupt copy of Donkey Kong Country not working problem -1469Snes9x thought the ROM used the same memory map as Street Fighter Alpha 2.1470- Added explode, un-shrink and un-reduce decompression modes support to the1471unzip code.1472- Fixed offset per tile bug that crept in after me trying to fix the Starfox1473on-tilt bug.1474- Made some fixes to the C Super FX emulation code, enough to get most 'FX1475games playable on the Mac port.14761.211477- Finally worked out how character DMA worked on the SA-1 and implemented a1478hacky, slow version, but its enough to get the level up screens displaying1479correctly on Mario RPG.1480- Incorporated ZSNES' new optimised Super FX asm code - had to track down and1481fix a nasty memory overwrite bug in the code first to get it to work.1482- Changed sample mixing code to not automatically wrap offsets to1483keep inside the sound buffer, external port code is now expected to do that.1484Helped me fix a problem in the Windows port that prevented very large sound1485buffers from working, which are required for some badly written sound card1486drivers.1487- Corrected a bug in the SA-1 C code where incorrect processor emulation1488functions where called if the code was compiled with in-lining turned off.1489- Fixed crash bug in Super Mario RPG on the level up screen - forgot to mask1490the enable bit from the RAM bank register. Thanks to Christian Wolf for1491sending me a freeze file which made it easy to find the problem.1492- Fixed a lockup bug in the window clipping code, if the ROM ever turned off1493the sub-screen completely the clipping code would enter an infinite loop.1494Fixes The Cartoon Addams.1495- Made the Daffy Duck NMI fix only enable when Daffy Duck is loaded - fix was1496causing problems for Breath Of Fire 1 and 2.14971.201498- Windows port no longer sets DirectSound to exclusive mode, so its now1499possible to hear sound output from Windows apps while Snes9x has focus.1500- Fixed the freeze file loading and saving on the Windows port.1501- More GUI settings are saved in the registry on the Windows port now.1502- Added 3D/FX image scaling/filtering support to the Windows port.1503- Added the TV mode from the Mac/Linux ports to the Windows port.1504- Incorporated Kreed's new output image routines into the Windows port that1505fixes RGB555 display colour problems. Many thanks to Kreed.1506- New auto-frame rate timing code on the Windows port, stops the silly speed1507up problems when the old code tried to 'catch up' after the emulator had1508been paused.1509- Increased the DirectSound secondary buffer length on the Windows port to1510hopefully fix all the static/broken sound output problems some people were1511experiencing.1512- Altered the ZSNES Super FX asm code so the Windows port could use it - all1513previous versions of the Windows port were shipped using the C Super FX1514emulation code which is a lot slower.1515- Implemented interpolated and sync-sound options on the Windows port.1516- Added an image stretch option to the Windows port - stretches the SNES image1517to fill the whole screen or the Window. Looks really good on my TNT card1518since that chips seems to filter the image as it scales it.1519- Implemented Windowed mode on the Windows port.1520- Added special SPC700 cycle timing for Empire Strikes Back.1521- Fixed the missing polygon problem for Super FX games - thanks to zsknight1522for the information.1523- Implemented SA-1 support required for Mario RPG, Kirby Superstar,1524Paradius 3, etc. but since only a good image of Mario RPG exists, I could1525only test that game.1526- Fixed a graphics clip window bug: inverting the area of a clip area that1527only consisted of empty bands should become the full width of the screen;1528Mario Kart's rear-view mirror display needs it.1529- Fixed mode 7 render code to use correct z-buffer when rendering onto the1530sub-screen. Fixes Final Fantasy V title screen.1531- Added horizontal offset per tile support in the offset per tile modes 21532and 6, and switchable horizontal/vertical offset in mode 4. Fixes Chrono1533Trigger in several places and Mario All Stars title screens.1534- Changed SPC700 relative cycle length to 14, needed for Stunt Car Racer.1535- Enabled immediate triggering of NMI if NMI enable flag set while scan-line1536was on first line of v-blank. Needed to fix a background jitter bug in1537Daffy Duck: The Marvin Missions.1538- Altered ROM load code to ignore corrupt ROM map type byte in ROM header,1539preventing the code erroneously detecting what it thinks are interleaved1540ROMs. Fixes EEK! The cat, Formation Soccer, the corrupt copy of Donkey1541Kong Country, ...1542- Disabled IRQ re-triggering if V-IRQ registers set to the current line. Fixes1543Chuck Rock.1544- Fixed missing sprites in Andre Agassi Tennis - writing to low byte only of1545the sprite write address register seems to also clear the hi-byte.15461.191547- Games written by the Japanese software company Human seem to need special1548SPC700 sound CPU timing, so the ROM load and reset routines now check the1549software author company and adjust the CPU cycle length accordingly.1550It gets Clock Tower, Super Fire Pro-wrestling Premium, etc working.1551- Added ROM check sum calculation and testing code - Snes9x can now detect1552pure, corrupt or hacked ROMs.1553- Noticed a fast way to implement the SNES 4096 colour mode, so I implemented1554it. Now the colours in ActRaiser 2 look correct.1555- Corrected a noise frequency error thanks to information from Takehiro.1556- Added a 'start in full screen mode' flag to the Linux port.1557- While debugging the new graphics code I thought of a fast way to implement1558the SNES direct colour mode, tried it out and now the colours in Actraiser 21559are correct.1560- Blast, forgot about the colour window and fixed colour effects. The separate1561sub-screen is back again, but all the other graphics speed ups are there.1562- Now I've got a z-buffer I keep finding other ways to optimise the SNES1563graphics rendering - no need for a separate sub-screen, no need to clear1564the sub-screen to the fixed colour, no need to waste CPU time on translucency1565effects on hidden pixels, no need to completely clear the main-screen to the1566back drop colour, etc., etc.1567- Implemented a software z-buffer and changed the SNES graphics rendering to1568use it (required change for future 3D card support). Finally fixes the1569sprite-to-sprite priority bug that some games suffer from. Also a big speed1570increasing for some games (10 fps+), others are slight losers.1571- Added code to skip the rendering of completely transparent graphic tiles1572rather than comparing each pixel to see if it is transparent; helps the1573frame rate a bit on some games.1574- Added a fixed for Tetris & Dr. Mario - the game didn't like a multi-player 51575adaptor plugged in to the real SNES when being played, so turned off the1576adaptor emulation for this game.1577- Added hack for Final Fantasy II - if sync sound isn't on, make attack rate of15781ms actually 0ms (old v1.16 behaviour). Causes a slight click but its better1579than samples being cut short.1580- Fixed a clip window area invert bug if the colour window was enabled on1581on one window and the other window was being used to clip a background layer.1582Fixes the finial (I hope) display problem with Gun Hazard.1583- Added code to intersect the clip window areas if both a colour window and1584a background layer clip window were enabled at the same time. Required by1585Gun Hazard.1586- Forgot to mark graphic clip windows as needing recomputing when the master1587colour window inside/outside/on/off/main-screen/sub-screen PPU register was1588updated. Was causing display problems for Gun Hazard.1589- Internal H-DMA execution accelerator pointer variables where not always1590being recomputed when started H-DMA part way into a frame. Was causing1591display problems for Gun Hazard.1592- Made H-DMA continue for one extra scan-line to fix a disappearing monster1593problem in Dragon Quest 5. Thanks to Alex Jackson for the bug report.1594- Zoop seems to require volume envelope height reading by the sound CPU to1595always return 0 when the channel is in gain mode.1596- The sound code was ignoring updates to the ADSR volume envelope rates while1597one was in progress. Fixed that and now the bird song at the start of1598Chrono Trigger sounds correct.1599- Had to disable the CPU shutdown code for loops reading the horizontal beam1600position, it was causing problems for Star Fox. Still no polygons though.1601- Oops, sound DSP noise output was broken - accidentally deleted an important1602line while removing debug code ready for the last release.1603- Added initial 3Dfx support to the Linux port - basically using the Voodoo1604card as a bi-linear filtering, scaling blitter. Actually slightly slower than1605TV mode, for non-scrolling images due to poor texture upload speeds to the1606card, but the full-screen feature is nice and the speed doesn't drop as more1607of the screen changes.16081.181609- Implemented a sync-sound mode where sound data gets generated in sync with1610SPC700 instructions being executed. Finally the sound Williams Arcade1611classics can be heard. Also helps slight sound timing problems in many other1612games but doesn't fix Mortal Kombat 2 like I thought it would - its1613sound routine programmers must have been on drugs or something!1614- Added interpolated sound - gives low frequency sounds much more bass similar1615to a real SNES especially with the playback rate ramped up to 44KHz.1616- Added on-screen messages as various emulation options are toggled on and off1617using the in-game keys.1618- Fixed a PPU register read bug with the sprite register write position. Thanks1619to Takehiro TOMINAGA for the bug report.1620- Altered the auto-frame skip timing code to only wait and re-sync to the end1621of frame when frames haven't been skipped. Again thanks to Takehiro.1622- Speeded up the colour addition and subtraction code using ideas from1623Takehiro.16241.171625- Linux and UNIX sound code now driven directly from signal timer handler1626rather than the timer handler just setting a flag which had to be polled in1627the main emulation code. Slightly faster execution.1628- Fixed the crash bug in the ZSNES Super FX asm code with Vortex - the game's1629polygons still aren't visible though.1630- Implemented bent-line increase and exponential decay and sustain volume1631envelopes - they should match, or at least be very similar to the real SNES1632sound DSP chip now.1633- It would seem ROMs can key on sound channels even if the channel hasn't1634been keyed-off, Pac-In-Time requires it. Changed code to allow it.1635- Quick mod to ZSNES Super FX code to get Winter Gold working - it was already1636working with the C Super FX code.1637- Added emulation of the extra 1/2 scan-line per frame on PAL and NTSC -1638should help improve music speed emulation.1639- Worked around the click sound heard when ROMs use 0 volume envelope attack1640rate.1641- Removed the 'check for IRQ already happened' H-IRQ position register setting1642code - it was causing problems for Ninja Warriors and was not required by1643F1 Grand Prix.1644- Fixed a bug in the new sound code - the sustain part of the1645attack-decay-sustain-release volume envelope was being skipped if the1646sustain level wasn't at 100%. The fix has helped some music notes from1647being cut off early in a few games.1648- Added fix to Pro Action Reply support (again). Thanks to Paul Shoener III for1649the original fix and Gil Pedersen for reminding me to apply it!1650- Finally fixed the Tales of Phantasia 'bum note' problem! The ROM set its1651sample directory to the upper-most page and I forget to code for the hidden165264 bytes of RAM, that appear when the boot ROM is switched off, when fetching1653sample addresses.1654- Adjusted the relative cycle length between the 65c816 and the SPC700 slightly1655to get Terranigma working again.1656- Oops, the emulated joypads 3 and 4 via the emulated Multi-player 5 interface1657weren't working. Thanks to Steffen Schwenke for the bug report.1658- Optimised the echo sound code - by-passed the the FIR filter code if only1659a pass-through FIR filter was defined by the ROM.1660- Modified V and H-IRQ register changing code to trigger an IRQ immediately if1661V-IRQ is enabled and the scan-lines match and either H-IRQ is not enabled or1662the electron beam position has already gone past the trigger point. Fixes1663the screen flicker in F1 Grand Prix.1664- Modified the priority-per-pixel mode 7 code to use BG#1's clipping data if1665the top bit of the mode 7 pixel is set. Fixes initial track drive-through1666display in F1 Grand Prix.1667- Modified the sprite priority levels for the priority-per-pixel mode 71668display. Now the car can be seen in F1 Grand Prix.1669- Wrote a sound DSP register recording scheme which 'plays back' the register1670changes in sync with the sound generation code. I'm bit disappointed, it1671only improves the sound in a very few games... Scrapped the code, it actually1672causes more problems than it fixes. Oh, well, another 3 weeks work wasted...1673- Fixed a SPC700 wake up problem for Lufia I - made the SPC700 also wake up1674when the 65c816 read from one of the four comm ports.1675- Included lots of sound code speed ups and sound quality improvements1676from Takehiro TOMINAGA - many thanks go to him.16771.161678- Fixed a case where the -forcelorom option didn't work - the case was1679required for Formation Soccer which claims in its ROM header to use the1680same memory map as Super FX ROM, it doesn't.1681- Pulled apart a real SNES using a crowbar (great fun), just to look at what1682speed the SPC700 is actually clocked at for more accurate relative emulation1683speed.1684- Implemented SPC700 cycle counting in the hope the improved timing would fix1685Tales'; no such luck but at least the -ratio option is obsolete now.1686- Implemented executing SPC700 instructions during DMA, fixes BSZelda and1687Goal lock up at start and music pausing briefly when ROMs do lots of DMA,1688usually between game screens.1689- Scrapped the i386 asm SPC700 code - it was the cause of the music not1690restarting after a battle in Chrono Trigger and FF3 and I didn't realise1691because the bug had already occurred in the test freeze-file I had.1692Thanks to John Stiles for pointing out that the Mac port didn't have the1693missing music problem.1694- Fixed RGB subtraction bug on displays with only 5 bits for green, e.g. RGB5551695displays. The GREEN_HI_BIT variable was always set to a value for 6 bit1696green displays.1697- Added the SA-1 memory map, still a long way to go before any SA-1 game will1698run.16991.151700- Jumped versions to keep in sync with the DOS port release.17011.141702- Improved 8-bit sound generation slightly, but it still sounds very poor1703compared to 16-bit sound.17041.131705- Implemented the Tales of Phantasia memory map using the information supplied1706by zsKnight. Had to also implement a de-interleave routine to work around1707a ROM feature and Snes9x CPU instruction fetching implementation detail.1708- Added a frames-per-second on-screen display option.1709- Fixed the final glitch bug with the Mario Kart track display - the byte code1710for the termination of the DSP1 raster command wasn't been recognised.1711- Disabled a NMI/DMA hack for Rise of the Robots, was causing problems for1712Mario Kart and 'Robots wasn't working correctly anyway.1713- Optimised the mode 7 rendering a little.1714- Changed tile rendering code to use offsets into screen buffer rather than1715direct pointers ready for z-buffer implementation.17161.121717- Changed V-blank NMI to occur immediately after a WAI instruction, Toy Story1718required this.1719- Fixed reading of H-DMA line counter register, Top Gear 3000 needed this.1720- Ripped off large parts of ZSNES's DSP1 code (with _Demo_'s and zsKnight's1721approval). Now Mario Kart works almost 100%.1722- Added a check to see if a vertical scan-line IRQ register change will cause1723a H-IRQ later on the current scan-line. Pilot Wings needed this.1724- Fixed possible crash bug in clip window code when both windows had two1725spans. Could actually cause Chrono Trigger to crash the emulator.1726- Fixed a lock-up problem with the C Super FX code, Star Fox and executing1727a few 'FX instructions per scan-line (required for Winter Gold).17281.111729- Partially fixed the DOS netplay server - the server timer is running too1730slowly and it doesn't deal with disconnects correctly yet.1731- Corrected the sound echo delay - it was varying with the sound playback1732rate chosen by the user - it shouldn't have been.1733- Implemented DOS netplay code - DOS server code still not working though.1734- Removed all floating point calculations from the sound generation code.1735- Fiddled with the pitch modulation code - my guess is the output of a1736channel that is used to modulate the frequency of another channel is1737automatically muted by the SPC700 chip. Just a guess, but the wind from1738FF3 sounds 'better' but far from perfect.1739- Optimised the tile palette index calculation.1740- Optimised the planar to chunky tile conversion code.1741- Fixed X11 port to always scale SNES image if hi-res. only (no interpolation)1742support is enabled.1743- Added zipped ROM image support using Gilles Vollant unzip code and1744some code that Ivar (Lestat) sent me a long time ago.1745- 65c816 asm RTI instruction was destroying the program bank in emulation mode,1746the C code was already correct. Caused C64E to break.17471.101748- Finished NetPlay v1 - allows up to five networked machines to play1749multi-player SNES games, one player on each machine.1750- Switchable full-screen mode added to Linux X11 port, some code and ideas1751nicked from Maciej Babinski's original Snes9x XFree86 DGA Linux port, the1752UAE Amiga emulator, plus lots of my own code.17531.081754- Bug fixes to C Super FX emulation - now Winter Gold works correctly again.17551.071756- More DSP1 work. Mario Kart is now playable! The character projection code1757is still broken so the opponents and obstacles aren't always positioned1758correctly on screen and you keep bumping into them, but I can still keep1759coming first!1760- Started work on NetPlay support.1761- Decreased sound card DMA buffer size on DOS port to improve sound generation1762and sound CPU synchronisation in some games.1763- Included Linux joystick driver patches from Vojtech Pavlik so the port can1764use the new v1.x joystick drivers, again written by Vojtech Pavlik. Allows1765use of Micro$oft Sidewinder pads, NES and SNES pads, PlayStation pads,1766Gamepad Pros, etc.1767- Added halve-the-result colour subtraction.17681.061769- Extended code to allow support for multiple 16-bit screen formats,1770switchable at run-time, rather just supporting one, selectable at compile1771time.1772- Added XFree86 DGA Linux port - code from Maciej Babinski.1773- More fixes to the X11 image format conversion and setup code.1774- The asm SetByte routine wasn't wrapping writes to S-RAM correctly, allowing1775some ROMs to think they were running on a copier and put up an error1776screen. Thanks to Nu of #rom for the report.1777- Added 'TV-Mode' support (interpolation and scan-lines) to the DOS and1778UNIX ports from code based on John Stiles work.1779- Added v-sync option to the DOS port.1780- Added fix to Pro Action Reply support, thanks to Paul Shoener III.1781- Added ggi support (untested) to Linux port using patches from1782Alexander Larsson ([email protected]).1783- Added 16 to 24/32 bit image conversion routines to the UNIX X11 code.1784- The SPC700 OR1 instruction was broken. Thanks to Pyrgopolinices for the1785report.1786- DOS port was having trouble splitting and joining path names - caused1787problems when specifying the full path name of a ROM when the ROM image1788was on another drive.1789- If a ROM reset the sound DSP and then turned on echo effects but kept1790the same echo delay setting, then the echo effects could not be heard.1791Thanks to [email protected] for the bug report and freeze file that made it1792easy to find the problem.1793- DOS port was always using stereo sound setting, if sound card1794supported it, regardless of the user preference.1795- Linux port X11 port could crash if window was resized while transparency1796effects were enabled.1797- The colour subtraction accelerator look-up table was slightly wrong, causing1798one bit of red, green blue values to 'spill' into the next field.1799- Allowed colour window to cut a hole in the main-screen and show the sub-1800screen underneath. The effect is used by Illusion of Gaia.1801- Added support for colour subtraction, with the halve-the-result flag1802set.1803- Included DSP1 code from _Demo_. Now you can see the track in Mario Kart and1804the ground in Pilot Wings - still can't play the games though due to other1805missing commands.1806- Added an NMI hack to work around a code bug in Battle Toads: BATTLEMANIACS,1807its only by chance that the game works on a real SNES - And disabled it1808again because it causes problems for Chrono Trigger.1809- A frame skip of zero was actually still skipping one frame. Thanks to1810Marius Fodor for the info.1811- And yet more X-OR window bug fixes - now the effects during some of the more1812'posh' spells look correct in Chrono Trigger.1813- Yet another window area inversion bug - off by one pixel on right-hand edge.1814- Forgot to put dummy start and end points for XOR window combination modes -1815now Uniracers looks correct and Sailor Moon looks like it does on a real1816SNES.1817- Window clip code was using wrong index into a 2-dimensional array when1818the whole of the main or sub-screens were clipped.18191.051820- The master volume disable code was looking that the wrong variable!1821- Fixed crash bug in newer sound code if a ROM tried to start a sample1822playing who's data went past the end of SPC700 memory. (Cannon Fodder)18231.041824- Fixed DSP1 ROM header detection bug.1825- More DSP1 work; still nothing works, although I know the multiply command1826is correct because I've compared the results against a real DSP1.18271.031828- Oops, the multi-player 5 disable code change broke the multi-player 5 being1829the default controller.1830- Implemented the colour window on the main screen - now Zelda's oval zoom1831window displays correctly and Krusty's Super Fun House clips the left-most18328 pixels as it does on the real SNES.1833- TERRANIGMA didn't like me returning a random value when it attempted to1834read a channel's the current sample byte.1835- Hacked in initial support for mode 7 priority-per-pixel - the priority bit1836doesn't actually change the priority of the pixel but the two games that I1837know of that use the feature look OK. (Winter Extreme Skiing and the1838intro of Tiny Toons Adventures).1839- Colour addition/subtraction code now uses RGB565 rather than RGB5551840calculations - helps a little with the loss of the bottom bit of SNES1841colour data.1842- DSP1 emulation started - nothing works yet.18431.021844- Switched to adding back drop colour rather than fixed colour when1845sub-screen addition is enabled but there's nothing on the sub-screen.1846Uniracers seems to need it. - DISABLED it again. Causes problems for1847other ROMs and Uniracers itself on later screens.1848- Fixed XOR window logic combination mode and area inversion code, now1849Uniracers works correctly.1850- Oops, if colour window and half colour addition/subtraction were both1851switched on, area outside colour window was still being halved, it shouldn't.1852Hacky fix at the moment until I implement the correct fix.1853- Fixed several bugs with the mosaic effect and 16x16 tiles and a few1854possible background scroll offset bugs and the mosaic effect.1855- Optimised the sound sample generation code for cases when the SNES1856sample playback frequency was higher than the sound card playback rate.1857- Fixed possible click sound when a sample was first started to be played.18581.011859- Corrected scan-line count for PAL games - should be 312 lines verses 262 for1860NTSC. Was causing slow music on PAL games.1861- Added error correction code to the SPC700 timer update code - the1862SPC700 timers are updated using the emulated h-blank handler which is1863called every emulated 63.6 microseconds (15.720KHz) but the SPC700 timers1864need to be updated at multiples of 8KHz, hence the error. Was causing1865music to be played slightly too fast.1866- Switched back to using C SPC700 code - the old SPC700 asm code was lacking1867several optimisations that the C version had. It also had multiple1868speed hack cycle skipping bugs. Plus I hadn't even finished optimising1869all the code from the last time I converted the C compiler output.1870- Optimised SPC700 memory access routines a little.1871- Disabled code that prevented ROMs updating SPC700 timer values while the1872timer was running - it seems like it is allowed, even though docs on the1873'net I've seen say its not.18741.01875- Fixed SuperScope support.1876- Added hi-res. option to my DOS port.1877- Fixed 4, 6, and 8 button standard PC joystick support.1878- Changed some types the source code was using BYTE -> uint8, WORD -> uint16,1879DWORD -> uint32 and BOOL -> bool8, types were clashing Windows typedefs1880but sizes didn't always match.18810.991882- 8-bit double height and/or width tile rendering was missing every other1883group of 4 pixels - screen pointer advance count was wrong.1884- Asm SPC700 emulation was ignoring the Shutdown flag - the result is its1885not possible to turn off cycle skipping for the SPC700 emulation.18860.981887- CPU to ROM address decoding code rewritten - used by Game Genie cheat codes,1888orginal code might have been the cause of some Game Genie codes not working.1889- Started to remove printf calls and replace them with calls to S9xMessage,1890port code can then dicide what to do with message.18910.971892- Re-enabled decompressed sample caching, still has a possible click problem1893but the sound code is a lot faster with it enabled. Added command line option1894to disable it if required.1895- Added '7' key support to rotate through available controller options, in1896the order multi-player5, mouse on #1, mouse on #2, superscope,1897standard controller and then back to multi-player5.1898- Hi-res. (512x448) support fixed.1899- Mouse support completed - Lemmings 2 and Mario Paint working a treat.1900- More colour window fixes.1901- Fixed freeze game problem when ZSNES SuperFX code is being used -1902ZSNES 'FX state was not being saved and restored.1903- ZSNES SuperFX asm emulation code plugged in to Snes9x.19040.961905- Looks like if the colour window is not enabled at all and the colour1906window selector is defined to only allow colour effects inside the colour1907window, then no effects should be visible.1908- Offset-per-tile rendering code didn't support width 64 screen size, which1909Chrono Trigger used on its title screen.1910- Contra 3 seems to prove that defining the clip window area to be 'outside'1911a window that covers the whole screen is not an area with no range.1912- No it doesn't. It proves that I shouldn't have initialised the right1913window edges to 255! Contra 3 enables clipping windows without first1914defining their range.1915- Debug frame advance feature was being prevented from forcing the next1916frame to be rendered by SyncSpeed which was being called after the1917debugger returned to the main loop.1918- H-DMA code was allowing ROMs to manually start H-DMA during the v-blank1919period, ROMs shouldn't be allowed to do this.1920- Asm code would not push the correct CPU status onto the emulated stack if1921returning from an NMI immediately triggered an IRQ - fixes Mortal Kombat 11922and War of the Gems.1923- 'd' dump memory debug command was not preserving the CYCLES count.1924- C versions of SNES memory access code had same problem as asm code on the DOS1925port except it didn't cause a crash just ROMs failed to work correctly.1926- Asm i386 code was using signed compares to check for special case memory1927areas - it was causing crash problems on the DOS port which was sometimes1928returning valid address values with the top bit set - i.e. they seemed1929like negative values!1930- Changed event reschedule code to always allow h-blank start events, used to1931disable them during v-blank period.1932- Added code to HDMA when end of visible lines reached.1933- Changed register 4212 code not to always return h-blank when in v-blank.1934- Clipping fixed colour addition to background area was off by one pixel on1935the right-hand edge.1936- HDMA: Finally worked out how the real SNES operates when ROMs manual1937start H-DMA during the frame - ROMs must set up the H-DMA line count1938and address values before H-DMA is started.1939- Fixed the asm code to remove all hard-wired structure offsets - one offset1940into the IPPU structure was wrong in the code because the structure had1941changed size.1942- Added colour window support and allowed graphic window settings to be1943different on the main screen and sub screen, just like a real SNES.1944- SuperFX LJMP instruction had bank and address values swapped.1945- Fixed possible memory overwrite problem because OBJList array was one1946element too short.1947- Added AND multi-graphic window combo support.1948- ROM image memory allocation allocates an extra 32K of RAM, then moves the1949pointer forward by that amount - stops the SuperFX emulation from accessing1950unallocated memory, possibly causing a crash.1951- SuperFX emulation now stores sign and zero flags in separate variables so1952the MERGE instruction can set flags correctly.1953- Added 65c816 instruction skipping to i386 asm code when 65c816 waiting in1954a simple loop for some 'event' to happen e.g. end of frame NMI.1955- Finally fixed the APU instruction skipping problem with the i386 asm1956code when the WAI instruction is used - caused slow music on some ROMs.1957- Offset-per-tile modes don't seem to support screen size - Mario All Stars1958Super Mario 2 requires this on title screen. Doesn't seem to effect1959Tetris Attack or Puzzle Bobble.1960- Changed SNES select and start keys from shift and control to space and1961enter - allows shift-fn key to save game positions without the SNES ROM1962also getting a select joypad button press.1963- Multiplayer5 support for controllers 3+ was broken for ROMs that used1964automatic hardware joypad reading rather than reading joypads serially.1965- ResetPPU was not clearing tile caches and marking OBJ as need recomputing.1966- Cached OBJ positions and sizes were not being recomputed if ROM changed1967global OBJ sizes during frame.1968- Fixed brightness multiplication problem on 16-bit code for green.1969- SPC700 emulation now uses one variable to store ZERO and NEGATIVE flags.1970- SPC700 emulation now only increments PC once at end of instruction.1971- New ROM type and interleaved detection code.1972- Reading sound DSP register ENDX also clears the value. The docs on the1973'net said that only writing to the register cleared its value. Fixes1974sound in Zoop.1975- Fixed mode 4 colour palette problem on background #2 in tile-based graphics1976code.1977- Fixed graphics mode 4, offset-per-tile support. Only one set of offset data1978that is switchable between horizontal and vertical, unlike modes 2 and 61979which allow separate horizontal and vertical offsets per tile.1980- Modified the APU timer code again, if the timer is enabled, a write to the1981timer target register is only allowed if a value hasn't been written yet.1982Fixed Donkey Kong Country 1 and Earth Worm Jim 1 & 2.1983- Attack rate of 0ms changed from 1ms back to 0ms because of a group of ROMs1984that change from attack mode to decay mode in real-time. Will change back1985when I've added better SPC700 CPU and sound generation sync code.1986- Added support for ROMs set a new sound timer value while the timer is1987enabled (EWJ 1 & 2).1988- Added support for ROMs that read the sound envelope height (MK1, MK2, etc).1989- ROMs writing to the H-DMA enable register during visible scan-lines were1990restarting H-DMA for that frame causing random screen effect corruption.1991- Echo feedback seems to be after the FIR filter, not before as a diagram I've1992seen suggests.1993- Sound pitch modulation added.1994- Memory access routines changed to pass a single 24-bit address rather than1995the previous separate 8-bit bank and 16-bit address parameters.19960.31997- Updates to A-Bus address during a frame must not update H-DMA address.1998Fixes Actraiser 2 and Pacman 2.1999- Removed sound volume mangling - with echo support enabled it doesn't seem to2000be required.2001- Attack rate of 0ms changed to 1ms to help prevent click sound with sudden2002start of a sample playing.2003- Sample caching of samples that looped using part of the original sample2004created a click on the sound output. Caching disabled for the moment. Would2005require 512K of cache RAM to fix sample caching.2006- Colour addition/subtraction support added - but still a little buggy in2007places and very slow.2008- 16-bit colour support added.2009- Sustain sound volume was not being set if a sample using ADSR was started2010with both the attack rate and decay rate set to zero - resulted in missing2011sound samples on with some games.2012- Sound echo support added.2013- Sound channel mixing code was not completely clearing a channel's sound2014buffer when a channel finished playing a sample.2015- Sound mixing code rewritten to use one buffer, rather than writing each2016channel into a separate buffer then combining them into one buffer.2017- Memory access routines rewritten to use an 8K block lookup table rather than2018dedicated code for each ROM memory map - it was getting difficult to support2019the new types of SNES ROM memory maps becoming apparent.2020- Sound sample decoding wasn't decoding sound samples correctly if a2021previously cached sample was only partially overwritten by the ROM as2022opposed to being completely replaced.2023- Sound sample decoding wasn't clipping generated sample values correctly.2024- Changed H-DMA to start in the current frame only if enable register is2025written to during v-blank, h-blank or while the screen is blanked.2026- The SPC700 seems to start executing instructions before the 65c816 -2027shorter reset pulse? (NO - forgot the SPC700 executes instructions while DMA2028is taking place).2029- ROMs that reset the H-IRQ position so another IRQ would be triggered on the2030same scan-line where not supported - Super Off-Road: The Baj needs it.2031- $4212 bit 7 needs to go high at the end of h-blank at line 224 not at the2032start of h-blank - Bubsy needs it.2033- Sample decoding routine could write to memory outside sample cache area if2034address of block to decode was greater than $0x10000 - 9.2035- Walking mario can be seen on map screen of MarioWorld - needed sprite2036priority rotation working. ROM sets bit 7 of $2103 then sets rotation in2037$2102. Reset rotation at start of v-blank not at end.20380.242039- Fixed reading of DMA register values - now Ms Pacman works.2040- Saved sprite memory address being restored on the wrong scan-line - caused2041corrupt sprites on at least one game (GANBARE GOEMON 2).2042- Screen colour palette not being updated if ROM only wrote to low byte of2043palette register.2044- Possible memory corruption fixed if a ROM tried to write to an invalid2045sprite address via PPU registers.2046- X11 port support quick load and save by pressing function keys to load or2047shift + function keys to save.20480.232049- Added option to disable graphic window effects - T2: The Arcade Game doesn't2050seem to like them.2051- Mode 7 "outside screen area" register interpretation fixed - now the2052Actraiser map screen looks a lot better.2053- Old DMA code hack for Battle Toads: Double Dragon removed as it was no2054longer required and it was causing problems for Ys III.2055- Lowered max volume level of 16-bit sound mixing code to help with sound2056clipping problems is lots of SNES sound channels are playing.20570.222058- Crash bug fixed in mode 7 graphics windows code20590.212060- Fixed a noise channel volume bug - noise waveform was getting clipped.2061- Fixed 24bit X Window System server support on the Solaris port.2062- Sprites in priority level 1 on mode 7 were being drawn incorrectly behind2063graphics screen.2064- BG 3 priority 1 tiles sometimes not drawn dependent on the $2105 bit 32065setting.2066- Added graphic window support the tile redraw code.2067- Added mosaic support to tile redraw code.2068- Tile redraw code was drawing one line too many on screen-splits.2069- Tile-based redraw code made more intelligent about when a background should2070be displayed or not.2071- Added wrap within bank support to large DMAs just to support Rock 'n' Roll2072racing.20730.202074- DMA routines added lots of special cases and removed most calls to GetByte,2075using a pointer instead.2076- Multiple using PPU registers is now only computed when first byte of result2077is actually read.2078- Sound enabled by default if compiled without DEBUGGER defined.2079- Tile redraw method made the default.2080- Fixed CPU_SHUTDOWN so SPC700 continues to execute even if main CPU is2081"skipping" cycles waiting for an event to happen.2082- More command line options added.2083- Default cycles-per-scan-line to execute lowered to 90% from 100%.2084- +/- keys now work even if auto-frame rate adjust was enabled.2085- SPC700 emulation partially rewritten in assembler.2086- Asm 65c816 code change to use same speed up techniques as the C++ code.2087- Minor speed tweaks to the sound decoding and mixing code.2088- C++ SPC700 emulation changed to use same method as 65c816 emulation for2089computing and storing emulated CPU flags.2090- Mode 7 code rewritten and several scrolling offset bugs fixed.2091- Lo-ROM S-RAM memory map bug fixed - now Uniracers works.2092- Multiple speed ups and changes to the tile and line-based redraw code.2093- Tile and line redraw code changed to cache converted tiles between frames.2094- Variable cycle length timing made compile-tile switchable.2095- C++ 65c816 emulation changed to use several opcode jump tables to avoid2096a register size comparison test on most emulated instructions.2097- C++ 65c816 emulation changed how is computes and stores emulated CPU flags.2098- Fixed high frequency sound playback bug - the sample rate calculation was2099blowing the range of an unsigned long.2100- Fixed V-RAM reading so DKC3, Addams Family, Aladdin and Pacman all work.2101- Fixed sound code so ROMs can change from ADSR mode to decrease mode - fixes2102lots of ROMs.21030.12 released2104- Added dynamic speed regulation.2105- TCALL vector calculation change from n to 15 - n.2106- Fixed crash bug if ROM writes to sound DSP register numbers greater than2107127.2108- Fixed DOS memory locked for interrupt code.2109- Added long name versions of command line switches.2110- Added command line switch for SPC700_SHUTDOWN code and WAI cycle skipping2111code.21120.1 released2113- All DOS memory is now locked from being swapped.2114- Fixed DOS port keyboard polling code - could get confused if a keyboard2115interrupt happened while keys were being checked.2116- SPC700 ADC instruction never cleared Overflow or Carry flags!2117- Changed selection of playback speeds for Solaris port.2118- Sample caching code was broken - cached samples were never used.2119- Added code speed ups for ROMs that use a lot of DMA to VRAM.2120- More cpu code asm speed up.2121- Fixed 16x16 size tiles on tile-based redraw code.2122- Fixed sound gain-mode increase and decrease volume envelopes.2123- Added code to support ROMs that reuse sprites in the same frame.2124- Fixed processing of negative volume levels.2125- Fixed SPC700 EOR1 instruction.2126- Added SPC700 shutdown code to stop executing SPC700 instructions if in2127a tight loop waiting for a timer or for the 65C816 to respond.2128- DOS playback rate was being forced to 16KHz by Allegro - fixed.2129- Fixed bug in SPC700 MOV1 C,bit, address.2130- Fixed a off-by-one loop sample pointer bug in MixSamples.2131- Added command line flags for cached-tile based drawing and sub-screen2132background layers priority swapping.2133- NOPE, got encoding of the OR1/EOR1,AND1 range of correct originally -2134got duff information from an "SPC700" programmer.2135- More SPC700 fixes: got the encoding of the OR1/EOR1,AND1 range of2136instructions wrong - I guessed wrong originally.2137- Sample looping bug fix on mono sound mixing code.2138- Sound pitch value no-longer clipped to 14 bits - apparently FF3 needs this.2139- Followed Paradox's suggestion and changed graphics code to place sub-screen2140background layers below main-screen background layers. Helps lots of games2141that use sub-screen addition/subtraction - now you don't have to toggle2142background layers on and off so often just to see hidden text, characters,2143or maps, etc. Made it switchable.2144Acts as a good intermediate solution until sub-screen addition/subtraction2145is actually implemented.2146- Modified sound skipper code to return random values when ROM is stuck2147waiting for the SPC700 CPU to respond - helps several ROMs that previously2148don't work with the currently selection of APU skippers.2149- Improved sound mixing code so volume is not attenuated so much, giving2150better results on 8bit sound cards.2151- Changed the frequency at which the joystick polling routine is called - now2152called every-other frame rather than every 3rd frame.2153- Recompiled Linux and DOS ports with the Pentium optimising version of gcc -2154gives a few percent speed increase.2155- Changed V-RAM increment count from 64 to 128 - apparently Final Fantasy 32156needs this as well.2157- Fixed sprite priority bug with Mode 7 - apparently Final Fantasy 3 needs2158this.2159- Fixed a screen clipping problem with the S-VGA mode.2160- Fixed bug that had crept in with -m 2 S-VGA mode (Linux version).2161- Fixed S-VGA Linux version with sound enabled.2162- The SPC700 ADC (X),(Y) instruction was broken - with all these SPC700 fixes2163now many more ROMs work with sound enabled.2164- The SPC700 Pop PSW instruction was not resetting the direct page location.2165- The SPC700 instruction MOV A,[DP+X] was incorrectly doing a MOV A,DP+X.2166- Got the SPC700 SETx and CLRx instruction encoding swapped around.2167- Fixed #define problem that was stopping DOS snapshot saving from working.21680.72 released2169- Fixed the DOS filename handling - old Unix code was screwing up with ROM2170filenames that contained backslashes (\) - the ROM would load but S-RAM2171loading and saving would fail and the default filename for snapshots2172wouldn't work.2173- This time really fixed Allegro library keyboard handling (DOS port); it2174was missing key some presses/releases (was stopping Chrono Trigger2175Left + Right + A button combo from working).2176- Added code to automatically remove headers off S-RAM save files with2177512 byte headers.2178- 32Mbit ROMs in interleaved format are now automatically detected and2179converted.2180- Added -ss 3 sound skip method support to the asm version - now NBA Live '962181works again.2182- Added support for multi-part ROM images.21830.71 released2184- Made libgz.so statically linked (again) on Linux port - sorry.2185- Made writing to $4200 also clear any pending IRQs. This finally allows2186Battle Toads: Double Dragon, Spawn and Sieken 3 all the work with the same2187IRQ logic (but Sieken 3 still gets stuck in sound download code).2188- Fixed a H-DMA wobble bug - some frames could randomly miss a line of2189H-DMA causing the F-Zero screen to wobble, and slight text character2190corruption on games like DKC3.2191- Interleaved format ROM images are now swapped in-place, without the need2192for a temp 4Mb buffer (saves lots of disk swapping on a 16Mb Windows 952193machine).21940.7 released2195- Fixed Allegro library keyboard handling (DOS port); it was missing key2196some presses/releases.2197- DOS port had a different MAX_PATH value which moved the location of the2198SRAM size variable when using the asm CPU emulation core. This, in turn,2199caused the SRAM emulation to fail on the DOS port. Donkey Kong County 2 & 32200were reporting a ROM copier was connected to the SNES and refused to run.2201- Fixed assembler version of XCE - it was always leaving the carry flag2202clear - caused Killer Instinct and Super Punchout to think a ROM2203copier was fitted to the SNES and they all refused to run.2204- Fixed assembler versions of MVN/MVP - they weren't setting the data bank2205register to the destination bank of the instruction.2206- Fixed joystick detection on MS-DOS port - a single 2 or 4 button joystick in2207port 1 was being ignored if a second joystick was not present in port 2.2208- Fixed an uninitialised variable in graphics code - was causing random2209missing scan lines on Mode 7 screens.2210- Joysticks now scanned every 3rd frame (joystick scanning is slow in the PC).2211- Double-whoops, Metriod 3 had stopped working in v0.6 - fixed it2212(memory map bug).2213- Made bit 6 of $4211 set if v-counter == v-timer-position.2214- Made reading of $4200 read $4212 instead.2215- Adjusted DMA timing to always access ROM memory at slow speed - this seems2216to fix Battle Toads.2217- Added code to automatically clear pending IRQs when the horizontal line2218is no longer equal to the horizontal timer line - this fixes Seiken 3, it2219now just gets stuck in the sound CPU wait code - oh well.2220- Moved NMI back to its original pre-0.65 behaviour, now Puzzle Bobble works.2221- More graphics speed ups - the code to render background tiles with their2222priority bits set is only called if there are actual priority-bit tiles.2223- Changed default frame skip rate from 1 to 2 - its seems most people don't2224bother to read the docs, so I thought I'll help them out a bit!2225- Speeded up Mode 7 graphics on games like F-Zero that rewrite the matrix2226registers on each scan line using H-DMA.2227- Reorganised the graphics code and did a slight speed up - graphics code2228will be the next thing to rewrite in assembler.2229- Rewrote CPU core in assembler for Intel platforms - gives a very noticeable2230speed increase.2231- Fixed several problems with the APU sound CPU emulation - its now getting2232stable enough to try and implement sound.2233- Fixed bug that caused 1 byte of S-RAM to be emulated when ROM didn't2234expect any - it was enough to stop Street Fighter 2 and others from2235working - thanks Lord ESNES.2236- The TXS and TCS instructions shouldn't set the Z and N flags.2237- Looks like MVP/MVN instructions should ignore accumulator size - change2238code to always use all 16 bits and exit with accumulator set to 0xffff.2239- Whoops, accidently left some test code in which was causing the V-BLANK2240flag, bit 8 in register $4212, to be miss-calculated.2241- Fixed palette in mode 0.2242- Speeded up graphics drawing a little by skipping groups of 4 pixels that2243were all transparent.22440.65 released2245- S-VGA and MS-DOS ports now have a VGA mode command line flag.2246- Improved the fading code - should be much more smooth now.2247- Fixed second joy-pad support and re-mapped keys and joysticks to actually2248make a match between what my docs said and a real SNES (SNES docs I'd2249seen were wrong!).2250- Fixed a bug in Relative Long CPU addressing mode.2251- Ported Snes96 to MS-DOS.2252- Snapshot loading and saving no longer uses external gzip binary.2253- Added support for registers at $21c2 and $21c3.2254- Made reading the software latch for the horizontal and vertical counters also2255clear any pending IRQ.2256- Added sprite priority rotation.2257- Rewrote parts of the graphics routines to fix a sprite-to-sprite priority2258bug.2259- NMI flag changed again - now back to being reset by reading $4210 but2260actual NMI is delayed.2261- Made mode 7 background colour 0 transparent - this fixed several sprite2262priority problems a few games where having.2263- Finally worked out how sprite "Object Name Select" works and emulated it -2264this fixes many (if not all) of the corrupted sprites some games2265experienced.2266- Delayed NMI activation for one instruction to give time for loops that2267wait for bit 7 of $4210 to go high.2268- Special-cased line count of 128 on H-DMA to mean repeat previous data with2269a line count of 128 and not just terminate H-DMA on that channel.2270- APU sound CPU emulation added - just need to debug the thing.2271- Fixed Overflow flag setting in ADC and SBC instructions - it was never2272being set.2273- Rewrote how CPU instructions are fetched and how values are pushed and pulled2274from the stack - it gave a very large increase in emulation speed.2275- H-DMA was being started one scan-line too late.2276- Added CG-RAM reading support.2277- Added "Full Graphic" V-RAM reading.2278- Speeded up C version of CPU emulation quite a bit - could speed it up a2279little more before rewriting in assembler.2280- Fixed bugs in 16x16 tile drawing on 2bit and 8bit deep screens.22810.6 released2282- Speeded up 16x16 tile background rendering by removing a temp tile buffer2283it was using. The speed up also fixed a vertical scroll bug.2284- Fixed slight window clipping on 16x16 tile backgrounds.2285- Added automatic PAL/NTSC mode switching.2286- Fixed background and sprites so only visible if on main-screen or2287on sub-screen under correct circumstance.2288- Fixed lockup bug in DMA.2289- Stopped NMI flag from being reset by reading $4210 - was causing a couple2290of games to get stuck.2291- Whoops, got horizontal and vertical Mode 7 flip bits around the wrong way!2292- Fixed MIT shared memory pixmap support for X11 version (it was always turned2293off).2294- Fixed minor bug - first sprite in priority group was drawn twice. Didn't2295cause any visual bugs, it just slowed down redrawing a little.2296- Fixed DMA bug - transfer byte count should be 0 after DMA has finished.2297- Fixed a scaling bug if width < height.2298- Interleaved ROM image support added.2299- 16bit and 24bit X11 server support added - with scaling.2300- Added window scaling on X11 version.2301- Partial clip windows added - the only window overlap option implemented at2302the moment is OR, it seems it good enough for all the ROMs I've tested2303it with.2304- Partial Mosaic effect added (pixels only growing vertically).2305- Missing Mode 7 "outside screen area" option added.2306- Fixed mode 7 screen wrap "outside screen area" option.2307- Used new event processing to finally fix H-IRQ so it triggers at the2308correct position on the scan line.2309- New event processing added.2310- Linux version now statically links libgz.so (sorry).23110.5 released2312- Linux S-VGA version changed from using a 320x240 ModeX screen (slow) to a2313256x256 chunky screen (faster) - thanks to Phillip Ezolt ([email protected])2314for information on how to do this.2315- Mode 7 screen flipping added.2316- Included Snes97's CPU emulation code into Snes96. Didn't fix any bugs but2317slowed down the emulation some what and I couldn't compile it optimised2318because it was so large - so I removed it again.2319- Added a few extra features available via the keyboard.2320- Fixed a H-DMA transfer mode - bad documentation.2321- Fixed H-DMA indirect addressing (it was using the wrong CPU memory bank).2322- The Linux slow down bug is my crappy laptop enabling battery saving features !2323- Changed graphics code to perform true line-by-line screen updates.2324- Fixed sprite drawing bugs.2325- Ported Snes97's graphics code to Snes96.2326- Fixed memory map for HiROM save RAM area.2327- Fixed HiROM memory map - now Killer Instinct and Donkey Kong County work !2328- OK the slow down bug is just actually my laptop trying to save battery2329power by slowing the CPU clock!2330- The Linux slow down bug shows itself on DOS emulators running under DOSEMU2331so it must be a kernel problem (or feature).2332- Fixed H-DMA (again) to be complete emulation - all I need now is line-by-line2333screen update...2334- Fixed DMA to not copy too many bytes if byte count was not a multiple of2335the transfer mode quantity (caused corruption on Super Mario World map screen).2336- Changed mapping of keyboard to joy-pad buttons and added additional2337direction keys for joy-pad one so player one's right hand doesn't have to2338obscure player two's keyboard joy-pad buttons.2339- Changed joystick button layout to match SNES if using a 6 button joy-pad.2340- Changed snapshot format so I can easily use libgz on Linux.2341- Added few speed up tweaks that will be lost again when I add line-by-line2342screen update.2343- First visible scan-line changed from 8 to 1 to match with new docs.2344- New SNES information source found; fixed partial H-DMA emulation to include2345indirect addressing support.2346- Snapshot files are now compressed.2347- Compressed ROM images now supported on Linux.2348- Snapshot loading and saving added.2349- Joystick support for Linux added. One 2, 4 or 6 button joystick, or two 22350button joysticks supported (PC hardware limitation).2351- SVGA full screen support added for Linux. Still has the X11 slow down bug so2352can't blame the X11 server any more! Must be a kernel bug or a very odd2353emulator bug.2354- Added emulation of two joy-pads on the PC/Sun keyboard.2355- Removed -i command line flag as it is no longer used. -h value range has also2356changed: now 1 - 100 (percentage).2357- Actuate cycle counting rather than instruction counting now added including2358fast and slow ROM timing - should give much better timing information when2359line-by-line screen update added.2360- Bug fixed old-style joy-pad access used by some ROMs - Mario All Stars still2361gives problems if enabled and I don't know why; but at least Super Bomberman2362now works !2363- Looks like if both horizontal and vertical IRQ are enabled then IRQ should2364only be triggered once per frame and not once per scan line - looking at the2365IRQ handler of a couple of ROMs seems to confirm this.2366- Added initial cycle counting - not accurate enough for some ROMs though.2367- Finally worked out how the odd VRAM address increments should work but only2368found one ROM, so far, that actually uses it.2369- Debugged the odd slow down problem with the Linux port - it seems to be a2370bug in the X Window System server - starve the X server of keyboard presses2371or mouse clicks or movement and the X server slows down, slowing down the2372emulator with it !23730.4 released2374- Fixed sprite vertical clipping at top of screen.2375- No need to invert the Mode 7 transformation matrix before use - the2376ROM coder already had to!2377- Fixed Mode 7 scrolling offset when using special effects.2378- Added Mode 7 rotation, enlargement and reduction emulation.2379- DMA shouldn't zero the byte count value after a DMA has completed.2380- Added DMA reading (Addams Family was using it)2381- Fixed V-RAM read function - returned data should lag behind the V-RAM2382address by one byte/word.2383- Added mode 7 graphics only.23840.3 released2385- Speeded up the main CPU loop a bit.2386- Add more command line options:2387-f <frame skip> (default 1)2388-i <no instructions between polling X> (default 32768)2389-h <number instructions per scan line> (default 45, some games allow a lower2390setting resulting in a increased2391emulated frame rate)2392-t enable CPU tracing2393-ss <sound CPU skip wait method> (default 0, more methods to be added)2394-H disable H-DMA emulation2395-F Force Hi-ROM memory map2396- Modified planar to chunky conversion to use look up tables.2397- But now Mario All Stars won't start. Made emulation of $4016 optional with2398-o command line switch.2399- Thanks to Carlos (calb) of ESNES fame, I've added correct $4016 & $40172400joy-pad register processing - now several more ROMs will start once a2401button is pressed and can be controlled.2402- DMA wasn't updating DMA registers with the final CPU address used after the2403DMA had completed (caused sprite and background corruption with some ROMs).2404Still suspect another DMA side effect isn't being emulated correctly though.2405- Fixed setting of CPU overflow flag in ADC and SBC instructions in decimal2406mode.2407- Fixed MVP/MVN CPU instructions to leave X and Y values correct at end of2408loop - several more ROMs now work. Still don't know if MVP/MVN instructions2409should ignore the accumulator size flag or not.2410- Rewrote background drawing code - gives a large increase in speed.2411- Flag to only update X Windows colour palette when necessary was missing a2412case - caused some ROMs to start with a black screen.2413- Code to only update background tiles when changed wasn't working so I2414disabled it.2415- CPU WAI instruction needed to trigger on hardware IRQ even when interrupt2416enable flag was false.2417- DMA was not transferring 65536 bytes when byte count was 0.2418- Fixed matrix 16bit x 8bit multiplication (old debug code was causing junk2419value to be returned).2420- Fixed Makefile so version.h header file change recompiles file that shows2421version number in window title.2422- Added more reporting of used but unimplemented missing hardware features to2423debug command.2424- New ROM loading code from Jerremy included, can now cope with ROM images2425with no 512 byte header.2426- Speeded up emulated memory access a little bit.24270.2 released2428- Added matrix 16bit x 8bit multiplication for Super Off-Road Racer.2429- Added initial H-DMA emulation - visual effects using it will not be seen2430correctly until screen is updated line-by-line rather than the whole screen2431at end-of-frame.2432- Fixed horizontal sprite clipping (vertical clipping still has a problem).2433- Integrated large sprite bug fixes and new background drawing code from2434Jerremy.2435- Fixed large size per-sprite flag; always stayed true after sprite size was2436changed to large.2437- Rewrote the planar to chunky pixel conversion routines (still need more2438work).2439- Made registers $4016 & $4017 always return $ff - lots of ROMs that previously2440wouldn't go beyond the title screen thought old-style joy-pads were2441connected and were waiting for the user to press a button on them.2442- Frame skip rate now set to 1 instead of 5 on my P166 laptop!2443- Fixed NMI v-blank flag being incorrect set, caused some ROMs to lock.2444- X keyboard autorepeat now switched off when emulator has keyboard focus.2445- Added number key options to toggle backgrounds 1 to 4 and objs (sprites) on2446and off.2447- Fixed sprite clipping problems at edge of left hand side of screen.2448- Corrected Hi-ROM memory map (I think) (no I didn't)2449- Fixed most of the sprite-to-sprite priority problems.2450- Added sprite debug command, 'S'.2451- Added a debug command to show what missing hardware features a ROM was using.2452- Added horizontal and vertical beam position IRQ - horizontal always triggers2453at start of line at the moment.2454- Fixed SBC instruction to set carry flag the correct way around.2455Initial release 0.12456- Ported Windows 95 version of Snes96 to Linux on a PC and Solaris on a2457SparcStation.2458- Corrected work RAM memory map.245924602461