home *** CD-ROM | disk | FTP | other *** search
- Program TBIOSu;
-
- Uses
-
- VTypesu,
- VGenu,
- VBIOSu;
-
- Var
-
- Z : INTEGER;
-
- BEGIN
-
- WriteLn('VisionTools VBIOSu Tester; Version 1.0');
-
- WriteLn;
-
- WriteLn('Serial I/O Ports');
-
- For Z:=1 to 4 Do
- WriteLn(' COM',Z,' ............ ',
- IntToHex( BiosMemMap^.ComAddr[Z] ) );
-
-
- WriteLn;
- WriteLn('Parallel I/O Ports');
-
- For Z:=1 to 4 Do
- WriteLn(' LPT',Z,' ............ ',
- IntToHex( BiosMemMap^.LptAddr[Z] ) );
-
- WriteLn;
- WriteLn('Equipment Word .... ', WordToHex( BiosMemMap^.Equip ) );
-
- WriteLn('Base Memory ....... ', BiosMemMap^.BaseMem, 'k');
-
-
- WriteLn;
- WriteLn('Keyboard');
- WriteLn(' Buffer head ..... ', BiosMemMap^.KbdBufhead );
- WriteLn(' Buffer tail ..... ', BiosMemMap^.KbdBuftail );
-
-
- WriteLn;
- WriteLn('Video');
- WriteLn(' Current Mode .... ', BiosMemMap^.VidCurrMode );
- WriteLn(' # of columns .... ', BiosMemMap^.VidCurrCol );
- WriteLn(' Page size ....... ', BiosMemMap^.VidPageSize );
- WriteLn(' Curr Page Ofs ... ',
- WordToHex( BiosMemMap^.VidCurrPageAddr ) );
-
- WriteLn(' Curr Page Num ... ', BiosMemMap^.VidCurrPage );
-
- Writeln(' CRT I/O Port .... ',
- WordToHex( BiosMemMap^.VidCrtCtrlAddr ) );
-
-
- WriteLn;
- WriteLn('Timer');
- WriteLn(' # ticks today ... ', BiosMemMap^.TimerTicksToday );
- WriteLn(' # days .......... ', BiosMemMap^.TimerDaysSinceBoot );
-
-
- END.