It would then provide options like this for disability;
Code: Select all
rts
lda #$46
Code: Select all
rts
lda #$46
It would also allow you to add comments to what will be the eventual disassembly.
Most importantly, you would be able to define labels, equates (including groups of equates that function as flags), and then inside the code, you can make adjustments like:
Code: Select all
.byte $56
.byte $87
.byte $9A
.byte $BB
Code: Select all
.byte $56, $87, $9A, $BB
Code: Select all
lda $8765
.byte $A8
Code: Select all
lda DoStuff
.byte flg3 | $flg4
Now, what are some of the best ways to implement this? Should I make use of a toolbar? Should I use a list item to store every line (including the empty spaces, comments, equates, and label names), or perhaps a more generic label that calculates where you're at now in the code?
I'm working on the best design to allow you to do that, to decide exactly how the disassembly, and I wonder if there is any advice anyone could give?
I should design the interface before coding, right?