Claims
- 1. A method of block transferring and displaying an image having transparent and non-transparent pixels from a memory, comprising the steps of:
- retrieving a machine executable instruction from an instruction queue in the memory, the instruction queue including a copy instruction and a skip instruction accompanied by a count number;
- when the retrieved instruction is a copy instruction, performing the following steps:
- obtaining a pixel value from a source pointer;
- transferring the obtained pixel value to a destination pointer;
- incrementing both the source pointer and the destination pointer; and
- returning to said step of retrieving;
- when the retrieved instruction is a skip instruction, performing the following steps:
- incrementing a destination pointer by a count established by the skip instruction count number; and
- returning to said step of retrieving.
- 2. The method of claim 1, wherein the retrieved copy instruction copies one byte of pixel data.
- 3. The method of claim 1, wherein the retrieved copy instruction copies one word of pixel data.
- 4. A data structure in a computer-readable medium to store an image of a succession of transparent and non-transparent pixels for block transfer to a destination, comprising:
- data representing the values of the non-transparent pixels;
- an instruction queue, including a copy instruction and a skip instruction accompanied by a count number, said instruction queue further comprising:
- a set of instructions performing the following steps when the retrieved instruction is a copy instruction:
- obtaining a pixel value from a source pointer;
- transferring the obtained pixel value to a destination pointer;
- incrementing both the source pointer and the destination pointer; and
- returning to said step of retrieving;
- a set of instructions performing the following steps when the retrieved instruction is a skin instruction:
- incrementing a destination pointer by a count established by the skip instruction count number; and
- returning to said step of retrieving.
- 5. The data structure of claim 4, wherein the copy instruction copies one byte of data.
- 6. The data structure of claim 4, wherein the copy instruction copies one word of data.
- 7. The data structure of claim 4, wherein the number of transparent pixels skipped by the skip instruction is the number of successive transparent pixels between non-transparent pixels in the image.
- 8. The data structure of claim 4, wherein the image stored is composed of a number of pixel rows across the image and wherein the number of transparent pixels skipped by the skip instruction is the number of successive transparent pixels at the end of a row in the image.
- 9. A computer system for block transfer and display of an image having transparent and non-transparent pixels, comprising:
- a processor for executing code; and
- a display for displaying the image;
- a memory storing a code executable by the processor and when executed, performing the steps of:
- retrieving a machine executable instruction from an instruction queue in the memory, the instruction including a copy instruction and a skip instruction accompanied by a count number;
- when the retrieved instruction is a copy instruction, performing the following steps:
- obtaining a pixel value from a source pointer;
- transferring the obtained pixel value to a destination pointer;
- incrementing both the source pointer and the destination pointer; and
- returning to said step of retrieving;
- when the retrieval instruction is a skip instruction, performing the following steps:
- incrementing a destination pointer by a count established by the skip instruction count number; and
- returning to said step of retrieving.
- 10. The computer system of claim 9, wherein the retrieved copy instruction copies one byte of pixel data.
- 11. The computer system of claim 9, wherein the retrieved copy instruction copies one word of pixel data.
Parent Case Info
This is a continuation of application Ser. No. 08/479,138, filed Jun. 6, 1995, now abandoned.
US Referenced Citations (12)
Continuations (1)
|
Number |
Date |
Country |
Parent |
479138 |
Jun 1995 |
|