Fuzzweed
banner
fuzzweed.co.uk
Fuzzweed
@fuzzweed.co.uk
Maker, breaker, retro gamer.
Sometimes clever, sometimes not so much.
Well, that's exactly what I thought and how I started but then I thought I might need the first 8 bytes for a shadow amplitude register as it's gonna need some ORing if I get to stereo pan, so I've wasted more ram on two pages now
November 12, 2025 at 9:06 PM
☝️frees itself eventually is probably more accurate. Kinda seems to work in practice tho
November 12, 2025 at 9:01 PM
Errata. Start your slot check at $xx08 to leave your frequency register in L.
It's $xx00 to do it for an AY chip
November 12, 2025 at 8:53 PM
And finally the odd/even split works to your advantage with the octaves as you can have two different paths to deal with hi or lo nibble. Or it should but that bit doesn't work yet.
November 12, 2025 at 8:50 PM
Put the $FF back on note off. As a cunning extra you get a very rough last on first off too, as the midi note frees itself on two rotates.
* Actually I've got entry to the note check at 0 for one midi ch and 1 for another ch with double incs so it's 2x 3note polyphony. 1x6 note is a bit cumbersome.
November 12, 2025 at 8:50 PM
$FF = available voice. Start with 6 of those at $xx00.
Rotate left, jump on carry to routine or Inc l* to check the next slot otherwise. And handily L is your voice number. Store your midi note where the $FF was as they're all <128 so if there's a note there your jp c won't jump.🧵
November 12, 2025 at 8:50 PM
He'll be using auto fire and save states next....
November 12, 2025 at 7:03 PM
u
November 12, 2025 at 3:17 PM
C.
Sleek visions of the future
November 12, 2025 at 3:12 PM
Touché
November 12, 2025 at 8:33 AM
Although conceptually it's not *that* complicated....
November 12, 2025 at 8:29 AM
classic z80. loads of ways to do one thing and none to do the opposite
November 12, 2025 at 8:28 AM
yeah, I'm not planning on recreating that but it made me think....
November 12, 2025 at 8:27 AM
And that then made me wonder if you could abuse the stack to push stuff to the screen very quickly. Set the stack to screen memory, but then you'd need someway to know when you were off the bottom (other than counting what you put in it)
November 12, 2025 at 8:26 AM
Not sure it helps with my current wanderings. I was watching this multitasking video where he's got a stack for each thread, and I just wondered if there was a way to monitor when one mini-stack was running out other than being careful what you put on it in the first place.
youtu.be/tMYGlYO3v9U?...
Multitasking on a Z80 CPU
YouTube video by Ready? Z80
youtu.be
November 12, 2025 at 8:23 AM
Not sure it helps with my current wanderings. I was watching this multitasking video where he's got a stack for each thread, and I just wondered if there was a way to monitor when one mini-stack was running out other than being careful what you put on it in the first place.
youtu.be/tMYGlYO3v9U?...
Multitasking on a Z80 CPU
YouTube video by Ready? Z80
youtu.be
November 12, 2025 at 8:23 AM
😅
November 12, 2025 at 7:41 AM
Who's Typo?
November 12, 2025 at 7:19 AM
Superb!
November 12, 2025 at 7:17 AM