IsoFrieze / DiztinGUIsh

A Super NES ROM Disassembler
GNU General Public License v3.0
270 stars 26 forks source link

Problem with ASM! #57

Closed iTom33ro closed 3 years ago

iTom33ro commented 3 years ago

I tried to disassemble some games, but the ASM look like this:

                       lorom                                ;      |        |      ;  
                                                            ;      |        |      ;  
                                                            ;      |        |      ;  
                       ORG $808000                          ;      |        |      ;  
                                                            ;      |        |      ;  
                       db $00,$00,$00,$00,$00,$00,$00,$00   ;808000|        |      ;  
                       db $00,$00,$A3,$02,$85,$04,$A3,$01   ;808008|        |      ;  
                       db $85,$03,$18,$69,$03,$00,$83,$01   ;808010|        |000003;  
                       db $A0,$01,$00,$B7,$03,$85,$00,$C8   ;808018|        |      ;  
                       db $B7,$03,$85,$01,$20,$28,$80,$6B   ;808020|        |000003;  
                       db $AF,$08,$80,$80,$F0,$01,$60,$08   ;808028|        |808008;  
                       db $8B,$C2,$30,$A9,$FF,$FF,$8F,$17   ;808030|        |      ;  
                       db $06,$00,$E2,$20,$C2,$10,$A9,$FF   ;808038|        |000000;  
                       db $8F,$40,$21,$00,$A4,$00,$A5,$02   ;808040|        |002140;  
                       db $48,$AB,$C2,$30,$20,$59,$80,$A9   ;808048|        |      ;  
                       db $00,$00,$8F,$17,$06,$00,$AB,$28   ;808050|        |      ;  
                       db $60,$08,$C2,$30,$A9,$00,$30,$8F   ;808058|        |      ;  
                       db $41,$06,$00,$A9,$AA,$BB,$CF,$40   ;808060|        |000006;  
                       db $21,$00,$F0,$0D,$AF,$41,$06,$00   ;808068|        |000000;  
                       db $3A,$8F,$41,$06,$00,$D0,$EC,$80   ;808070|        |      ;  
                       db $FE,$E2,$20,$A9,$CC,$80,$2F,$B9   ;808078|        |0020E2;  
                       db $00,$00,$20,$03,$81,$EB,$A9,$00   ;808080|        |      ;  
                       db $80,$0F,$EB,$B9,$00,$00,$20,$03   ;808088|        |808099;  
                       db $81,$EB,$CF,$40,$21,$00,$D0,$FA   ;808090|        |0000EB;  
                       db $1A,$C2,$20,$8F,$40,$21,$00,$E2   ;808098|        |      ;  

I am doing something wrong?

binary1230 commented 3 years ago

Hey, Have you marked any bytes as code or data? This assembly output would be what it looks like if nothing has been marked when you first open a project (in the app it would look like all the rows were gray).

Try using the Step function to walk through some code, see if the exporter works for you after you do that. Rows that are white were successfully marked.

If it's some kind of bug, I'd be interested in seeing a screenshot of the app

If you're not sure, check out this tutorial video, it's for a slightly older version but the general workflow is basically the same https://youtu.be/gAQZP34xH9M

binary1230 commented 3 years ago

I'm going to close this because it seems like Diz is functioning normally here (i.e. new projects won't generate assembly until something is marked).

If you feel that's not the case though, feel free to re-open and we can figure it out. Thanks!