Gears of War 5 - ZX Spectrum Version
Gears of War 5: ZX Spectrum Version Ok, not really! Another possible #WCCChallenge topic for this week was Gears. Seen as I'm on some sort of nostalgia trip today, I thought I'd rehash a very old routine that demonstrates a buffer technique in ZX assembly. I used a Gears 5 wallpaper from some random wallpaper site, so I'm assuming it's fan art, converted it to a ZX Spectrum .scr file and then did some Z80 tomfoolery! Simply put, you load the screen into a memory location and then use 12 bytes of code to move each byte of the screen data onto the ZX Spectrum's display. The 12 byte routine goes like this: LD HL, 32768 ;(Source) LD DE, 16384 ;(Destination) LD BC, 6912 ;(Length) LDIR ; Load, Increment Repeat (basically a loop until you move all 6192 bytes) RET ; return (go back to the BASIC routine) Converted to BASIC: 10 CLEAR 32767: BORDER 0: PAPER 0: INK 7: CLS 20 FOR n = 65000 TO 65011 30 READ a: POKE n,...