File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ set extra=
17
17
set opt = %1
18
18
if " %opt% " == " -h" call :usage & exit /b
19
19
if " %opt:~0 ,1 % " == " -" set opts = %opts% %~1 & goto :nextarg
20
- if /l " %~x1 " == " .asm" set extra = %extra% %~1 & goto :nextarg
21
- if /l " %~x1 " == " .o" set extra = %extra% %~1 & goto :nextarg
20
+ if /i " %~x1 " == " .asm" set extra = %extra% %~1 & goto :nextarg
21
+ if /i " %~x1 " == " .o" set extra = %extra% %~1 & goto :nextarg
22
22
if not " %prog% " == " " call :error specify only one basic file & exit /b
23
23
set prog = %~nx1
24
24
set basfile = %~dpnx1
@@ -39,7 +39,7 @@ if "%basfile%"=="%xexfile%" call :error input file '%prog%' same as XEX file & e
39
39
if " %basfile% " == " %lblfile% " call :error input file '%prog% ' same as LBL file & exit /b
40
40
41
41
echo Compiling '%prog% ' to assembler.
42
- %fbpath%%fb% %* %asmfile% || exit /b %errorlevel%
42
+ %fbpath%%fb% %opts% %basfile% %asmfile% || exit /b %errorlevel%
43
43
echo Assembling '%asmfile%%extra% ' to XEX file.
44
44
%cc65% cl65 -tatari -C %fbpath% fastbasic.cfg -g %asmfile% %extra% -o %xexfile% -Ln %lblfile% %fbpath%%fb% .lib || exit /b %errorlevel%
45
45
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ set extra=
17
17
set opt = %1
18
18
if " %opt% " == " -h" call :usage & exit /b
19
19
if " %opt:~0 ,1 % " == " -" set opts = %opts% %~1 & goto :nextarg
20
- if /l " %~x1 " == " .asm" set extra = %extra% %~1 & goto :nextarg
21
- if /l " %~x1 " == " .o" set extra = %extra% %~1 & goto :nextarg
20
+ if /i " %~x1 " == " .asm" set extra = %extra% %~1 & goto :nextarg
21
+ if /i " %~x1 " == " .o" set extra = %extra% %~1 & goto :nextarg
22
22
if not " %prog% " == " " call :error specify only one basic file & exit /b
23
23
set prog = %~nx1
24
24
set basfile = %~dpnx1
@@ -39,7 +39,7 @@ if "%basfile%"=="%xexfile%" call :error input file '%prog%' same as XEX file & e
39
39
if " %basfile% " == " %lblfile% " call :error input file '%prog% ' same as LBL file & exit /b
40
40
41
41
echo Compiling '%prog% ' to assembler.
42
- %fbpath%%fb% %* %asmfile% || exit /b %errorlevel%
42
+ %fbpath%%fb% %opts% %basfile% %asmfile% || exit /b %errorlevel%
43
43
echo Assembling '%asmfile%%extra% ' to XEX file.
44
44
%cc65% cl65 -tatari -C %fbpath% fastbasic.cfg -g %asmfile% %extra% -o %xexfile% -Ln %lblfile% %fbpath%%fb% .lib || exit /b %errorlevel%
45
45
You can’t perform that action at this time.
0 commit comments