Skip to content

Commit

Permalink
Merge pull request #53 from LeifBloomquist/master
Browse files Browse the repository at this point in the history
ANSI/VT100 support - issue #45
  • Loading branch information
sblendorio authored Aug 25, 2021
2 parents a552c15 + dd36312 commit 3180ecc
Show file tree
Hide file tree
Showing 2 changed files with 584 additions and 40 deletions.
32 changes: 22 additions & 10 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
@echo off
cls
del /S/Q target
rd target
md target

cd src\samples

cl65 -O -t c64 ..\lib\ultimate_lib.c u-sample.c -o ..\..\target\u-sample.prg
cl65 -O -t c64 ..\lib\ultimate_lib.c u-menu.c -o ..\..\target\u-menu.prg
cl65 -O -t c64 ..\lib\ultimate_lib.c u-shell.c -o ..\..\target\u-shell.prg
cl65 -O -t c64 ..\lib\ultimate_lib.c u-chat.c -o ..\..\target\u-chat64.prg
cl65 -O -t c64 ..\lib\ultimate_lib.c u-echoserver.c -o ..\..\target\u-echoserver.prg
rem cl65 -O -t c64 ..\lib\ultimate_lib.c u-sample.c -o ..\..\target\u-sample.prg
rem cl65 -O -t c64 ..\lib\ultimate_lib.c u-menu.c -o ..\..\target\u-menu.prg
rem cl65 -O -t c64 ..\lib\ultimate_lib.c u-shell.c -o ..\..\target\u-shell.prg
rem cl65 -O -t c64 ..\lib\ultimate_lib.c u-chat.c -o ..\..\target\u-chat64.prg
rem cl65 -O -t c64 ..\lib\ultimate_lib.c u-echoserver.c -o ..\..\target\u-echoserver.prg
cl65 -O -t c64 ..\lib\ultimate_lib.c screen_utility.c ultimateterm.c -o ..\..\target\u-term64.prg
cl65 -O -t c128 ..\lib\ultimate_lib.c screen_utility.c ultimateterm.c -o ..\..\target\u-term128.prg
cl65 -O -t c128 ..\lib\ultimate_lib.c u-chat.c -o ..\..\target\u-chat128.prg
cl65 -t geos-cbm -O -o ..\..\target\geouterm.cvt geouterm-res.grc ..\lib\ultimate_lib.c geouterm.c
rem cl65 -O -t c128 ..\lib\ultimate_lib.c screen_utility.c ultimateterm.c -o ..\..\target\u-term128.prg
rem cl65 -O -t c128 ..\lib\ultimate_lib.c u-chat.c -o ..\..\target\u-chat128.prg
rem cl65 -t geos-cbm -O -o ..\..\target\geouterm.cvt geouterm-res.grc ..\lib\ultimate_lib.c geouterm.c

cd ..\..

choice /c yn /n /m "Run on Ultimate64 Yes, No?"
if %ERRORLEVEL% == 2 exit /b

u64remote 192.168.7.64 reset
u64remote 192.168.7.64 run target\u-term64.prg

petcat -w2 -o ..\..\target\loader.prg loader.bas

exit /b

del *.o
del ..\lib\*.o

petcat -w2 -o ..\..\target\loader.prg loader.bas

cd ..\..\target

c1541 -format "ultimatedemos,sh" d64 UltimateTerm-and-demos.d64
Expand All @@ -41,4 +53,4 @@ c1541 -attach UltimateTerm-and-demos.d64 -write ..\src\samples\u-term.seq u-term
del /Q geouterm.cvt
del /Q loader.prg

cd ..

Loading

0 comments on commit 3180ecc

Please sign in to comment.