From a06ff53389b49c18c5ea3312a95f38fa7fd668e5 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Wed, 13 Jan 2016 22:09:25 -0800 Subject: [PATCH] Fix bullets --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index de30aaa..69e616a 100644 --- a/README.md +++ b/README.md @@ -1216,13 +1216,9 @@ Did you catch that **note** ? One popular trick on the 6502 was `self-modifying However, there are still 2 more optimizations we can make: -1. If we assume our font is "page aligned", that is, starts at a multiple of 256 bytes -- we could remove the redundant `AddressLo += (FontLo + (c*8))` and replace with the direct `AddressLo = (c*8)`. Technically, in C you would keep the bottom 8-bits with `& 0xFF` but since the 6502 registers are only 8-bit and we're storing a byte the `& 0xFF` is not needed. +1\. If we assume our font is "page aligned", that is, starts at a multiple of 256 bytes -- we could remove the redundant `AddressLo += (FontLo + (c*8))` and replace with the direct `AddressLo = (c*8)`. Technically, in C you would keep only the bottom 8-bits by masking off the the other bits with `& 0xFF` but since the 6502 registers are only 8-bit and we're storing a byte the `& 0xFF` is not needed. -```assembly - 033B:69 00 ADC #