Code: Select all
ld a,a
I ask this because some API macros look something like this:
Code: Select all
#define sine(val) ld a,val \ call sine
Code: Select all
ld a,5
sine(a)
Code: Select all
ld a,a
Code: Select all
#define sine(val) ld a,val \ call sine
Code: Select all
ld a,5
sine(a)
Code: Select all
ld a,a
Code: Select all
#define sine(val) .optimiseon \ ld a,val \ .optimiseoff \ call sine
And it would be TASM incompatible...benryves wrote:However, this is really asking for trouble.
Code: Select all
{where you installed Latenite}\Compile\Brass.exe
Code: Select all
TASM -80 -i -b "%SOURCE_FILE%" "%PROJECT_DIR%/bin/%SOURCE_FILE_NOEXT%.bin" | TASMERR /o >> "%ERROR_LOG%"
Code: Select all
REM TASM -80 -i -b "%SOURCE_FILE%" "%PROJECT_DIR%/bin/%SOURCE_FILE_NOEXT%.bin" | TASMERR /o >> "%ERROR_LOG%"
Code: Select all
BRASS "%SOURCE_FILE%" "%PROJECT_DIR%/bin/%SOURCE_FILE_NOEXT%.bin" -x -o
I tend to disagree :Pbenryves wrote:First, update to the latest build of Brass. Earlier builds are not Latenite-friendly.
Is this Brass, or is this the build script? Try REMming out any DELs, as that might be the cause... I get File Not Found errors, but these are not from Brass, rather from a DEL command in the build script not working.Timendus wrote:...the new Brass still gives me the same "file not found" errors, but it still compiles properly)
If you'll be rewriting the build scripts anyway, you could easily use the integrated linker without make the source TASM incompatible by having the build script add the neccessary lines to the source in a temporary file, and compile that.benryves wrote:It would be even easier if we used the integrated linker, but that requires more work from you and would render the source code non-TASM compatible. I don't think we're ready for a full switch just yet!
Hmm, I sort of wanted to get away from the temporary file thing... the idea of Brass would be that it supported enough of TASM's directives so that old TASM users would not lose anything by switching, but that it offered enough new features to be worth the swap.Timendus wrote:If you'll be rewriting the build scripts anyway, you could easily use the integrated linker without make the source TASM incompatible by having the build script add the neccessary lines to the source in a temporary file, and compile that.