I'm offering $10 via PayPal to the first person to figure this out. I tried to figure it out about a year ago and gave up in frustration. I also didn't get very much feedback from those I approached for help. I have attempted it again recently, but have yet to break the ice.
I want to turn off the V-Int entirely and use the H-Int exclusively to handle all interrupts. I have code I have written:
http://www.4shared.c...4F/s2_hint.html
(if download won't work, I can e-mail it.)
The source file replaces the 's2.asm' file from the 2007 disassembly.
It starts at the H_Int label (line 1465) and checks which phase it needs to handle (page interrupt or line interrupt). It works when used as a straight forward replacement for the V-Int, but it gets messy when attempting to handle H-Ints (used when drawing water).
Go to ARZ1 and you'll see immediately how problematic it is. I tracked it in a debugger and it appears the interrupt timing is unstable at times. What I think is happening is something is preventing the interrupts from being triggered on time, resulting in the timer being reloaded from register 10 and thus getting out of sync. As a result of this, the color lines tend to not match with the water at all, will blink repeatedly, and many other quirks. I would like to believe that this is possible, but I have not been able to pull it off correctly.
I'm serious about the money. Please, take a look at this and see if you can figure out what I'm missing here! I am good on my word and will pay the money upon successfully getting this concept working correctly without slow-downs, flickering, etc. I'm not overly concerned with 2P split-screen at the moment. It that's broken, that's fine. It's the water I'm concerned with.
I want to turn off the V-Int entirely and use the H-Int exclusively to handle all interrupts. I have code I have written:
http://www.4shared.c...4F/s2_hint.html
(if download won't work, I can e-mail it.)
The source file replaces the 's2.asm' file from the 2007 disassembly.
It starts at the H_Int label (line 1465) and checks which phase it needs to handle (page interrupt or line interrupt). It works when used as a straight forward replacement for the V-Int, but it gets messy when attempting to handle H-Ints (used when drawing water).
Go to ARZ1 and you'll see immediately how problematic it is. I tracked it in a debugger and it appears the interrupt timing is unstable at times. What I think is happening is something is preventing the interrupts from being triggered on time, resulting in the timer being reloaded from register 10 and thus getting out of sync. As a result of this, the color lines tend to not match with the water at all, will blink repeatedly, and many other quirks. I would like to believe that this is possible, but I have not been able to pull it off correctly.
I'm serious about the money. Please, take a look at this and see if you can figure out what I'm missing here! I am good on my word and will pay the money upon successfully getting this concept working correctly without slow-downs, flickering, etc. I'm not overly concerned with 2P split-screen at the moment. It that's broken, that's fine. It's the water I'm concerned with.
This post has been edited by saxman: 21 November 2013 - 09:19 AM


00