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 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
HabsoluteFate

Red Paratroopa
Level: 23

Posts: 152/179
EXP: 58525
For next: 9198

Since: 03-15-04
From: Ottawa, Ontario, Canada

Since last post: 10 days
Last activity: 2 days
Posted on 04-27-05 12:17 AM Link | Quote
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
FuSoYa
Defender of Relm
Level: 26

Posts: 185/255
EXP: 99529
For next: 2746

Since: 03-15-04
From: Moon

Since last post: 7 days
Last activity: 7 hours
Posted on 04-27-05 12:26 AM Link | Quote
Er, JML != JSL.
HabsoluteFate

Red Paratroopa
Level: 23

Posts: 153/179
EXP: 58525
For next: 9198

Since: 03-15-04
From: Ottawa, Ontario, Canada

Since last post: 10 days
Last activity: 2 days
Posted on 04-27-05 04:16 AM Link | Quote
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
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.014 seconds.