A Carefully Specified .gitattributes File

How do you write a .gitattributes file that states the repository’s text and line-ending rules clearly?

Read more »

A Basic Arch Linux Installation

I installed Arch Linux in a virtual machine during some downtime at work. These are my notes.

Read more »

I'm Still Blogging

I took more than two years off from blogging. This time, a few words about sleep.

Read more »

Notes on Early Graphics and Video Chips

A collection of early graphics and video chips for home computers and consoles, from CRTC, PPU, and VDP designs to chips from MOS, Texas Instruments, Motorola, Yamaha, and NEC.

Read more »

Why the Famicom Game Mother Is Hard to Localize into Chinese

Using Mesen’s PPU debugger to see how Mother switches CHR-ROM banks within a scanline. The tight timing complicates Chinese character rendering and raises the question of whether expanded CHR-RAM could help.

Read more »

MMC3 IRQs

A translated explanation of the MMC3 mapper’s four IRQ registers and how to set up a split-screen scrolling effect in NMI, with a complete nbasic example.

Read more »

Configuring the External URL for GitLab in Docker

A nondefault port in GitLab’s external_url can change the port that GitLab listens on inside the container. Here is how to configure the port mapping and keep SSH clone URLs correct.

Read more »

My Unity ShaderLab Study Notes

Study notes on ShaderLab properties, the structure of subshaders and passes, and render-state commands such as Cull, ZTest, and Blend.

Read more »

Orthodox C++

A translation introducing Orthodox C++, a small, portable subset that favors a C-like style and avoids features such as RTTI, exceptions, iostreams, and STL allocators.

Read more »

Rebuilding This Blog with Pelican

Notes from moving my blog from Jekyll to Pelican, including images in Markdown, static file mappings for favicon and site configuration files, and switching themes.

Read more »