Archive for November, 2012


To create a .tap file from a ZX Spectrum BASIC text .bas source file, Download the applescript below and Edit the location of the zmakebas executable in the property at the top of the script

zmakebas.scpt

Then copy to

~/Library/Application Support/BBEdit/Scripts/

and it will appear in the BBedit script menu

Open the .bas text file in BBEdit and select zmakebas from the Script menu

the resulting .tap file will be opened in Fuse

fuse zx spectrum emulator can be found here Fuse – the Free Unix Spectrum Emulator

Advertisements

Download and compile zmakebas 1.5

source code can be found here zmakebas 1.5

In Terminal:

cd ~/path/to/zmakebas-1.5/
 make
 sudo make install

To test

zmakebas -o demo2.tap -n demoname demo.bas

Double-click .tap file to load in Fuse

here are some example ZX Spectrum BASIC programs:

flags-example-extended.bas

basic-fill.bas

advanced-graphics-listing-1-4.bas

fuse zx spectrum emulator can be found here Fuse – the Free Unix Spectrum Emulator

To assemble a .zasm source file, Download the applescript below and Edit the location of the zasm executable in the property at the top of the script

Assemble zasm.scpt

Then copy to

~/Library/Application Support/BBEdit/Scripts/

and it will appear in the BBedit script menu

here is an example .zasm Z80 Assembly source file for ZX Spectrum to get you started

zasm can be found here http://k1.spdns.de/Develop/Projects/zasm-4.0/Distributions/

fuse zx spectrum emulator can be found here Fuse – the Free Unix Spectrum Emulator

Editing Z80 Assembler .zasm source files with BBEdit scaled 45pc Screen Shot 2015-06-05 at 12.24.17 pm

Editing Z80 Assembler .zasm source files with BBEdit

I have now moved from editing and assembling .zasm Z80 Assembler files using the custom-written zasm-cocoa app and I am now using BBEdit with a custom Z80 Assembler BBEdit Codeless Language Module plist

to use, put this .plist file

Z80 Assembler BBEdit Codeless Language Module.plist

in

~/Library/Application Support/BBEdit/Language Modules/ folder

zasm can be found here http://k1.spdns.de/Develop/Projects/zasm-4.0/Distributions/

fuse zx spectrum emulator can be found here Fuse – the Free Unix Spectrum Emulator