From 40447aba0dd29fb7275c9706575f4cd5691e014a Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Sun, 10 Jan 2016 15:55:06 -0800 Subject: [PATCH] Add DrawString pic 17 --- README.md | 10 ++++++---- pics/hgrfont_17.png | Bin 0 -> 506 bytes 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 pics/hgrfont_17.png diff --git a/README.md b/README.md index b536cbf..2c49cd0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ #Apple ]\[ HGR Font Tutorial -Revision: 10, Jan 10, 2016. +Revision: 11, Jan 10, 2016. # Table of Contents @@ -1188,7 +1188,7 @@ Enter: 379:20 28 03 18 98 65 F5 85 F5 60 -Or are? Since we're using a function to calculate the destination address let's fix the order. +Or are we stuck? Since we're using a function to calculate the destination address let's fix the order. We'll need to change the `X` offset in CursorRow() to `Y`; @@ -1293,6 +1293,8 @@ Enter: 120E:48 65 6C 6C 6F 20 57 6F 72 6C 64 00 1200G +![Screenshot 17](pics/hgrfont_17.png?raw=true) + Note: An easy way to get the hex bytes for a string is to use this tiny Javascript snippet to convert a text string to hex: ```JavaScript @@ -1305,12 +1307,12 @@ Note: An easy way to get the hex bytes for a string is to use this tiny Javascri Here are all the routines we've entered in so far: - 300:20 66 03 A9 00 A0 00 4C 3B 03 + 300:20 66 03 A9 00 A0 00 4C 3B 03 310:20 3B 03 4C 70 03 320:48 20 28 03 68 4C 3B 03 328:BD 00 64 18 65 E5 85 F5 330:BD 18 64 18 65 E6 85 F6 - 33A:60 48 29 1F 0A 0A + 33A:60 EA EA 48 29 1F 0A 0A 340:0A 69 00 8D 55 03 68 29 348:60 2A 2A 2A 2A 69 60 8D 350:56 03 A2 00 BD 00 62 91 diff --git a/pics/hgrfont_17.png b/pics/hgrfont_17.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff37a3508f375ca056efd2af4d8f34deb94894d GIT binary patch literal 506 zcmeAS@N?(olHy`uVBq!ia0y~yU@~A}U~FJy28wjbo;m`g*aCb)T!A#h0Y=GLapFJ* zW0JSK3quF1tOt<8S>O>_%)r1c48n{Iv*t(u1=&kHeO=ifFmj2TnAYt5bsZ=qn;8;O z;+&tGo0?Ywx+-}#SxHi%FF|Vhnhu|aeZ~r3-cJlYW2~^#jw(WPC)Smw~ zPAa~4&v=JSG}(T)rYls{cm3HQCyide`)77vvJMSxVmKiGdi$XrlB;CzAH4QlR@>~@ zyx>DV-%S#K&OGMtJ^Al{Wv|zn$4al>lG}Z|CTP~R%TsJOFPBt}64&2r_I8O$ne^6~ z+t-^Erp#w8Qkz@dRbG~9n8mi%(ziEW29U*D*nyHeoT zF{Qx%S<%6kE2Um937#ERRVdcGk8}It{8>jl&(=+@T+Z+y@VT^V@H(e(r_9M$JOgL{ fzi6&=>(@2w$2{>C2agIXf$Z>f^>bP0l+XkKH?P5b literal 0 HcmV?d00001