Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- @echo off
- REM build128.bat [-run] - build the C128 editor with cc65 (vim128.prg).
- REM build128.bat compile only
- REM build128.bat -run compile, then start it in VICE x128 in 80-column mode
- REM (attach a disk image for a source file)
- setlocal
- set "CC65=D:\Development\Commodore\cc65-snapshot-win32"
- set "VICE=C:\Program Files\GTK3VICE-3.10-win64\bin"
- if exist "%CC65%\bin\cl65.exe" set "PATH=%CC65%\bin;%PATH%"
- set "CC65_HOME=%CC65%"
- cd /d "%~dp0"
-
- echo Compiling vim128.c ...
- cl65 -t c128 -O -m vim128.map -o vim128.prg vim128.c
- if errorlevel 1 (
- echo BUILD FAILED
- exit /b 1
- )
- echo Build OK: vim128.prg
-
- if "%1"=="-run" (
- echo Launching in VICE x128 ...
- "%VICE%\x128.exe" -80col -autostart vim128.prg -autostartprgmode 1
- )
|