forked from pweingar/BASIC816
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_fmx.bat
30 lines (21 loc) · 935 Bytes
/
make_fmx.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off
REM Generate a version file
REM python genver.py
REM The name portion of the top source file and all generated files
set SOURCE=basic816
REM The location of 64TASS
set TASSHOME=d:\64tass\64tass-1.55.2200
REM 1 = C64 with SuperCPU, 2 = C256
set SYSTEM=2
REM C256 Foenix SKU: 1 = FMX/U+, 2 = User
set C256_SKU=1
REM 0 = Interactive, 1 = Generate Unit Tests
set UNITTEST=0
REM 0 = No tracing information, 1 = Include subroutine names, 2 = Generate trace messages
set TRACE_LEVEL=0
set OPTS=-D SYSTEM=%SYSTEM% -D C256_SKU=%C256_SKU% -D UARTSUPPORT=%UART% -D UNITTEST=%UNITTEST% -D TRACE_LEVEL=%TRACE_LEVEL% --long-address --flat -b
set DEST=--m65816 --intel-hex -o %SOURCE%_3A0000.hex
set AUXFILES=--list=%SOURCE%_3A0000.lst --labels=%SOURCE%_3A0000.lbl
set DESTBIN=--m65816 -b -o %SOURCE%_3A0000.bin
%TASSHOME%\64tass %OPTS% %DEST% %AUXFILES% src\%SOURCE%.s
%TASSHOME%\64tass %OPTS% %DESTBIN% %AUXFILES% src\%SOURCE%.s