[TP] 50 tekstregels ipv 25

Pagina: 1
Acties:

  • TheLunatic
  • Registratie: April 2001
  • Laatst online: 09-07 16:41

TheLunatic

Ouwe boxen.

Topicstarter
Normaal gesproken heb je in een dos-box 25 regels en 80 kolommen. Met het commando
code:
1
mode con: lines=50

kun je hier 50 regels van maken. Maar hoe kun je nou zorgen, dat als iemand mijn TP-proggie opstart dat 'ie meteen vanzelf het aantal regels op 50 zet, zondat dat via een batch-file te doen? Dus gewoon in het programmatje zelf?

Mother, will they like this song?


  • _JGC_
  • Registratie: Juli 2000
  • Nu online
Misschien met assembler gaan knutselen?

  • Tsjipmanz
  • Registratie: Oktober 2000
  • Laatst online: 13-05 14:52

Tsjipmanz

Der Rudi ist da

Volgens mij heb je in TurboPascal verschillende screen-modes, weet t niet zeker. Ik denk dat je daarmee moet gaan omkutten...

There's no such thing as a mistake, just happy accidents - Bob Ross
Relaxte muziek: altijd okee!
- Soulseek rulez -


  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

klopt
iets van crtmode ( 80,50 ) ofzo :? (gok)

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


Verwijderd

code:
1
2
3
4
5
6
7
8
9
10
procedure TextMode(Mode: Integer);

{ CRT modes }

  BW40      = 0;        { 40x25 B/W on Color Adapter }
  CO40      = 1;        { 40x25 Color on Color Adapter }
  BW80      = 2;        { 80x25 B/W on Color Adapter }
  CO80      = 3;        { 80x25 Color on Color Adapter }
  Mono      = 7;        { 80x25 on Monochrome Adapter }
  Font8x8    = 256;     { Add-in for ROM font }

vb:
TextMode(C080);

  • TheLunatic
  • Registratie: April 2001
  • Laatst online: 09-07 16:41

TheLunatic

Ouwe boxen.

Topicstarter
Avatar, jouw manier werkt wel, maar het gaat hier om de regels, jouw manier verandert het aantal kolommen (40 of 80), en niet het aantal regels (altijd 25)

Mother, will they like this song?


  • JayTaph
  • Registratie: Oktober 1999
  • Laatst online: 28-11-2025

JayTaph

Portability is for canoes.

code:
1
textmode (co80 + font8x8);

Yo dawg, I heard you like posts so I posted below your post so you can post again.


  • TheLunatic
  • Registratie: April 2001
  • Laatst online: 09-07 16:41

TheLunatic

Ouwe boxen.

Topicstarter
Op zaterdag 17 november 2001 10:56 schreef JayTaph het volgende:
code:
1
textmode (co80 + font8x8);
You the man ! Thanks dit werkt !

Mother, will they like this song?

Pagina: 1