ZX Spectrum game dev in BASIC
Place for me to keep track of what I'm doing.
pasmo and install ZXBASIC
Compilecd 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
Fuse emulator (in .fmf format) and convert it to mp4 with ffmpeg. fuse-utils needed.
Save emulation video withCompile 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