Community Tephra Tweaking
Gotcha, I've been looking at my sub routines and think I may have found a bug.
I was told by developers that if a sub routine didn't call any other sub routine it was safe to simply ignore the PC and PR register stack. I'm thinking this is probably incorrect if an interrupt happens and disrupts the PR PC stack its likely it could end up in unintended code at least for a little bit.
Its easy enough to patch this sub routine so I'm going to post a rom here and a table to just copy and it should be fixed.
I'll be curious to see if this change has any difference in the startup.
Add this to your xml to see the function code:
Rom Image:
Couldn't actually get a rom to zip enough to post here so its upload site time i guess.
http://www.megaupload.com/?d=HWFRW0KW
I was told by developers that if a sub routine didn't call any other sub routine it was safe to simply ignore the PC and PR register stack. I'm thinking this is probably incorrect if an interrupt happens and disrupts the PR PC stack its likely it could end up in unintended code at least for a little bit.
Its easy enough to patch this sub routine so I'm going to post a rom here and a table to just copy and it should be fixed.
I'll be curious to see if this change has any difference in the startup.
Add this to your xml to see the function code:
PHP Code:
<table name="Move_Table_Function" address="36cf0" type="3D" level="1" scaling="Hex16">
<table name="x" type="Static X Axis" elements="4">
</table>
<table name="y" type="Static Y Axis" elements="8">
</table>
</table>
Couldn't actually get a rom to zip enough to post here so its upload site time i guess.
http://www.megaupload.com/?d=HWFRW0KW
Great news!! i really hope this will fix things up! i cant do anything until i get home, but when i do ill paste it into the rom and pray! Do i put this code anywhere in the xml? or should it be in a cirtain section, and the ROM that you hosted, does that already have the code in it or no? cant wait to try this spike!!
But yeah that rom has the patch in it so just copy it from that rom to your old one.
XML can go anywhere just has be in between the xml tags for <rom></rom> I'd put it at the bottom it will create a new table at the bottom called "misc"
Don't get your hopes up too high lol!
But yeah that rom has the patch in it so just copy it from that rom to your old one.
XML can go anywhere just has be in between the xml tags for <rom></rom> I'd put it at the bottom it will create a new table at the bottom called "misc"
But yeah that rom has the patch in it so just copy it from that rom to your old one.
XML can go anywhere just has be in between the xml tags for <rom></rom> I'd put it at the bottom it will create a new table at the bottom called "misc"
Last edited by Mitsu.kid.02; Jan 25, 2011 at 11:30 AM.
PR is the procedure register and the PC is the program counter. First is the return address that was called and I think this is really the issue. I'm thinking the RTS call to return isn't getting the right return address and its branched to some odd place.
The PC is the program counter and is like a stack to know how deep in the program you really are.
The PC is the program counter and is like a stack to know how deep in the program you really are.
PR is the procedure register and the PC is the program counter. First is the return address that was called and I think this is really the issue. I'm thinking the RTS call to return isn't getting the right return address and its branched to some odd place.
The PC is the program counter and is like a stack to know how deep in the program you really are.
The PC is the program counter and is like a stack to know how deep in the program you really are.
So the attemped fix, wasnt a fix? awww man! hmm.. so are your HOT starts still tough? You said it started right up, was it cold or hot?
it was cold when i tried it and yea they still are tough i just got used to timing the push of the thorttle and turning the car on with my scaling low to get it going at warm starts
The code needs a 0x9 at the end of it after the 0xB
Link could you copy a 0x9 into the FFFF portion the very first one rom coming up shortly.


