I'm trying to use BeebASM to build a .ssd image with various files, and I'm running into a problem trying to include a file.
Basically, the Exile_main.asm file I'm trying to include can generate two different binary files, depending on a specified option. IF SRAM = 0 then ExileB is created and if SRAM = 1 then ExileMC is created. I want both these files on the disc, so I've tried doing the following, which works up to the point where I try to change the value of SRAM from 0 to 1. It fails because SRAM is already set:
I've tried putting curly braces around the SRAM / include statements, but BeebASM complains about that. There's probably a much simpler way to do this. Any pointers?
Basically, the Exile_main.asm file I'm trying to include can generate two different binary files, depending on a specified option. IF SRAM = 0 then ExileB is created and if SRAM = 1 then ExileMC is created. I want both these files on the disc, so I've tried doing the following, which works up to the point where I try to change the value of SRAM from 0 to 1. It fails because SRAM is already set:
Code:
include "ExileL_main.asm"clear 0, &ffffinclude "ExileSR_main.asm"clear 0, &fffforg &5800incbin"screen.dat"save "EXILE", &5800, &8000clear 0, &ffffSRAM = 0include "Exile_main.asm"clear 0, &ffffSRAM = 1include "Exile_main.asm"
Statistics: Posted by KenLowe — Sun Jan 26, 2025 8:10 pm