Claims
- 1. A method of storing character data for use in the display of characters selected from a pre-defined character set in an output image of a display device, said output image comprising a regular array of discrete pixels, the display device including a background memory, a microprocessor operable to execute machine code program instructions stored in the background memory, and a display memory, the display memory storing the output image in the form of a display bit map and having a plurality of locations which correspond to and store color data for respective pixels of the image, said method comprising;
- defining a character bit map for each character of the set, said character bit map identifying a plurality of character-shape-defining foreground pixels and a plurality of other, background pixels, each pixel having a corresponding pixel location relative to a character base location;
- encoding each character bit map to generate a machine code routine which, when executed, will cause the microprocessor to write color data to all the pixel locations of the display memory which correspond to foreground locations of the character bit map; and
- storing said machine code routines for the character set in the background memory of the display device;
- the step of encoding the machine code subroutine corresponding to each character of the set including the steps of identifying the relative locations of the foreground pixels of the character shape and encoding said relative locations within the instructions of the machine code subroutine in such a form that when the machine code subroutine is executed the microprocessor neither tests pixel locations of the character bit map to identify the foreground pixels, nor writes color values for the entire character bit map.
- 2. A method as claimed in claim 1, wherein each of said machine code instructions, when executed, will cause color data to be written in the display memory at a location defined by the pixel location encoded in the instruction and a character-base memory location stored in an address register of the microprocessor prior to execution of the instruction.
- 3. A method as claimed in claim 2, wherein the color data written by each said instruction is a value stored prior to execution in a data register of the microprocessor.
- 4. A method as claimed in claim 2, wherein the microprocessor is one of the 680XX family, whose instruction set includes the instruction set of the 68000 microprocessor, and wherein the plurality of machine code instructions includes at least one instruction in an Address Register Indirect with Displacement addressing mode of said microprocessor, the relative pixel location being at least partly encoded by the displacement field of said instruction.
- 5. A method as claimed in claim 4, wherein said plurality of machine code instructions includes at least one instruction in an Address Register Indirect with Index and Displacement addressing mode of the microprocessor, the relative pixel location being at least partly encoded by the combination of the index and displacement fields of said instruction.
- 6. A method of displaying selected characters in an output image of a display device wherein machine code routines have been stored in accordance with a method as claimed in claim 1, the method comprising executing the stored routine which corresponds to each selected character to store the selected character in bit map form in the display memory of the display device by writing color data to display memory locations corresponding to the foreground pixel locations of the character bit map.
- 7. A method as claimed in claim 6, further comprising the step of storing a base location address for the character in an address register of the microprocessor prior to executing said routine.
- 8. A method as claimed in claim 7, further comprising the step of storing a color value for the character in a data register of the microprocessor prior to executing said routine.
Priority Claims (1)
Number |
Date |
Country |
Kind |
8603850 |
Feb 1986 |
GBX |
|
Parent Case Info
This is a continuation of application Ser. No. 07/860,198 filed on Mar. 26, 1992, now abandoned, which is a continuation of application Ser. No. 07/646,515 filed Jan. 25, 1991, now abandoned which is a continuation of application Ser. No. 07/012,967, filed Feb. 10, 1987, now abandoned.
US Referenced Citations (13)
Non-Patent Literature Citations (1)
Entry |
D. E. Schreiber, "Computing a Set of Triangular Plates Which Represent a Potential Surface of a Scalar Function Defined at the Vertices of a Three-Dimensional Cartesian Mesh", IBM Technical Disclosure Bulletin, vol. 18, No. 4, Sep. 1975. |
Continuations (3)
|
Number |
Date |
Country |
Parent |
860198 |
Mar 1992 |
|
Parent |
646515 |
Jan 1991 |
|
Parent |
012967 |
Feb 1987 |
|