Rev 8168 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8168 | Rev 8236 | ||
---|---|---|---|
1 | Set NAME=template |
1 | Set NAME=template |
2 | Set BCC_DIR=..\..\..\bcc32 |
2 | Set BCC_DIR=..\..\..\bcc32 |
3 | kos32-bcc -S -v- -R- -6 -a4 -O2 -Og -Oi -Ov -OS -k- -D__KOLIBRI__ -I..\..\..\bcc32\include %NAME%.cpp |
3 | kos32-bcc -S -v- -R- -6 -a4 -O2 -Og -Oi -Ov -OS -k- -D__KOLIBRI__ -I..\..\..\bcc32\include %NAME%.cpp |
4 | 4 | ||
5 | echo STACKSIZE equ 102400> kos_make.inc |
5 | echo STACKSIZE equ 8192> kos_make.inc |
6 | echo HEAPSIZE equ 102400>> kos_make.inc |
6 | echo HEAPSIZE equ 0>> kos_make.inc |
7 | echo include "%BCC_DIR%\include\kos_start.inc">> kos_make.inc |
7 | echo include "%BCC_DIR%\include\kos_start.inc">> kos_make.inc |
8 | echo include "%BCC_DIR%\include\kos_func.inc">> kos_make.inc |
8 | echo include "%BCC_DIR%\include\kos_func.inc">> kos_make.inc |
9 | echo include "%BCC_DIR%\include\kos_heap.inc">> kos_make.inc |
9 | echo include "%BCC_DIR%\include\kos_heap.inc">> kos_make.inc |
10 | 10 | ||
11 | echo include "kos_make.inc" > f_%NAME%.asm |
11 | echo include "kos_make.inc" > f_%NAME%.asm |
12 | t2fasm < %NAME%.asm >> f_%NAME%.asm |
12 | t2fasm < %NAME%.asm >> f_%NAME%.asm |
13 | fasm f_%NAME%.asm %NAME%.kex |
13 | fasm f_%NAME%.asm %NAME%.kex |
14 | if exist %NAME%.kex kpack %NAME%.kex |
14 | if exist %NAME%.kex kpack %NAME%.kex |
15 | if exist %NAME%.kex del kos_make.inc |
15 | if exist %NAME%.kex del kos_make.inc |
16 | pause> |
16 | pause> |