Method for producing a graphical cursor
First Claim
1. A method for generating a graphical cursor in text mode operation of a computer system having a processing unit, an input device, a display device, a buffer, and a display adapter having a display memory and a font memory, wherein said display memory stores character codes for characters that are destined to be displayed on said display device on a multibit block by multibit block basis, and said font memory converts each character code to a corresponding plurality of bits, said method comprising the steps of:
- determining a new cursor bit position;
converting the new cursor bit position into several adjoining new cursor text mode block locations;
restoring from said buffer a first set of character codes into the display memory at several adjoining old cursor text mode block locations;
saving into said buffer a second set of character codes corresponding to the characters being displayed at the new cursor text mode block locations;
building new fonts using fonts corresponding to the second set of character codes and a cursor bit map;
assigning, within the font memory, the new fonts to a set of seldom used characters;
replacing, at the new cursor text mode block locations within the display memory, the second set of character codes with character codes corresponding to the set of seldom used characters; and
generating an image on the display device from the modified display memory using the display adapter.
3 Assignments
0 Petitions
Accused Products
Abstract
A graphical cursor in text mode is generated by replacing the characters on the display at positions under the cursor with new fonts comprising an image of the cursor superimposed on the image of the characters. The method of the present invention comprises the steps of: determining the new cursor position; restoring the characters at the old cursor position; saving a plurality of the characters near the new cursor position; building new fonts with the plurality of characters near the new cursor position and the cursor symbol; and replacing the plurality of characters at the new cursor position with the new fonts. The preferred method may further comprise the step of detecting the position and movement of the input device when mouse-type input devices are used.
18 Citations
9 Claims
-
1. A method for generating a graphical cursor in text mode operation of a computer system having a processing unit, an input device, a display device, a buffer, and a display adapter having a display memory and a font memory, wherein said display memory stores character codes for characters that are destined to be displayed on said display device on a multibit block by multibit block basis, and said font memory converts each character code to a corresponding plurality of bits, said method comprising the steps of:
-
determining a new cursor bit position; converting the new cursor bit position into several adjoining new cursor text mode block locations; restoring from said buffer a first set of character codes into the display memory at several adjoining old cursor text mode block locations; saving into said buffer a second set of character codes corresponding to the characters being displayed at the new cursor text mode block locations; building new fonts using fonts corresponding to the second set of character codes and a cursor bit map; assigning, within the font memory, the new fonts to a set of seldom used characters; replacing, at the new cursor text mode block locations within the display memory, the second set of character codes with character codes corresponding to the set of seldom used characters; and generating an image on the display device from the modified display memory using the display adapter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification