home *** CD-ROM | disk | FTP | other *** search
- PRODUCT : TURBO PASCAL NUMBER : 198
- VERSION : 3.0xx
- OS : PC-DOS
- DATE : July 11, 1986
-
- TITLE : VIDEO ATTRIBUTES
-
- The following table lists possible installations available for
- the IBM implementation of Turbo Pascal using a color monitor.
- Included are the locations in the TURBO.COM file where the
- attributes for the indicated text intensities can be found.
- Using the DOS program, DEBUG.COM you may access these locations
- and make any desired changes.
-
- ________________________________________________________________
-
- Install | Menu Highlight| Menu LowVideo | Block | Error
- Turbo | Edited Text | Editor Status | Highlight | Msgs
- Pascal | Text OutPut | Line HEX | HEX |
- using TINST | Hex Color | Location | Location |
- ________________________________________________________________
-
- Color, | | | |
- Default | 0177 | 0178 | 0179 | 017A
- ________________________________________________________________
-
- Monochrome | 016F | 0170 | 0171 | 0172
- ________________________________________________________________
-
- Black & | | | |
- White | 0173 | 0174 | 0175 | 0176
- ________________________________________________________________
-
- Assuming Turbo Pascal has been installed for a color monitor:
-
- 1. Using DEBUG to edit location 0177 of the TURBO.COM file.
-
- 2. Change it from the default value of $0E (Norm Video) to $8E
- (Blinking Video).
-
- 3. Save the modification and run Turbo Pascal to see the
- results.
-
- 4. This modification will cause all Normal Video characters to
- blink. This includes the Error Messages Screen, the Main Menu,
- and the text in the Text Editor.
-
- Notes:
-
- Bit Map of the byte at these addresses are:
-
- High bit 8 - - - Blink Attribute
- 7..4 - BackGround Color
- Low bit 3..0 - ForeGround Color
-
- To modify the border color use: Port[$3D9] := i; {i = 0..15}
-
- The following table is a list of the color combinations available
- when patching Turbo Pascal. For example, the value 35 Hex would
- give you Light Cyan text with a Magenta background.
-
- Hex # BackGround Colors TextColors
- ________________________________________________________________
-
- 1 Dark Blue Dark Blue
- 2 Green Green
- 3 Light Cyan Light Cyan
- 4 Red Red
- 5 Magenta Magenta
- 6 Brown Brown
- 7 Light Gray Gray
- 8 Black + Blink Dark Gray
- 9 Light Blue + Blink Light Blue
- A Green + Blink Light Green
- B Cyan + Blink Cyan
- C Red + Blink Light Red
- D Magenta + Blink Magenta
- E Brown + Blink Yellow
- F Gray + Blink White
-
-
-