Skip to content
Clément Gallet edited this page Mar 23, 2015 · 1 revision
  • Jump inside the Setzer's Slot rigging function, inside reel 2 code exactly
  • Does not seem to break the stack
$C1/8013 CD 4B 61    CMP $614B  [$00:614B]   
$C1/8016 F0 0A       BEQ $0A    [$8022]      
$C1/8018 AD 4D 61    LDA $614D  [$00:614D]   
$C1/801B F0 05       BEQ $05    [$8022]      
$C1/801D CE 4D 61    DEC $614D  [$00:614D]   
$C1/8020 80 03       BRA $03    [$8025]      
$C1/8022 EE 60 7B    INC $7B60  [$00:7B60]   
$C1/8025 AD 61 7B    LDA $7B61  [$00:7B61]   
$C1/8028 D0 49       BNE $49    [$8073]      
$C1/802A AD 5E 7B    LDA $7B5E  [$00:7B5E]   
$C1/802D 38          SEC                     
$C1/802E E9 04       SBC #$04                
$C1/8030 8D 5E 7B    STA $7B5E  [$00:7B5E]   
$C1/8033 AD 64 7B    LDA $7B64  [$00:7B64]   
$C1/8036 F0 3B       BEQ $3B    [$8073]      
$C1/8038 AD 5E 7B    LDA $7B5E  [$00:7B5E]   
$C1/803B 29 0F       AND #$0F                
$C1/803D D0 34       BNE $34    [$8073]      
$C1/803F AD 4C 61    LDA $614C  [$00:614C]   
$C1/8042 C9 FF       CMP #$FF                
$C1/8044 F0 2A       BEQ $2A    [$8070]      
$C1/8046 29 80       AND #$80                
$C1/8048 D0 15       BNE $15    [$805F]      
$C1/804A AD 5E 7B    LDA $7B5E  [$00:7B5E]   
$C1/804D 20 96 7E    JSR $7E96  [$C5:7E96]   
$C1/8050 CD 4C 61    CMP $614C  [$00:614C]   
$C1/8053 F0 1B       BEQ $1B    [$8070]      
$C1/8055 AD 4D 61    LDA $614D  [$00:614D]   
$C1/8058 F0 16       BEQ $16    [$8070]      
$C1/805A CE 4D 61    DEC $614D  [$00:614D]   
$C1/805D 80 14       BRA $14    [$8073]      
$C1/805F AD 5E 7B    LDA $7B5E  [$00:7B5E]   
$C1/8062 20 96 7E    JSR $7E96  [$C5:7E96]   
$C1/8065 85 36       STA $36    [$00:1336]   
$C1/8067 AD 4C 61    LDA $614C  [$00:614C]   
$C1/806A 29 7F       AND #$7F                
$C1/806C C5 36       CMP $36    [$00:1336]   
$C1/806E F0 03       BEQ $03    [$8073]      
$C1/8070 EE 61 7B    INC $7B61  [$00:7B61]   
$C1/8073 60          RTS                     
Clone this wiki locally