Add DrawString pic 17

This commit is contained in:
michaelangel007 2016-01-10 15:55:06 -08:00
parent bd41b49b19
commit 40447aba0d
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#Apple ]\[ HGR Font Tutorial #Apple ]\[ HGR Font Tutorial
Revision: 10, Jan 10, 2016. Revision: 11, Jan 10, 2016.
# Table of Contents # Table of Contents
@ -1188,7 +1188,7 @@ Enter:
379:20 28 03 18 98 65 F5 85 F5 60 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`; 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 120E:48 65 6C 6C 6F 20 57 6F 72 6C 64 00
1200G 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: 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 ```JavaScript
@ -1310,7 +1312,7 @@ Here are all the routines we've entered in so far:
320:48 20 28 03 68 4C 3B 03 320:48 20 28 03 68 4C 3B 03
328:BD 00 64 18 65 E5 85 F5 328:BD 00 64 18 65 E5 85 F5
330:BD 18 64 18 65 E6 85 F6 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 340:0A 69 00 8D 55 03 68 29
348:60 2A 2A 2A 2A 69 60 8D 348:60 2A 2A 2A 2A 69 60 8D
350:56 03 A2 00 BD 00 62 91 350:56 03 A2 00 BD 00 62 91

BIN
pics/hgrfont_17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B