Today’s lesson in curing headaches by banging your head on the wall until they stop involves joysticks and mice. This is a bit technical, so ensure your seat back and tray table are in the upright and locked position.
Learning to program is an endurance game full of random side quests, dead ends and frustration. Rather than learning “how to do X”, which is specific, it’s much more useful learning “how to figure out how to do anything at all”.
What better way to wait out the apocalypse than trying to learn a new system. Read how I dug out my ZX Spectrum Next and set about writing C code on it…
How a Redcode “CPU” works The CPU is a machine, it follows a basic mechanism to the beat of an external clock. In the case of a Redcode simulator, every tick of the clock causes the CPU to go through what is called the Fetch-Decode-Execute (FDE) cycle.
Sometimes you have to type out almost identical lines of code, and it’s either time consuming or error prone. Here’s how to avoid it all by using some clever Excel techniques.
How to efficiently store and execute many small functions, without using a single if statement or switch construct. Opcodes Redcode contains 17 opcodes which perform standard operations such as copying data, maths and conditional jumps.
To begin, this isn’t technically an emulator, the system I’m trying to model isn’t real. This is more of a simulator, but that’s less of a catchy search word on the Internet.
Game controllers on computers are somewhat irritating to manage compared to a console. Has the user plugged in an XBox controller? A PS4 controller, or have they obtained some random USB controller they found on eBay?
Straight forward instructions on how to rearrange algebraic equations, all wrapped up in a nice free PDF to download. Don’t fear maths or algebra again!
Back in the mists of history, sometime around the 90s it was quite common for games and demos to display text on the screen. Since we’re talking about old computers with barely any usable RAM, the text was stored as images.