summaryrefslogtreecommitdiffstats
path: root/sys/isa/syscons.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1995-03-29 20:55:03 +0000
committersos <sos@FreeBSD.org>1995-03-29 20:55:03 +0000
commitf1c731a93f079b205c0f2e37d5af88d3e6d3bcc2 (patch)
treebc7dbbb0ebe0ba42d51582473df3695b6a0030ac /sys/isa/syscons.h
parentc3ff5d1bdc7207d94232157b7ccb51d02f31d1fc (diff)
downloadFreeBSD-src-f1c731a93f079b205c0f2e37d5af88d3e6d3bcc2.zip
FreeBSD-src-f1c731a93f079b205c0f2e37d5af88d3e6d3bcc2.tar.gz
Optimized the way physical screen updates are done. Now only
update what has actually been touched. This should speed up screen access on slow hardware. Introduced setting of "destructive" cursor size, much like the old hardware cursor.
Diffstat (limited to 'sys/isa/syscons.h')
-rw-r--r--sys/isa/syscons.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/isa/syscons.h b/sys/isa/syscons.h
index 9e6083f..67b444d 100644
--- a/sys/isa/syscons.h
+++ b/sys/isa/syscons.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: syscons.h,v 1.2 1995/02/25 20:09:21 pst Exp $
+ * $Id: syscons.h,v 1.4 1995/03/03 08:37:08 sos Exp $
*/
#ifndef SYSCONS_H
@@ -52,7 +52,6 @@
#define CURSOR_SHOWN 0x00400
#define MOUSE_ENABLED 0x00800
#define UPDATE_MOUSE 0x01000
-#define UPDATE_SCREEN 0x02000
/* configuration flags */
#define VISUAL_BELL 0x00001
@@ -118,6 +117,8 @@ typedef struct scr_stat {
int ypos; /* current Y position */
int xsize; /* X size */
int ysize; /* Y size */
+ int start; /* modified area start */
+ int end; /* modified area end */
term_stat term; /* terminal emulation stuff */
int status; /* status (bitfield) */
u_short *cursor_pos; /* cursor buffer position */
@@ -197,6 +198,7 @@ static void set_vgaregs(char *modetable);
static void set_font_mode();
static void set_normal_mode();
static void copy_font(int operation, int font_type, char* font_image);
+static void set_destructive_cursor_size(scr_stat *scp);
static void draw_mouse_image(scr_stat *scp);
static void save_palette(void);
void load_palette(void);
OpenPOWER on IntegriCloud