mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#nabupc

0 posts0 participants0 posts today

#NthPongWars continues on the #NabuPC. Today's head banging brought to you by #Z88DK / #SDCC compiler system for the Z80, where itoa() indirectly causes a crash or mysterious glitches as local variables suddenly change on their own.

Turns out the underlying utoa() assembler code uses more than the usual registers, including ix and the alternate set. And when compiling for speed, ix is the stack frame pointer! Hilarity ensues when you use a local variable pointer to write to memory :-)

Continued thread

More work on the #NABUPC Adaptor signal generation. Seems like I need to up my SPI game and learn how the DMA block works. The gaps between the bytes are almost as long as the bytes themselves.
I was obsessing over the inter-packet delays when the buffers were switched, but this is much more likely to be causing the issues I'm having with packets timing out and the NPC throwing "Adaptor failure" (which is a timeout or data corruption).

Look what showed up on my doorstep today!

Volume 89 of Make Magazine is all about retro tech and features an article I wrote about the #nabupc as well as many other retro related articles including one written by @polpo about his awesome picoGUS card.

I've made some pretty good progress with the #NABUPC Adaptor reverse engineering, but I've got this unshakable feeling that I'll need to write an emulator and single-step the 6805 ROM code to see what the heck it's doing and figure out what the flags are...

edit: if you want to take a look at the work so far, it's on github: github.com/philpem/NABU-Adapto

GitHubGitHub - philpem/NABU-Adaptor: Reverse-engineering the NABU Network AdaptorReverse-engineering the NABU Network Adaptor. Contribute to philpem/NABU-Adaptor development by creating an account on GitHub.
Continued thread

This is the first part of the #NABU #NABUPC Adaptor (cable TV receiver) schematic - it's the bit the last bits of the RF can talk to.
This looks like an LFSR-based 22- or 23-stage self-synchronising descrambler, followed by an 8-bit pattern detector. The tap sequence is odd. x^22 + x^3 + 1?