Various projects of coding for the Amstrad CPC
Programs fully written in assembly.
Locomotive basic programs for the Amstrad CPC.
Can be typed in the emulator with:
cd basic/
for d in *
do
iDSK -n ${d}.dsk
cap32 -O system.limit_speed=0 -a "$(for file in *.bas; do cat $file; echo "save\"$file"; echo "new"; done)" ${d}.dsk
done
You'll need to save each DSK before quitting the emulator.
Basic examples coming from the book "Advanced Programming Techniques on the Amstrad CPC 464" by Keith Hook.
Games from the book "Astounding Arcade Games For Your AMSTRAD" with bug fixes and minor improvements.
Games from the Amstrad CPC 6128 Plus user manual, French version, with bug fixes.
Jeux provenant du livre "Amstrad Jeux en Assembleur" d'Eric Ravis: https://www.cpcwiki.eu/index.php/Amstrad_Jeux_en_Assembleur
Programs written mostly in C.
Programs written using TRSE (Turbo Rascal Syntax Error)
TOOLSDIR=`pwd`/tools/
INSTALLDIR=`pwd`/tools/install
mkdir -p ${TOOLSDIR:?}
mkdir -p ${INSTALLDIR:?}/bin
cd ${TOOLSDIR:?}
git clone https://github.com/jeromelesaux/idsk.git
cd idsk
cmake .
make
cp iDSK ${INSTALLDIR:?}/bin/
cd ${TOOLSDIR:?}
wget http://pasmo.speccy.org/bin/pasmo-0.5.4.beta2.tgz
tar -xvzf pasmo-0.5.4.beta2.tgz
cd pasmo-0.5.4.beta2
./configure --prefix=${INSTALLDIR:?}
make
make install
cd ${TOOLSDIR:?}
git clone https://github.com/z88dk/z88dk.git
cd z88dk
git submodule init
git submodule update
rm src/config.h
./build.sh -i ${INSTALLDIR:?}
cp bin/* ${INSTALLDIR:?}/bin/
mkdir -p ${INSTALLDIR:?}/share/z88dk/
cp -r lib ${INSTALLDIR:?}/share/z88dk/
cp -r include ${INSTALLDIR:?}/
cd ${TOOLSDIR:?}
git clone https://github.com/ColinPitrat/caprice32.git
cd caprice32
make DESTDIR=${INSTALLDIR:?} prefix="" install
Debug build and allow core with ulimit
to investigate in case of crash.
cd ${TOOLSDIR:?}
git clone https://github.com/leuat/TRSE.git
cd TRSE
qmake TRSE.pro
make -j 10
ln -s Publish/tutorials tutorials
ln -s Publish/source/themes themes
# Don't create the project_templates because it's already there
mkdir bin
mv trse bin/
./bin/trse