Mac toolchain

Posts relating to ZX Spectrum (and clones)... also Spectrum NEXT if you wish
Post Reply
robsoft
Posts: 8
Joined: Wed Apr 24, 2019 10:56 pm

Mac toolchain

Post by robsoft » Sun Jul 28, 2019 8:44 pm

If anyone is interested, inspired by Keith's setup for getting stuff into an emulated Spectrum (on Windows), I've got a fairly nice setup working on Mac OS now, with bits and pieces put together so that I can go from Sublime Text (or any editor of choice really), via VASM, into FUSE (or Zesarux), making the .TAP file etc etc as you'd expect. I've also got it turning 'ascii' BASIC code into tokenised Spectrum data that also can be poured into a .TAP.

As an example, I have a hundred-or-so line BASIC program together with a couple of separate CODE sections (including a font, some UDGs and other graphics, and a handful of utility assembler routines), and I can make a change in the BASIC code in Sublime and have loaded the whole new 'tape' into back into Zesarux within a few seconds.

I might write up a blog post or something, if there's any interest. It's not rocket science of course, and I suspect anyone really interested in doing this will have sorted it out for themselves already, but I thought I'd mention it :-)
robsoft : weareroad.co.uk

User avatar
akuyou
Posts: 299
Joined: Mon Apr 22, 2019 3:19 am

Re: Mac toolchain

Post by akuyou » Mon Jul 29, 2019 9:50 pm

Sounds fantastic!
I don't have a mac myself, but feel free to post it on your blog, and I'll link your post on the Hello World page for any mac users who come along!
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

robsoft
Posts: 8
Joined: Wed Apr 24, 2019 10:56 pm

Re: Mac toolchain

Post by robsoft » Tue Jul 30, 2019 4:03 pm

Ok, thanks Keith.

Well, the basic, rather tedious and over-wrought blog posts of what I did and how it works, with a BASIC and VASM example and some stuff about recompiling the BIN2TAP, BAS2TAP and VASM tools on the Mac, starts here;

http://robsoft.net/blog/mac-to-spectrum-1-3/

I do want to take your Hello World and the monitor/toolkit stuff and get them working in it, I haven't tried yet and I'm not expecting too much trouble but once it's done I'll make a specific page just for that, so that people who might be interested can see the wood for the trees as it were. As soon as I've done that, I'll post a link here and if you also think it's suitable for linking from your own page, then that's awesome. :-)
robsoft : weareroad.co.uk

mrcook
Posts: 10
Joined: Thu Apr 25, 2019 8:14 pm

Re: Mac toolchain

Post by mrcook » Sun Sep 01, 2019 9:36 pm

As a mac user it feels like we get the short end of the stick when it comes to emulators and retro tools, so it's great to see there are some solutions out there. Thanks for sharing your blog Rob!

My own solution for the loader was to run a little Ruby script to merge a preprepared BASIC loader with my VASM built game binary -- not a particularly flexible solution, so those bas2tap and bin2tap utils look rather handy.

Thanks again Rob, I'm off to read your part 2 post!

Post Reply

Return to “ZX Spectrum Assembly Programming”