Download 4 - Textfiles
Transcript
TS 800 User's Manual draw: Ihld xchg Ihld mvi rst Ihld xchg Ihld mvi rst ret mousx: mousy: dw dw end mousy mousx c,4 5 mousy mousx c,5 5 : Draw dot 0 0 ; Mouse's current X-coordinate. ; Mouse's current Y-coordinate. GRAPHIC CHARACTER FONT Table 6-5 is a map of the graphic characters associated with each ASCII character. The font is stored in the EPROM. Each cell of the font can be individually accessed through the DRAWSTRING function. Internally, this is done as follows: 1. The ASCII character sent by the USER through the DRAWSTRING routine in Table 6-1 is used as an index into the graphics character font as shown in Table 6-5. 2. From the font, the graphics routines can access the bytes that comprise the graphics character desired (as shown in Figure 6-4). NOTE I Sixteen area fill styles have also been stored in the FONT. These styles were stored in place of sixteen non-printable control characters (as shown in Table 65) • Table 6-5 Character Font Contents ASCII Code NULL o SOH 1 STX 2 ETX 3 Fill Style Index 0 Fill Style Index 1 TeleVideo Systems, Inc. 4 Description Control codes Half-tone patterns Page 6.20