/zxspectrum_basic

Beginners ZX Spectrum stuff

Primary LanguageShell

ZX Spectrum game dev in BASIC

Place for me to keep track of what I'm doing.

Compile pasmo and install ZXBASIC

cd tools/pasmo-0.5.4.beta2
./configure
make

pip install zxbasic

Compile basic code as a .tap file using ZXBASIC

zxb -taB main.bas

Compile your loading screen (.scr) file as a .tap file and merge both tap files into a single one

You will first need to get your .scr image. I used: https://github.com/KodeMunkie/imagetozxspec.

./pasmo --tap --name SCREEN loading_screen.asm loading_screen.tap

cat main.tap loading_screen.tap > game.tap

Save emulation video with Fuse emulator (in .fmf format) and convert it to mp4 with ffmpeg. fuse-utils needed.

Compile fuse-utils

cd tools/fuse-utils-1.4.3
./configure
make
./fmfconv emu_video.fmf | ffmpeg -i - -aspect 4:3 -c:v libx264 -crf 26 -pix_fmt yuv420p video.mp4