« on: September 30, 2014, 04:25:24 pm »
The thing is that if you deliberately made it not work on hardware, you risk making it incompatible with future emulators.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I can support this in cases of the SNES stuff where was it people could assume they had an infinite stack for some video stuff or something. Generally I am a fan of emulation and would consider hardware support an admirable goal to have but no great harm in scratching it.The "infinite stack" thing you speak of might just be referring to the SMW music patcher bug. I'm guessing many that used it weren't even aware it was a bug as by the time it was known, it was already in use by a lot of hacks, I believe.
However lines can get a bit blurry, going for the GBA and DS because that is mainly what I know but similar things exist in other consoles.
000004A7: FF 00
00000851: 01 00
0000107A: 02 03
000011EC: 10 D0
00:883C:AD 5A 07 LDA $075A = #$02
00:8840:69 01 ADC #$01 ;fixes it so that lives shown is number of lives remaining (ie. 3 for 3 lives, instead of 2 for 3 lives)
00:8842:C9 0A CMP #$0A
00:8844:90 07 BCC $884D
00:8846:E9 0A SBC #$0A
00:9069:A9 02 LDA #$02 ;in accordance with the above change, sets starting lives to 3 for 3 lives
00:906B:8D 5A 07 STA $075A = #$02
00:91D9:CE 5A 07 DEC $075A = #$02 ;this line subtracts a life
00:91DC:10 0B BPL $91E9 ;change to BNE $91E9: effect that it goes to Game Over when lives = 0, not when negative flag set
Super Mario Bros. 3 has a fun Game Genie code. Fine-tune it and "eliminate" objects that crash.So if there can be anything inside a block, can there be a boat?