antihaxor
January 2nd, 2002, 09:40 PM
Here is one to determine your video card (useful on systems with no documentation):The following debug routine will list the type of video card within your computer. This is an excellent way of determining the chipset on the card or the card within your computer without opening the computer.
At the C:\> type debug
-d c000:0040
After typing the above command you should receive several lines of text similar to:
C000:0040 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
C000:0050 E9 63 7B 00 B4 10 49 27 - E9 FE 2B E9 F7 2B 50 4D .c{...I'..+..+PM
C000:0060 49 44 58 00 5B 00 00 00 - 00 A0 00 B0 00 B8 00 C0 IDX.[...........
C000:0070 00 5B 53 54 42 20 6E 56 - 49 44 49 41 20 54 4E 54 .[STB nVIDIA TNT
C000:0080 20 76 65 72 2E 20 31 2E - 31 30 20 0D 0A 00 1B 43 ver. 1.10 ....C
C000:0090 6F 70 79 72 69 67 68 74 - 28 43 29 31 39 39 38 20 opyright(C)1998
C000:00A0 53 54 42 20 53 79 73 74 - 65 6D 73 20 49 6E 63 0D STB Systems Inc.
C000:00B0 0A 00 22 6C 2C 0A 01 00 - C3 50 24 7F E8 60 36 58 .."1,....P$..'6X
As you can pick out in the above dump this gives you enough information to determine the make and the year made on the video card. On line 4 you can see the make of this video card which in this case is a N VIDIA TNT which would be the Riva TNT chipset. The next line you notice the version of the card and finally the line thereafter is the copyright or the year manufactured generally.
If you are unable to capture any information which sounds like the video card you can also type
-d c000:0090
********************************************************************************************************
I use this one all the time to determine if a printer has a problem:
If you are encountering issues with your printer using the following debug command can help you discover what type of issues you are encountering:
1. Type debug at the MS-DOS prompt
2. At the - type in i379:
Anything less then eight for the second digit means printer error, first letter should be D other wise you will have some sort of error with the printer.
1 - 0001 9 - 1001
2 - 0010 A - 1010
3 - 0011 B - 1011
4 - 0100 C - 1100
5 - 0101 D - 1101
6 - 0110 E - 1110
7 - 0111 F - 1111
Example:
d = 1101 = (1)Selected (1)No paper error (0)Printer Acknowledged (1)Not busy
*******************************************************************************************************
The following debug routine will check the ports of the computer to allow you to know if ports are being detected or not.
Type debug to get to the "-"
Type D40:0
You should get several lines however the first line is the only important line which should read the following:
0040:0000 F8 03 F8 02 E8 03 E8 02 - 78 03 78 02 BC 03
F8 03 F8 02 E8 03 E8 02 78 03 78 02 BC 03
COM1 COM2 COM3 COM4 LPT1 LPT2 LPT3
The above graph shows you what the feed back means as far as port so if you se F8 03 this would be an indication that COM1 is being detected if you see 00 00 this is an indication that it is not being detect which could mean that hardware is bad or that it is disabled in cmos.
At the C:\> type debug
-d c000:0040
After typing the above command you should receive several lines of text similar to:
C000:0040 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
C000:0050 E9 63 7B 00 B4 10 49 27 - E9 FE 2B E9 F7 2B 50 4D .c{...I'..+..+PM
C000:0060 49 44 58 00 5B 00 00 00 - 00 A0 00 B0 00 B8 00 C0 IDX.[...........
C000:0070 00 5B 53 54 42 20 6E 56 - 49 44 49 41 20 54 4E 54 .[STB nVIDIA TNT
C000:0080 20 76 65 72 2E 20 31 2E - 31 30 20 0D 0A 00 1B 43 ver. 1.10 ....C
C000:0090 6F 70 79 72 69 67 68 74 - 28 43 29 31 39 39 38 20 opyright(C)1998
C000:00A0 53 54 42 20 53 79 73 74 - 65 6D 73 20 49 6E 63 0D STB Systems Inc.
C000:00B0 0A 00 22 6C 2C 0A 01 00 - C3 50 24 7F E8 60 36 58 .."1,....P$..'6X
As you can pick out in the above dump this gives you enough information to determine the make and the year made on the video card. On line 4 you can see the make of this video card which in this case is a N VIDIA TNT which would be the Riva TNT chipset. The next line you notice the version of the card and finally the line thereafter is the copyright or the year manufactured generally.
If you are unable to capture any information which sounds like the video card you can also type
-d c000:0090
********************************************************************************************************
I use this one all the time to determine if a printer has a problem:
If you are encountering issues with your printer using the following debug command can help you discover what type of issues you are encountering:
1. Type debug at the MS-DOS prompt
2. At the - type in i379:
Anything less then eight for the second digit means printer error, first letter should be D other wise you will have some sort of error with the printer.
1 - 0001 9 - 1001
2 - 0010 A - 1010
3 - 0011 B - 1011
4 - 0100 C - 1100
5 - 0101 D - 1101
6 - 0110 E - 1110
7 - 0111 F - 1111
Example:
d = 1101 = (1)Selected (1)No paper error (0)Printer Acknowledged (1)Not busy
*******************************************************************************************************
The following debug routine will check the ports of the computer to allow you to know if ports are being detected or not.
Type debug to get to the "-"
Type D40:0
You should get several lines however the first line is the only important line which should read the following:
0040:0000 F8 03 F8 02 E8 03 E8 02 - 78 03 78 02 BC 03
F8 03 F8 02 E8 03 E8 02 78 03 78 02 BC 03
COM1 COM2 COM3 COM4 LPT1 LPT2 LPT3
The above graph shows you what the feed back means as far as port so if you se F8 03 this would be an indication that COM1 is being detected if you see 00 00 this is an indication that it is not being detect which could mean that hardware is bad or that it is disabled in cmos.