Amstrad CPC ASM Export Improvements#72
Conversation
073a0e8 to
79275b4
Compare
|
Thanks for taking some time to improve the cpc assembler exporter. Give me some time to look into this. My initial thoughts are the ProcessLabelsOutsideExportedRange change looks fine but I'm not sure about the bExportAsmShowAddresses change. Because it's in the shared assembler export code I would need to check with the owner of the repository. I thought about adding a similar feature in my PCE branch but then I found the .list feature of the assembler I am using (PCEAS). It outputs a listing file that lists the memory address on each line. Looks like sjasmplus has a similar feature. Would that solve your problem? |
|
No worries. Yes if another tool can do the address listing then that's probably a better way. I'll rip that stuff out then. I've not yet got around to messing around sjasmplus but will have a look as well. Cheers |
|
@Colourclash I have removed that option now. Cheers for the sjasmplus tip. I installed it and confirmed that I can just run |
Amstrad CPC ASM Export Improvements
CPC-specific changes
ProcessLabelsOutsideExportedRange— bank-grouped header commentsLabels outside the exported range are now grouped by 16K block with a comment identifying the actual mapped bank and whether it contains screen memory. The original code also had a latent null-pointer bug (
pLabelInfowas never checked before use) which is fixed here.CPCEmu::Init—ExportStartAddress/ExportEndAddressnow explicitly initialised to the full address space on startup.