home *** CD-ROM | disk | FTP | other *** search
- program Direct;
-
- { Program copyright (c) 1995 by Charles Calvert }
- { Project Name: DIRECT }
-
- var
- Video: array[0..3999] of Byte absolute $B800:$0000; {Address Video Screen}
- A: Byte; { Character and attribute to write to the screen }
- i: Integer; { Counter }
-
- begin
- A := 65; { Initialize character to 'A' }
- for i := 0 to 3999 do begin { Iterate through video memory }
- Move(A, Video[i], 1); { Write to video memory }
- if ((i + 1) mod 160 = 0) then Inc(A); { Increment character }
- end; { end loop }
- ReadLn; { Pause so user can see result }
- end.
-