Users browsing this thread: 1 Guest(s)
I need help with a 'mystery' code located in my project's F0 bank

#2
Posts: 48
Threads: 7
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 0
Status
None
Hello. When I disassemble the code, it looks like this:

Code:
m=false,x=false

start=F0/3600
 REP #$20      
 LDA $0000,Y  
 AND #$00FF    
 ASL          
 TAX          
 LDA $F06300,X
 TAX          
 LDY #$10      
 BRK          
 LDA #$0000    
 SEP #$20      

label_3617
 LDA $F00000,X
 BEQ label_3626
 STA $2180    
 INX          
 DEY          
 BEQ label_3632
 BRA label_3617

label_3626
 INY          
 DEY          
 BEQ label_3632
 LDA #$FF      

label_362C
 STA $2180    
 DEY          
 BNE label_362C

label_3632
 STZ $2180    
 RTL          

end=F0/3636

The RAM address $2180 has to do with skills being learned. From the wiki:


Quote:$208E-$21C9 Character Spell Lists (4 * 79 items [1 esper + 54 spells + 24 lores], 4 bytes each)

Also, it seems you have two tables containing values, one at F0/0000 and one at F0/6300. That's the preliminary information I can provide without my first coffee in the morning.
  Find
Quote  



Messages In This Thread
RE: I need help with a 'mystery' code located in my project's F0 bank - by NPCnextdoor - 08-08-2021, 08:41 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite