Skip to content
Clément Gallet edited this page Mar 23, 2015 · 2 revisions
  • I don't know anything about this, except that it is using the cursor position ($88DF)
  • Does not seem to mess up the stack
$C1/7ADE 1F BD DF 88 ORA $88DFBD,x
$C1/7AE2 85 36       STA $36    [$00:1336]   
$C1/7AE4 A9 01       LDA #$01                
$C1/7AE6 9D DF 88    STA $88DF,x[$00:88E3]   
$C1/7AE9 20 E7 79    JSR $79E7  [$C5:79E7]   
$C1/7AEC 90 07       BCC $07    [$7AF5]      
$C1/7AEE A5 36       LDA $36    [$00:1336]   
$C1/7AF0 9D DF 88    STA $88DF,x[$00:88E3]   
$C1/7AF3 80 09       BRA $09    [$7AFE]      
$C1/7AF5 BD DF 88    LDA $88DF,x[$00:88E3]   
$C1/7AF8 C5 36       CMP $36    [$00:1336]   
$C1/7AFA F0 02       BEQ $02    [$7AFE]      
$C1/7AFC E6 94       INC $94    [$00:1394]   
$C1/7AFE A5 05       LDA $05    [$00:1305]   
$C1/7B00 29 01       AND #$01                
$C1/7B02 F0 1F       BEQ $1F    [$7B23]      
$C1/7B04 BD DF 88    LDA $88DF,x[$00:88E3]   
$C1/7B07 85 36       STA $36    [$00:1336]   
$C1/7B09 A9 02       LDA #$02                
$C1/7B0B 9D DF 88    STA $88DF,x[$00:88E3]   
$C1/7B0E 20 E7 79    JSR $79E7  [$C5:79E7]   
$C1/7B11 90 07       BCC $07    [$7B1A]      
$C1/7B13 A5 36       LDA $36    [$00:1336]   
$C1/7B15 9D DF 88    STA $88DF,x[$00:88E3]   
$C1/7B18 80 09       BRA $09    [$7B23]      
$C1/7B1A BD DF 88    LDA $88DF,x[$00:88E3]   
$C1/7B1D C5 36       CMP $36    [$00:1336]   
$C1/7B1F F0 02       BEQ $02    [$7B23]      
$C1/7B21 E6 94       INC $94    [$00:1394]   
$C1/7B23 A5 04       LDA $04    [$00:1304]   
$C1/7B25 29 30       AND #$30                
$C1/7B27 C9 20       CMP #$20                
$C1/7B29 D0 08       BNE $08    [$7B33]      
$C1/7B2B E6 94       INC $94    [$00:1394]   
$C1/7B2D 20 42 7C    JSR $7C42  [$C5:7C42]   
$C1/7B30 4C 15 56    JMP $5615  [$C5:5615]   
$C1/7B33 C9 10       CMP #$10                
$C1/7B35 D0 08       BNE $08    [$7B3F]      
$C1/7B37 E6 94       INC $94    [$00:1394]   
$C1/7B39 20 42 7C    JSR $7C42  [$C5:7C42]   
$C1/7B3C 4C 1F 56    JMP $561F  [$C5:561F]   
$C1/7B3F A5 04       LDA $04    [$00:1304]   
$C1/7B41 10 08       BPL $08    [$7B4B]      
$C1/7B43 E6 96       INC $96    [$00:1396]   
$C1/7B45 EE 41 2F    INC $2F41  [$00:2F41]   
$C1/7B48 4C 61 7C    JMP $7C61  [$C5:7C61]   
$C1/7B4B AE 9A 62    LDX $629A  [$00:629A]   
$C1/7B4E BD DF 88    LDA $88DF,x[$00:88E3]   
$C1/7B51 0A          ASL A                   
$C1/7B52 AA          TAX                     
$C1/7B53 BF DF 79 C1 LDA $C179DF,x[$C1:79E3] 
$C1/7B57 8D B4 88    STA $88B4  [$00:88B4]   
$C1/7B5A BF E0 79 C1 LDA $C179E0,x[$C1:79E4] 
$C1/7B5E 8D B5 88    STA $88B5  [$00:88B5]   
$C1/7B61 A9 01       LDA #$01                
$C1/7B63 8D B3 88    STA $88B3  [$00:88B3]   
$C1/7B66 60          RTS                     
Clone this wiki locally