From bd41b49b196504e5574dc4f09d38ab3db9d842f3 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Sun, 10 Jan 2016 15:50:57 -0800 Subject: [PATCH] Added pic 16 --- README.md | 9 +++++++-- pics/hgrfont_16.png | Bin 0 -> 430 bytes 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pics/hgrfont_16.png diff --git a/README.md b/README.md index 09933fb..b536cbf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ #Apple ]\[ HGR Font Tutorial -Revision: 9, Jan 10, 2016. +Revision: 10, Jan 10, 2016. # Table of Contents @@ -1097,7 +1097,7 @@ We'll split the table of addresses into Low and High bytes for easier access. We This is our mini HGR Y Address look-up table. "Funny" that it has 24 entries -- the same height as our text screen. :-) -Enter these bytes: +Enter these bytes (or `bload hgrtable.bin`): Our `HgrLo` table: @@ -1111,6 +1111,8 @@ Our `HgrHi` table: 6420:00 00 01 01 02 02 03 03 6428:00 00 01 01 02 02 03 03 +To save this AppleWin press `F7`, at the debugger console `bsave "hgrtable.bin",6400:642F`, press `F7`. + To select which row to draw at we'll pass that in the X register to our DrawCharColRow() routine: ```assembly @@ -1159,6 +1161,9 @@ Enter in: 1100:A9 41 A0 01 A2 02 4C 20 03 1100G +![Screenshot 16](pics/hgrfont_16.png?raw=true) + + ## Natural Params CursorColRow() Unfortunately, our usage of the X and Y registers are not intuitive. This is due to the limited addressing modes of the 6502. :-/ If the 6502 had a symmetrical indirect zero-page X addressing mode: diff --git a/pics/hgrfont_16.png b/pics/hgrfont_16.png new file mode 100644 index 0000000000000000000000000000000000000000..3a94be61208d78b6ee463652da87488b94dff370 GIT binary patch literal 430 zcmeAS@N?(olHy`uVBq!ia0y~yU@~A}U~FJy28wjbo;m`g*aCb)T!A#h0Y=GLapFJ* zW0JSK3quF1tOt<8S>O>_%)r1c48n{Iv*t(u1=&kHeO=ifFmj0-G1P?2ECLG2W`;zR zIOpf)rskCZxeN@>MX8A;sVNHOnI#zt?w-B@DSD~wK*L!*T^vIyZoR!@=*8kFzyli_$CLwX|)gvwj0zV&B^OXErxlT@N)vCzS-0IYfDh|2l`kDLi+(*T@vRDu_7Z4_zqa_$8qdsQa~w0%LT2r9 zT{`m;!-t>#GE>uL{MmQKM4O?ee38V}TfYS-J$v|d>AZQy&t@n8*j*!|`1x$`)yLjG zvjmMxJV9ZE4D45iuD|##bzYjotkRsV-|gI-W<)&;oV~BN_Sl_}{c9YzM)p0LWBlt` z-0bT6XF6tE-Tl6_eUE0tf2;c{k&DH;^e+4U?Y))qwbwN|zKXf#iiHAqQr0Pu1)i>c JF6*2UngBVBq}%`i literal 0 HcmV?d00001