Category : Pascal Source Code
Archive   : TOOL-PAS.ZIP
Filename : VMODE.PAS

 
Output of file : VMODE.PAS contained in archive : TOOL-PAS.ZIP

uses dos,tools;

var
reg: registers;
s: string;

begin
if paramcount <> 1 then
begin
writeln('usage: vmode VIDEOMODE');
writeln(' vmode $HEXMODE');

writeln;
writeln('VGA video modes');
writeln(' 3 80x25 color text');
writeln(' 7 80X25 mono text');
writeln(' $12 80x30 color graphics');
writeln(' $50 80x30 color text');
writeln(' $51 80x43 color text');
writeln(' $52 80x60 color text');
writeln(' $53 132x25 color text 1056x');
writeln(' $54 132x30 color text 1056x');
writeln(' $55 132x43 color text 1056x');
writeln(' $56 132x60 color text 1056x');
writeln(' $57 132x25 color text 1188x');
writeln(' $58 132x30 color text 1188x');
writeln(' $59 132x43 color text 1188x');
writeln(' $5A 132x60 color text 1188x');
writeln(' $5B 100x75 color graphics');
writeln(' $5F 128x48 color graphics');
writeln(' $61 96x64 color graphics');

halt;
end;

s := paramstr(1);
if s[1] = '$' then
reg.ax := htoi(copy(s,2,99))
else
reg.ax := atoi(paramstr(1));
intr($10,reg);
end.



  3 Responses to “Category : Pascal Source Code
Archive   : TOOL-PAS.ZIP
Filename : VMODE.PAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/