HOME About NCOT Documentation Social Media Mastodon Support Me

Drink tea and make things

Blog Electronics Labs ZX Spectrum Next Computer Science Z80 Homebrew Computer Arduino and Microcontrollers
Setting up MSYS2 and LibSDL2 for graphics programming in Windows

Setting up MSYS2 and LibSDL2 for graphics programming in Windows

Posted:

I’m starting a graphics based project, and decided to use SDL2 in Windows. This meant setting up a development environment. Here’s some notes on how I set up MSYS2, VS Code and LibSDL2.

Read More…
Microstudio.dev Game Programming

Microstudio.dev Game Programming

Posted:

It’s always worth clicking around on Twitter, and following replies to people’s tweets. You find all sorts of useful things. In this case I found a nice little web based game development environment called MicroStudio.

Read More…
Doom Clone In Unity Introduction

Doom Clone In Unity Introduction

Posted:

The basic idea So ever since I first saw it on my friend’s 386, I’ve really liked Doom. I think I’ve put more hours into playing and modifying Doom over the years than any other game - including Animal Crossing on my Switch.

Read More…
Shadertoy 3 Raymarching

Shadertoy 3 Raymarching

Posted:

Let’s draw a lit 3D scene without defining any 3D objects. Yeah no it confused me too. I always thought the point of shaders was to make 3D models look fancy.

Read More…
Shadertoy 2 Sinewaves

Shadertoy 2 Sinewaves

Posted:

Today I figured out how to draw a line, and then make it wiggle using some basic maths. (adsbygoogle = window.adsbygoogle || []).

Read More…
Shadertoy 1 - Mandelbrot

Shadertoy 1 - Mandelbrot

Posted:

Let’s spend this week learning about GLSL and making fancy images from code. The first one, a nice computationally intensive fractal. (adsbygoogle = window.

Read More…
Gameboy Advance Dev Workflow in 2020

Gameboy Advance Dev Workflow in 2020

Posted:

How to write GameBoy Advance (GBA) homebrew using modern tools and systems in 2020. Compilers, editors, debugging and more! This isn’t the definitive way of doing things, but it’s a way that seems to work for me.

Read More…
How to Write Emulator - Fetch Decode Execute Cycle

How to Write Emulator - Fetch Decode Execute Cycle

Posted:

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.

Read More…
How to Write Emulator - Automating Tedious Programming with Excel

How to Write Emulator - Automating Tedious Programming with Excel

Posted:

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.

Read More…
How to Write Emulator - Opcodes Jumptables

How to Write Emulator - Opcodes Jumptables

Posted:

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.

Read More…
[ « Prev ] 1 [ 2 ] [ 3 ] [ Next » ]