home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
PASCAL
/
PARADIS1
/
TIMTRIK.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-01-30
|
1KB
|
37 lines
(10735) Wed 3 Jul 91 19:22
By: Sten Kalenda
To: Jan Feijes
Re: Different video segment trick
St:
---------------------------------------------------------------------------
@MSGID: 2:512/29.999 28726a57
Hello Jan,
Sorry, ScrBase is my own variable. It should be defined as follows:
Var ScrBase : Word;
But anyway, as You have desided to use the TP WriteLn you must force TURBO
to do all the screen IO using the (slow) BIOS routines.
EXAMPLE:
Program UnderDesqView;
Uses Crt;
var
Timer : Longint absolute $0040:$006C; { BIOS timer ticks }
begin
DirectVideo:=false; { is true by default }
repeat
GoToXY(1,1);
Write('Timer ticks:',Timer:15);
until KeyPressed;
if ReadKey=#0 then if ReadKey=#0 then; { flush the keyboard }
end.
ByBy and gegroet,
S10.
--- XRS! 4.00
* Origin: **** This is a QMX-user from RCC-BBS node 512/29 (RAX 2:512/29.999)
@PATH: 30027/999 512/29 39 0 1007