Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Issue Returning from a JML
  
User name:
Password:
Reply:
 

UserPost
HabsoluteFate
Posts: 153/179
Originally posted by FuSoYa
Er, JML != JSL.


you'd think i'd know that having written what i have written so far...doh

Thanks i'll check it out tomorrow sometime
FuSoYa
Posts: 185/255
Er, JML != JSL.
HabsoluteFate
Posts: 152/179
Hello,
I'm having an issue returning from a Jump Long. For some reason instead of returning to the proper address following the Jump it returns to some random address. I'm assuming it is some sort of issue with the stack or related but can't figure out what might be wrong. Here is the code in question:

REP #$20
LDA #$0000
SEP #$20
LDA $19
ASL A
ASL A
ASL A
ASL A
REP #$20
STA $0D82
LDA #$0000
SEP #$20
LDA $0DB3
REP #$20
ASL A
ASL A
ASL A
ASL A
ASL A
ASL A
ASL A
ASL A
ASL A
ADC $0D82
STA $0D82
LDA #$F7D4
ADC $0D82
STA $0D82
SEP #$20
RTL


Any help would be apreciated. for those wondering thats the new palette loading code
And yes it probably could be made to be faster but surprisingly enough i'm learning as i go here Any suggestions to make this quicker would be apreciated although the main thing is to get it to work right now
Acmlm's Board - I2 Archive - Super Mario World hacking - Issue Returning from a JML


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.