Changes in v1.7.5 (8/21/2002) (brianp)
authorBrian Palmer <brianp@sginet.com>
Thu, 22 Aug 2002 05:33:59 +0000 (05:33 +0000)
committerBrian Palmer <brianp@sginet.com>
Thu, 22 Aug 2002 05:33:59 +0000 (05:33 +0000)
- biosvid.S (BiosVideoDisableBlinkBit): Added code to
  disable the blink bit in the text mode character
  attribute byte so that the full range of
  background colors can be used.

svn path=/trunk/; revision=3374

freeldr/freeldr/CHANGELOG
freeldr/freeldr/arch/i386/biosvid.S
freeldr/freeldr/include/version.h
freeldr/freeldr/include/video.h
freeldr/freeldr/ui/ui.c

index 041f60d..742db0b 100644 (file)
@@ -1,3 +1,10 @@
+Changes in v1.7.5 (8/21/2002) (brianp)
+
+- biosvid.S (BiosVideoDisableBlinkBit): Added code to
+  disable the blink bit in the text mode character
+  attribute byte so that the full range of
+  background colors can be used.
+
 Changes in v1.7.4 (8/20/2002) (brianp)
 
 - Boot sector code now reports to freeldr.sys the partition
index 8bca7da..5037ec7 100644 (file)
@@ -586,3 +586,37 @@ EXTERN(_VideoGetTextCursorPositionY)
 
 
 
+/*
+ * VOID BiosVideoDisableBlinkBit(VOID);
+ */
+EXTERN(_BiosVideoDisableBlinkBit)
+       .code32
+
+       pushal
+
+       call    switch_to_real
+
+       .code16
+
+       /* Toggle Intensity/Blinking Bit */
+       /* AX = 1003h */
+       /* BL = new state */
+       /*   00h background intensity enabled */
+       /*   01h blink enabled */
+       /* Note: although there is no function to get */
+       /* the current status, bit 5 of 0040h:0065h */
+       /* indicates the state. */
+       movw    $0x1003,%ax
+       movb    $0x00,%bl
+       int             $0x10
+
+       call    switch_to_prot
+
+       .code32
+
+       popal
+
+       ret
+
+
+
index 723ab50..fbe270f 100644 (file)
@@ -22,7 +22,7 @@
 
 
 /* just some stuff */
-#define VERSION                        "FreeLoader v1.7.4"
+#define VERSION                        "FreeLoader v1.7.5"
 #define COPYRIGHT              "Copyright (C) 1998-2002 Brian Palmer <brianp@sginet.com>"
 #define AUTHOR_EMAIL   "<brianp@sginet.com>"
 #define BY_AUTHOR              "by Brian Palmer"
@@ -36,7 +36,7 @@
 //
 #define FREELOADER_MAJOR_VERSION       1
 #define FREELOADER_MINOR_VERSION       7
-#define FREELOADER_PATCH_VERSION       4
+#define FREELOADER_PATCH_VERSION       5
 
 
 PUCHAR GetFreeLoaderVersionString(VOID);
index f13fb71..55cc48a 100644 (file)
@@ -51,8 +51,9 @@ VOID  BiosSet350ScanLines(VOID);                                              // Implemented in biosvid.S, must be called
 VOID   BiosSet400ScanLines(VOID);                                              // Implemented in biosvid.S, must be called right before BiosSetVideoMode()
 VOID   BiosSet480ScanLines(VOID);                                              // Implemented in biosvid.S, must be called right after BiosSetVideoMode()
 VOID   BiosSetVideoDisplayEnd(VOID);                                   // Implemented in biosvid.S
+VOID   BiosVideoDisableBlinkBit(VOID);                                 // Implemented in biosvid.S
 
-VOID   VideoSetTextCursorPosition(U32 X, U32 Y);       // Implemented in biosvid.S
+VOID   VideoSetTextCursorPosition(U32 X, U32 Y);               // Implemented in biosvid.S
 VOID   VideoHideTextCursor(VOID);                                              // Implemented in biosvid.S
 VOID   VideoShowTextCursor(VOID);                                              // Implemented in biosvid.S
 U32            VideoGetTextCursorPositionX(VOID);                              // Implemented in biosvid.S
index 7d82fdf..7ea62a6 100644 (file)
@@ -183,6 +183,7 @@ BOOL UiInitialize(VOID)
 
        VideoClearScreen();
        VideoHideTextCursor();
+       BiosVideoDisableBlinkBit();
 
        // Draw the backdrop and title box
        UiDrawBackdrop();