Wilheim Posted October 7, 2020 Share Posted October 7, 2020 Hi, all! Then again, attached are two betas for NTSC fixes. This time: Unicum and Spiky Harold. For Unicum, I just moved the inmediate Vertical Blank Interrupt to a deferred one. For Spiky Harold, it took a little more. I moved the software sprites routine from VBI to a DLI at the bottom of the screen. That way I could take cycles before the frame starts to display. I will appreciate your feedback about it. Cheers! Spiky Harold NTSC v2.xex Unicum NTSC fix beta v1.xex 8 Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted October 7, 2020 Share Posted October 7, 2020 with Spiky Harold, you need to change the music timings and should adjust colour change values to NTSC, e.g. at $60CC -> $6121 looks to be a table used by lots of things, e.g. DLIs, to set colours. 2 Quote Link to comment Share on other sites More sharing options...
+Nezgar Posted October 7, 2020 Share Posted October 7, 2020 @Wilheim Haven't tested yet, looking forward to it - but just wanted to say I commend/thank you for your continuing efforts to make more titles compatible with all Atari's! 1 Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 7, 2020 Author Share Posted October 7, 2020 1 hour ago, Wrathchild said: with Spiky Harold, you need to change the music timings and should adjust colour change values to NTSC, e.g. at $60CC -> $6121 looks to be a table used by lots of things, e.g. DLIs, to set colours. Do you know where I can get a conversion table for PAL/NTSC colours? I mean, the closest ones. Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted October 7, 2020 Share Posted October 7, 2020 You can get away with a simple translation most of the time. Here you see PAL on the left and NTSC on the right. So for $0x (black/grey/white hue), leave this alone. For $1x thru $Ex, add $10, e.g. $36 becomes $46. For $Fx, translate those to $2x (i.e. $1x and $Fx are the same and $1x becomes $2x) So a quick check, in Altirra I converted instances of 0c 76 36 using: Altirra> e 60D7 0c 86 46 Altirra> e 60E0 0c 86 46 Altirra> e 60E6 0c 86 46 Altirra> e 60EF 0c 86 46 Altirra> e 60F5 0c 86 46 Altirra> e 6101 0c 86 46 Altirra> e 6107 0c 86 46 Altirra> e 610D 0c 86 46 Altirra> e 6116 0c 86 46 Altirra> e 611C 0c 86 46 Altirra> e 611F 0c 86 46 Original PAL NTSC v2 NTSC patched So applying that to the full table can be done and, for example, a single XEX produced that detects PAL or NTSC and adjusts the table after the game has loaded and before being run. 4 Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 7, 2020 Author Share Posted October 7, 2020 Ok, following your tips, I attach a new version that adjusts the colors according if it has a GTIA PAL or NTSC. I tried to make a generalized routine to convert any value to the NTSC equivalent stored in A, and then writing a second routine that converts all the addresses we want. Hope it helps for further fixes. Spiky Harold NTSC v3.xex 2 1 Quote Link to comment Share on other sites More sharing options...
abbotkinneydude Posted October 8, 2020 Share Posted October 8, 2020 @Wrathchild I did look on Google Images but couldn't find a SECAM color chart for the XL/XE Secam models. Do you know of any? The majority of the SECAM units don't have a Sophia installed and they are limited to 120 colors. Having a NTSC -> PAL -> SECAM color chart would be worthwhile for SECAM users who would like to tweak the colors of certain programs the way Wilheim did above with his PAL to NTSC conversions. Quote Link to comment Share on other sites More sharing options...
tjlazer Posted October 8, 2020 Share Posted October 8, 2020 Nice! Love NTSC fixes!!!! Strange on how the original PAL version had pink dirt! Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted October 8, 2020 Share Posted October 8, 2020 don't rub our noses in it that we didn't get a good red Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 8, 2020 Author Share Posted October 8, 2020 (edited) Thank you for your support! That kind of things encourage me to give my two cents on this scene. New version (v4). Has the following new features: - NTSC and PAL timers adjusted. Now they behave similar on the speed. - Had to sacrifice the DMA turning off when changing the screen. That is because the VB interrupts are now on a DLI. So, from time to time, when you change the screen it hangs up. Any workaround for this? Hope you like it. Enjoy! Spiky Harold NTSC v4.xex Edited October 8, 2020 by Wilheim 1 Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 8, 2020 Author Share Posted October 8, 2020 Just in the moment I wrote the previous post, I had an epiphany and figure it out how to maintain the blank screen without hanging it out. So, here's the v5 version. Spiky Harold NTSC v5.xex 1 1 Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 8, 2020 Author Share Posted October 8, 2020 I just received a report of a hang out because there are screens with more than one DLI. Now it's fixed. New version v6. Spiky Harold NTSC v6.xex Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 9, 2020 Author Share Posted October 9, 2020 New version: - Improved initialization screen. It doesn't show garbage. - Improved intro, erasing a "Spiky ghost" that appears from time to time. - Compressed with Exomizer. Spiky Harold NTSC v8 comprimido.xex 1 Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 9, 2020 Author Share Posted October 9, 2020 (edited) Oops, in PAL doesn't turn it off when changing the screen. Fixed: Spiky Harold NTSC v9 comprimido.xex Edited October 9, 2020 by Wilheim Quote Link to comment Share on other sites More sharing options...
tjlazer Posted October 9, 2020 Share Posted October 9, 2020 Thanks, can you do one with no compression? Loads faster Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted October 9, 2020 Share Posted October 9, 2020 (edited) Compression versions are typically generated when the binary parts load over DOS memory area or the page which a cartridge's binary loader code is situated, typically $700. So the compressed binary loads above this area and decrypts over the DOS or bootstrapper as that is no longer needed and control then passed to the now-in-place original. So in this case an uncompressed binary is mostly good for emulation use only. Edited October 9, 2020 by Wrathchild Quote Link to comment Share on other sites More sharing options...
tjlazer Posted October 11, 2020 Share Posted October 11, 2020 Good for Side 2 and Ultimate Cart! I use those for instant loading. Quote Link to comment Share on other sites More sharing options...
Wilheim Posted October 11, 2020 Author Share Posted October 11, 2020 7 hours ago, tjlazer said: Good for Side 2 and Ultimate Cart! I use those for instant loading. Ok. Spiky Harold NTSC v9.xex 1 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.