First post, by Scorpion Illuminati
I am using the following batch file to assemble my game:
@echo offrem save the old path@echo onSET oldpath=%path%@echo offrem set the path to the working folder, otherwise compilation will fail@echo onpath c:\;%path%@echo offrem delete old assembled binary if it exists@echo onif exist ..\..\bin\emu\rom.bin del ..\..\bin\emu\rom.bin@echo offrem /j set include search directoryrem /p pure binaryrem /k enable if assembler directivesrem /o enable optimisationsrem ow+ optimise absolute long addressing@echo on..\..\asm\dosbox\snasm68k.exe /j ..\..\src\ /p /k /o op+,os+,ow+,oz+,oaq+,osq+,omq+ ..\..\src\source.asm,..\..\bin\emu\rom.bin,..\..\bin\emu\rom,..\..\bin\emu\rom > ..\..\logs\emu.log@echo offrem restore the old path@echo onpath %oldpath%pause
However when i check emu.log i get:
SNASM68K, version 2.02Ex, Mar 24 1995, 15:22:35 (c) 1993-95 Cross Products Ltd. All Rights Reserved Warning : Could not open lis […]
SNASM68K, version 2.02Ex, Mar 24 1995, 15:22:35
(c) 1993-95 Cross Products Ltd. All Rights Reserved
Warning : Could not open list file '..\..\bin\'
*********************
* Binary Statistics *
******************************************
* Rom Usage *
*********************
43554 bytes used
4150238 bytes left*********************
* Ram Usage *
*********************
772 bytes of ram used
64763 bytes of ram left
This refers to the last path before the < redirect for the log file. However when I remove the
/o op+,os+,ow+,oz+,oaq+,osq+,omq+
portion it seems to no longer cut off the path to the list file. I tried concatinating the string using & like so:
@echo offrem save the old path@echo onSET oldpath=%path%@echo offrem set the path to the working folder, otherwise compilation will fail@echo onpath c:\;%path%@echo offrem delete old assembled binary if it exists@echo onif exist ..\..\bin\emu\rom.bin del ..\..\bin\emu\rom.bin@echo offrem /j set include search directoryrem /p pure binaryrem /k enable if assembler directivesrem /o enable optimisationsrem ow+ optimise absolute long addressing@echo on..\..\asm\dosbox\snasm68k.exe /j ..\..\src\ /p /k /o op+,os+,ow+,oz+,oaq+,osq+,omq+ &..\..\src\source.asm,..\..\bin\emu\rom.bin,..\..\bin\emu\rom,..\..\bin\emu\rom > ..\..\logs\emu.log@echo offrem restore the old path@echo onpath %oldpath%pause
but it seems to just ignore the second part altogether and treat the & as the source file. Any assistance in this matter would be greatly appreciated.
Sincerely,
Scorpion Illuminati


