mirror of
https://github.com/skoelle/turbopascal-textgraf.git
synced 2026-09-17 21:20:24 +00:00
30 lines
529 B
Markdown
30 lines
529 B
Markdown
# turbopascal-textgraf
|
|
Textmode and Graphics Mode Lib for Turbo Pascal on DOS (Predecessor of the X-LIB Unit)
|
|
|
|
## Compile
|
|
Compile.bat uses Turbo Pascal 6.0 installed in c:\progrs\tp\
|
|
```
|
|
compile.bat
|
|
```
|
|
|
|
## Usage
|
|
In your pascal code with add following usage
|
|
```
|
|
use textgraf
|
|
```
|
|
|
|
## Example Graphics Mode 13
|
|
|
|
```
|
|
case InitTextGraf of
|
|
1: begin end;
|
|
end;
|
|
GrafikMode($13);
|
|
```
|
|
|
|
## Methods
|
|
|
|
- InitTextGraf Init TextGraf Lib
|
|
- GrafikMode(int); Sets Graphics Mode
|
|
- setvgacolors(p); Sets VGA Colors
|