AO3 Returned!
2026-11-15 11:42 pmI wouldn't say the weekend was unproductive. I didn't get any writing done, LOL. OK, you got me. AO3 returned so I posted my last Avatar/Backrooms chapter. That counts as writing. yay? :)
Anyway, I finished a dis-assembler. I wrote it in BASIC. Eventually, that will be ported to assembly. Eventually....
So a few days ago I completed a revision to my C64 assembler. That revision added the * 'argument' in order to reference the (current) program counter. It's extremely useful for control flow opcodes like JSR, JMP and the BXXs. With the * at your disposal, you're free to create control structures like do and for loops without wasting labels. That speeds up the assembly process and frees up storage for important labels.
My project is to revise the assembler's source code to take advantage of this. But that's easier said than done. I've got 400+ labels just for these loops. For each of them I have to go through the code and revise the statements with the arguments so they make use of the * and not the label. This will take forever and it's not just the 400+ labels aspect of it. For this to work, hah hah, the * based argument requires correct offsets. Originally, my plan was to use a printout to count the byte offsets by hand. Welp, I did that for a couple of loops and I hated every moment of it. That's why I created this dis-assembler - it's going to do this work for me - it's going to compute the correct offset for each and every BXX opcode it finds. The JMPs are few and those are trivial to do with a printout. The JSRs are going to keep the labels as labels will be retained for routines (and variables). It's still tedious....
When I'm done with that, my next two projects will be a RAM and a BASIC dis-assembler, and to convert all of these to assembly.
And along the way I'll try to get some writing done?
Anyway, I finished a dis-assembler. I wrote it in BASIC. Eventually, that will be ported to assembly. Eventually....
So a few days ago I completed a revision to my C64 assembler. That revision added the * 'argument' in order to reference the (current) program counter. It's extremely useful for control flow opcodes like JSR, JMP and the BXXs. With the * at your disposal, you're free to create control structures like do and for loops without wasting labels. That speeds up the assembly process and frees up storage for important labels.
My project is to revise the assembler's source code to take advantage of this. But that's easier said than done. I've got 400+ labels just for these loops. For each of them I have to go through the code and revise the statements with the arguments so they make use of the * and not the label. This will take forever and it's not just the 400+ labels aspect of it. For this to work, hah hah, the * based argument requires correct offsets. Originally, my plan was to use a printout to count the byte offsets by hand. Welp, I did that for a couple of loops and I hated every moment of it. That's why I created this dis-assembler - it's going to do this work for me - it's going to compute the correct offset for each and every BXX opcode it finds. The JMPs are few and those are trivial to do with a printout. The JSRs are going to keep the labels as labels will be retained for routines (and variables). It's still tedious....
When I'm done with that, my next two projects will be a RAM and a BASIC dis-assembler, and to convert all of these to assembly.
And along the way I'll try to get some writing done?






