Files
turbopascal-textgraf/README.md
T
2025-01-03 19:26:41 +01:00

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