-
Notifications
You must be signed in to change notification settings - Fork 0
/
compila.sh
executable file
·20 lines (14 loc) · 914 Bytes
/
compila.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#compile
#/Users/giovanni.pozzobon/Documents/GitHub/llvm-mos-sdk/bin/mos-neo6502-clang -Os -v -fverbose-asm -mcpu=mosw65c02 -D__NEO6502__ -mlto-zp=224 \
#-I /Users/giovanni.pozzobon/Documents/GitHub/llvm-mos-sdk/mos-platform/neo6502/asminc \
#-L /Users/giovanni.pozzobon/Documents/GitHub/llvm-mos-sdk/mos-platform/neo6502/lib \
#-isystem Users/giovanni.pozzobon/Documents/GitHub/llvm-mos-sdk/mos-platform/neo6502/include \
#main.c utility.c api.c quicksort.c sprite.c -o main.neo
#-v -fverbose-asm
# cleanup
rm -f *.o mapper.neo mapper.map {,.temp}
/Users/giovanni.pozzobon/Documents/GitHub/llvm-mos-sdk/bin/mos-neo6502-clang++ -Os main.cpp gui.cpp mouse.cpp console.cpp util.cpp file.cpp graphic.cpp blitter.cpp map.cpp -o mapper.neo
#crete exec mappeer and copy in storage
python3 exec.zip mapper.neo@800 run@800 -o./storage/mapper.neo
# launch emulator
test -f mapper.neo && ./neo mapper.neo@800 cold