Sample Basic Code to Display ROM-BIOS Date for an IBM PC (33706)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft GW-Basic Interpreter 3.20
- Microsoft GW-Basic Interpreter 3.22
- Microsoft GW-Basic Interpreter 3.23
- Microsoft Basic Professional Development System for MS-DOS 7.0
This article was previously published under Q33706 SUMMARY
Getting the ROM-BIOS (Read-Only Memory, Basic Input/Output System)
date for a computer can be an important clue in diagnosing a variety
of potential hardware- and software-compatibility problems.
Page 60 of "The Peter Norton Programmer's Guide to the IBM PC"
(published by Microsoft Press, 1985) provides the following Basic
program to display the ROM-BIOS date in month-day-year format for an
IBM PC:
' To try this example in VBDOS.EXE:
' 1. From the File menu, choose New Project.
' 2. Copy the code example to the Code window.
' 3. Press F5 to run the program.
DEF SEG = &HF000
FOR i = 0 TO 7
PRINT CHR$(PEEK(&HFFF5 + i));
NEXT
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB33706 |
---|
|