Spider Posted April 18, 2023 Report Share Posted April 18, 2023 (edited) Following from the topic over at Spectrum Computing here about small game changes, here's a rough/ready patch for Manic Miner: Software Projects version: mm_item_sound_SP.tap Bug-Byte version: mm_item_sound_BB.tap As these sit in the 'empty space' area's , its quite possible they could malfunction with third party games however in general there's plenty of space to change the new CALL instruction at 36752 (SP) 36741 (BB) to go somewhere else to make the sound. Needless to say, applying the code against the wrong engine will likely have undesired effects. Source in spoiler: SP: 36752 CALL 37725 37725: 58 115 128 LD A, (32883) 37728: 14 128 LD C, 128 37730: 211 254 OUT (254), A 37732: 238 24 XOR 24 37734: 95 LD E, A 37735: 62 144 LD A, 144 37737: 145 SUB C 37738: 71 LD B, A 37739: 123 LD A, E 37740: 16 254 DJNZ 37740 37742: 13 DEC C 37743: 13 DEC C 37744: 32 240 JR NZ, 37730 37746: 195 9 145 JP 37129 BB: 36741 CALL 37714 37714: 58 115 128 LD A, (32883) 37717: 14 128 LD C, 128 37719: 211 254 OUT (254), A 37721: 238 24 XOR 24 37723: 95 LD E, A 37724: 62 144 LD A, 144 37726: 145 SUB C 37727: 71 LD B, A 37728: 123 LD A, E 37729: 16 254 DJNZ 37729 37731: 13 DEC C 37732: 13 DEC C 37733: 32 240 JR NZ, 37719 37735: 195 254 144 JP 37118 Edited April 19, 2023 by Spider Code updated slightly. Then reverted as the original was correct (the fixed one did not add any points!) and two basic checks added , one to confirm the game code is present and one to perform a basic check that the correct version is present Sendy The Endless, jetsetdanny and IRF 2 1 Quote Link to comment Share on other sites More sharing options...
Sendy The Endless Posted April 21, 2023 Report Share Posted April 21, 2023 That was always a big drawback to me with MM... Not hearing that little "kiss" sound when you get an item. There's nothing like throwing yourself onto a pile of items and hearing that noise 10 times in a row : ))) IRF, jetsetdanny, Spider and 1 other 3 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted April 21, 2023 Author Report Share Posted April 21, 2023 Just now, Sendy The Endless said: That was always a big drawback to me with MM... Not hearing that little "kiss" sound when you get an item. There's nothing like throwing yourself onto a pile of items and hearing that noise 10 times in a row : ))) You're welcome. Some third party versions do this although if I recall they are all based on the Bug-Byte version. My work above is not far off a copy of that. Will rewrite this as a simple assembly routine. I did think about having one Basic one to detect which version but I'd already done the very quick ones above at a request. The assembly will simply detect the version, apply the code and exit as I see it anyway. IRF 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.