From 7993fdb147b986ba2dd5c712f9c7aa813c48059d Mon Sep 17 00:00:00 2001 From: Michaelangel007 Date: Wed, 27 Jan 2016 08:16:51 -0800 Subject: [PATCH] Fix hex constants --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f55bca4..186871b 100644 --- a/README.md +++ b/README.md @@ -849,7 +849,7 @@ Notice how after 8 scan lines we end up with and `Tmp` address of $4xxx (or $6xx 0364:C8 INY 0365:18 CLC ; Note: 0366:A5 F6 LDA TmpHi ; (To the astute reader) - 0368:E9 1F SBC #$1F ; <-- ??? Shouldn't this be #20 ?! + 0368:E9 1F SBC #$1F ; <-- ??? Shouldn't this be #$20 ?! 036A:85 F6 STA TmpHi 036C:60 RTS ``` @@ -937,7 +937,7 @@ Hmm, we would need to replace `SEC SBC` with `AND OR` which we might think would 0364:C8 INY 0365:A5 F6 LDA TmpHi 0367:29 1F AND #%00011111 ; Requires an extra OR - 0369:09 20 ORA #20 ; Hard-code to HGR page 1 + 0369:09 20 ORA #$20 ; Hard-code to HGR page 1 (high byte) 036B:85 F6 STA TmpHi 036D:60 RTS ```