@breakintoprogram.co.uk Ooh yeah that’s good, heheh!

@breakintoprogram.co.uk D’oh! I can sympathise with that. 😩

@breakintoprogram.co.uk Ah, I see thanks. Well congrats on passing all the tests, that great. Now for the really hard problem though: what are you going to name your emulator??

@breakintoprogram.co.uk I understand that Joffa liked to use R (the top bit doesn’t get incremented automatically?) as a flag, I think he used it to track whether the frame interrupt had fired yet. Pretty cool! I know some loaders balk if R isn’t the value they expect though! Was that the issue?

@breakintoprogram.co.uk This is coming really together! So that means Interface 1 and Microdrive support next …yeah? 😅

@flatduckrecords.co.uk SAM Coupé inherits this architecture as well. And although SAM’s ROM supports the “N” network as a device for LOADing and SAVEing it doesn’t really have a Net channel that we can use with BASIC streams. So I wrote one!

@flatduckrecords.co.uk I stripped em out because I was only planning to use it with PlusD disks, but it’s a bit awkward for folk to have to convert from tape to disk first. (ZXBlockeditor is quite good at that, though).

@breakintoprogram.co.uk PZX might be interesting to you?

zxds.raxoft.cz/pzx.html

@jimtrinca.bsky.social …Michelangelo is a party dude 🎶

@robertprice.bsky.social Indeed! Sounds like a lot of fun. 😁

@robertprice.bsky.social OOOoooOOOooh!

@fuzzweed.co.uk Now that’s a Commodore Sixty Phwoar! 😅

@sonicyoda.neocities.org I’ve no idea what size this is without a reference to compare to?!?

@flatduckrecords.co.uk Some (or all!) of those disassembly labels are wrong, I need to update my SkoolKit files! E.g. “insert into NVARS” should actually read “insert into BASIC and move NVARS up”, etc. I’ll publish it properly once I’ve correct it! 😊

@flatduckrecords.co.uk Ah, PLAY and SPECTRUM tokens sit where UDGs T, U normally do, so they are actually below the BTRANS token table; byte-aligned to &xxA5 (i.e. RND). The two bytes below that are used by BTRANS to track the length of the BASIC line being processed… so which token you get for PLAY/SPECTRUM will vary!

@flatduckrecords.co.uk Thanks I’ll check that out!

@flatduckrecords.co.uk No it’s hard-coded and relies on tape headers in RAM anyway. My version uses “default” drive so it should work with D1 or D2 😁

@flatduckrecords.co.uk Yeah, good idea 👍

@flatduckrecords.co.uk Hmm, yeah PLAY must be missing from the token lookup table. I guess SPECTRUM will be missing too. I’ll see if it can be shoe-horned in! At least treat it as a REM maybe.

@flatduckrecords.co.uk Thank you, yes that’s the one I based mine on; I started disassembling it a couple of years ago, but I must have abandoned it! Nice to pick it up again. I should share the disassembly as well (but I’ll tidy it up a bit first!) I couldn’t find any trace of the load-from-disk version mentioned tho.

@flatduckrecords.co.uk Thanks! I’ve put up a disk image if you want to give a try:

robertmorrison.me/sam/zxtransa…

@jimtrinca.bsky.social Alien Isolation$

@flatduckrecords.co.uk Issue 100 of Outlet claims there ought to be a file called DBT.BAS on the SAM System Disk (but I can’t find it!)

OUTLET is a great source of BASIC progs but as Brian alludes they are NOT straightforward! All sorts of inventive hacks and POKEs are employed (to great effect) but …not very portable!

@flatduckrecords.co.uk Inspired by @samsterdave.bsky.social asking about BASIC variables recently. I had started disassembling BTRANS back in 2023 when I couldn’t find a disk version (tape load only). I was only planning to add disk loading but importing variables wasn’t too tricky (FOR/NEXT was a bit of challenge tho!)

@samcoupe.com Haha! I would never! Just brainstorming some ideas for Quazar’s next PCB production run, maybe a good catch-all for the 8-bit wide-boys. 🚚