103e7794c04a

Fix headings
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 26 Dec 2016 12:57:52 -0500
parents d7f633984384
children ce11a64d569c
branches/tags (none)
files content/blog/2016/12/chip8-sound.markdown

Changes

--- a/content/blog/2016/12/chip8-sound.markdown	Mon Dec 26 12:39:38 2016 -0500
+++ b/content/blog/2016/12/chip8-sound.markdown	Mon Dec 26 12:57:52 2016 -0500
@@ -48,7 +48,7 @@
 
 Let's add the required registers and instructions to the emulator.
 
-## Data
+### Data
 
 First we'll add the registers into the `chip` struct:
 
@@ -63,7 +63,7 @@
 
 These are of type `fixnum` instead of `int8` for reasons we'll see later.
 
-## Instructions
+### Instructions
 
 The CHIP-8 has three `LD` instructions for dealing with these registers.  We
 actually saw them back in the first post, but now we know their purpose:
@@ -79,7 +79,7 @@
     (setf ,destination ,source)))
 ```
 
-## Timers
+### Timers
 
 Next we'll need to decrement the timers at a rate of 60hz.  We could do some
 math to figure out the number of cycles between each and do this in the main