»

TESTING PORTS

The below 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

COM1COM2COM3COM4
LPT1LPT2LPT3

The above graph shows you what the feed back means as far as port, so if you see 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 detected, which could mean that hardware is bad or that it is disabled in CMOS.

Once you have finished looking at the information, type Q and press enter to get out of Debug.

Posted by bisnisrich, Rabu, 14 November 2007 19.21 | 0 comments |

CLEAR CMOS

The below debug routine will clear CMOS, BIOS, Passwords, Settings, Viruses, and other items residing in the CMOS. During this process you may get returned characters which are an indication that the string has gone in, if you by chance get ERROR ensure that you have typed the line in correctly, if not retype. Ensure that you do not skip any lines, that it is ALL typed in correctly to help prevent problems. Before running this Debug routine also ensure that you have read the above disclaimer.

After typing debug you will get "-" which is were you can begin by typing A and pressing enter.

A
MOV AX,0
MOV AX,CX
OUT 70,AL
MOV AX,0
OUT 71,AL
INC CX
CMP CX,100
JB 103
INT 20
Note: Nothing is typed on this line
G By pressing G this will execute the above script, ensure you have read and agree to the above disclaimer.
Q

Then reboot and you will get a Setup Checksum Error. Go into setup, correct all the incorrect values, time, date...

Posted by bisnisrich, 19.20 | 0 comments |

Joystick

This test will test to see if your Joystick is present or not.

Type debug from the DOS prompt once at the "-".

Type i201

If you get a FF response attempt hold one of the main buttons on your joystick, and while holding the button down type i201 and see if a different response is given, each button on the joystick should return a different response. However, some special joysticks, such as the Microsoft Sidewinder, which has more than 4-5 buttons, may not return a response for all extra buttons because these buttons are generally controlled through software.

If a FF is still given on each of the buttons on the game paddle or joystick, it is a good possibility that either the Joystick and or the Joystick port is bad. If possible, attempt these steps with another known working joystick.

However, if you are receiving different responses when pressing and holding the keys on the joystick, the computer hardware is working properly.

Type q and press enter to quit out of debug.

Extra Note: Computer Hope has experienced issues where this debug routine may not work under Windows NT. If you are currently running Windows NT, refer to our page for Joystick installation procedures.

Posted by bisnisrich, 18.49 | 0 comments |

Getting into Windows Safe Mode

Windows 95 users

To get into Windows 95 safe mode, as the computer is booting, when you either hear a beep or when you see the message "Starting Windows 95", press your F8 key on the top of your keyboard. If done properly you should get into the Windows 95 Startup menu similar to the below screen. In this menu choose option 3 by pressing the 3 key and press enter.

Microsoft Windows 95 Startup Menu
=============================

1. Normal
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Step-by-step confirmation
5. Command prompt only
6. Safe mode command prompt only

Enter a choice: 1

F5=Safe Mode Shift+F5=Command prompt Shift+F8= Step-by-step confirmation [N]

Windows 98 / ME users

To get into Windows 98 / ME safe mode, as the computer is booting press and hold your "F8 key" on the top of your keyboard or press and hold the left or right Ctrl key as the computer is booting. If done properly you should get into the "Windows 98 / ME Startup Menu" similar to the below screen example. In this menu choose option 3 by pressing the 3 key and press enter.

Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message. If this occurs, instead of pressing and holding the "F8 key", tap the "F8 key" continuously until you get the startup menu.

Microsoft Windows 98 Startup Menu
=============================

1. Normal
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Step-by-step confirmation
5. Command prompt only
6. Safe mode command prompt only

Enter a choice: 1

F5=Safe Mode Shift+F5=Command prompt Shift+F8= Step-by-step confirmation [N]

Windows 2000 / XP users

Tip: If you are running safe mode because you cannot get into Windows you may want to first try loading the last known good configuration. Additional information about this mode can be found on document CH000626.

To get into the Windows 2000 / XP Safe mode, as the computer is booting press and hold your "F8 Key" which should bring up the "Windows Advanced Options Menu" as shown below. Use your arrow keys to move to "Safe Mode" and press your Enter key.

Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message. If this occurs, instead of pressing and holding the "F8 key", tap the "F8 key" continuously until you get the startup menu.

Trouble Getting into Windows 2000 or Windows XP Safe mode - If after several attempts you are unable to get into Windows 2000 or Windows XP safe mode as the computer is booting into Windows, turn off your computer. When the computer is turned on the next time Windows should notice that the computer did not successfully boot and give you the safe mode screen.


Windows Advanced Options Menu
Please select an option:

Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt

Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode

Start Windows Normally
Reboot
Return to OS Choices Menu

Use the up and down arrow keys to move the highlight to your choice.

Microsoft Windows Vista users

Tip: If you are running safe mode because you cannot get into Windows you may want to first try loading the last known good configuration. Additional information about this mode can be found on document CH000626.

To get into the Windows Vista Safe mode, as the computer is booting press and hold your "F8 Key" which should bring up the "Windows Advanced Options Menu" as shown below. Use your arrow keys to move to "Safe Mode" and press your Enter key.

Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message. If this occurs, instead of pressing and holding the "F8 key", tap the "F8 key" continuously until you get the startup menu.

Trouble Getting into Windows 2000 or Windows XP Safe mode - If after several attempts you are unable to get into Windows 2000 or Windows XP safe mode as the computer is booting into Windows, turn off your computer. When the computer is turned on the next time Windows should notice that the computer did not successfully boot and give you the safe mode screen.


Choose Advanced Options for: Microsoft Windows Vista
Please select an option:

Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt

Enable Boot Logging
Enable low-resolution video (640x480)
Last Known Good Configuration (advanced)
Directory Services Restore Mode
Debugging Mode
Disable automatic restart on system failure
Disable Driver Signature Enforcment

Start Windows Normally

Description: Start Windows with only the core drivers and services. Use
when you cannot boot after installing a new device or driver.

How do I get out of safe mode?

From Windows Safe Mode click Start / Shutdown and restart the computer. This should start the computer automatically back into Normal Mode.

Note: Many users believe that they are still in safe mode because the colors or video may not look correct. Unless in the corners of the screen it says "Safe Mode", you are not in safe mode. For information on how to setup your video card resolution, see document CH000190.

If you are rebooting the computer and it is rebooting back into Safe Mode (it does say "Safe Mode" in each of the corners), it is likely another problem exists with Windows preventing it from loading into Normal Windows. We recommend you see our basic troubleshooting section for additional ideas that may help to resolve your issue.

Which safe mode option should I choose?

Users who are running later versions of Windows will get several different options for different types of safe mode. For example, you may have options for "Safe Mode", "Safe Mode with Networking", and "Safe Mode with Command Prompt". Below is a brief description of each of these different modes.

Safe Mode

The basic Safe Mode option is usually what most users will want to choose when troubleshooting their computer. This is the most basic Safe Mode option and has no additional support.

Safe Mode with Networking

For users needing access to the Internet or the network they're connected to while in Safe Mode users may wish to choose this option. This mode is helpful for when you need to be in Safe Mode to troubleshoot but also need access to the Internet so you can get updates, drivers, or other files to help troubleshoot your issue.

Safe Mode with Command Prompt

This Safe Mode would also allow you to have access to the command line (MS-DOS prompt).

Posted by bisnisrich, Selasa, 13 November 2007 14.28 | 0 comments |

Windows Safe Mode

Windows 95 users

To get into Windows 95 safe mode, as the computer is booting, when you either hear a beep or when you see the message "Starting Windows 95", press your F8 key on the top of your keyboard. If done properly you should get into the Windows 95 Startup menu similar to the below screen. In this menu choose option 3 by pressing the 3 key and press enter.

Microsoft Windows 95 Startup Menu
=============================

1. Normal
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Step-by-step confirmation
5. Command prompt only
6. Safe mode command prompt only

Enter a choice: 1

F5=Safe Mode Shift+F5=Command prompt Shift+F8= Step-by-step confirmation [N]

Windows 98 / ME users

To get into Windows 98 / ME safe mode, as the computer is booting press and hold your "F8 key" on the top of your keyboard or press and hold the left or right Ctrl key as the computer is booting. If done properly you should get into the "Windows 98 / ME Startup Menu" similar to the below screen example. In this menu choose option 3 by pressing the 3 key and press enter.

Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message. If this occurs, instead of pressing and holding the "F8 key", tap the "F8 key" continuously until you get the startup menu.

Microsoft Windows 98 Startup Menu
=============================

1. Normal
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Step-by-step confirmation
5. Command prompt only
6. Safe mode command prompt only

Enter a choice: 1

F5=Safe Mode Shift+F5=Command prompt Shift+F8= Step-by-step confirmation [N]

Windows 2000 / XP users

Tip: If you are running safe mode because you cannot get into Windows you may want to first try loading the last known good configuration. Additional information about this mode can be found on document CH000626.

To get into the Windows 2000 / XP Safe mode, as the computer is booting press and hold your "F8 Key" which should bring up the "Windows Advanced Options Menu" as shown below. Use your arrow keys to move to "Safe Mode" and press your Enter key.

Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message. If this occurs, instead of pressing and holding the "F8 key", tap the "F8 key" continuously until you get the startup menu.

Trouble Getting into Windows 2000 or Windows XP Safe mode - If after several attempts you are unable to get into Windows 2000 or Windows XP safe mode as the computer is booting into Windows, turn off your computer. When the computer is turned on the next time Windows should notice that the computer did not successfully boot and give you the safe mode screen.


Windows Advanced Options Menu
Please select an option:

Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt

Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode

Start Windows Normally
Reboot
Return to OS Choices Menu

Use the up and down arrow keys to move the highlight to your choice.

Microsoft Windows Vista users

Tip: If you are running safe mode because you cannot get into Windows you may want to first try loading the last known good configuration. Additional information about this mode can be found on document CH000626.

To get into the Windows Vista Safe mode, as the computer is booting press and hold your "F8 Key" which should bring up the "Windows Advanced Options Menu" as shown below. Use your arrow keys to move to "Safe Mode" and press your Enter key.

Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message. If this occurs, instead of pressing and holding the "F8 key", tap the "F8 key" continuously until you get the startup menu.

Trouble Getting into Windows 2000 or Windows XP Safe mode - If after several attempts you are unable to get into Windows 2000 or Windows XP safe mode as the computer is booting into Windows, turn off your computer. When the computer is turned on the next time Windows should notice that the computer did not successfully boot and give you the safe mode screen.


Choose Advanced Options for: Microsoft Windows Vista
Please select an option:

Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt

Enable Boot Logging
Enable low-resolution video (640x480)
Last Known Good Configuration (advanced)
Directory Services Restore Mode
Debugging Mode
Disable automatic restart on system failure
Disable Driver Signature Enforcment

Start Windows Normally

Description: Start Windows with only the core drivers and services. Use
when you cannot boot after installing a new device or driver.

How do I get out of safe mode?

From Windows Safe Mode click Start / Shutdown and restart the computer. This should start the computer automatically back into Normal Mode.

Note: Many users believe that they are still in safe mode because the colors or video may not look correct. Unless in the corners of the screen it says "Safe Mode", you are not in safe mode. For information on how to setup your video card resolution, see document CH000190.

If you are rebooting the computer and it is rebooting back into Safe Mode (it does say "Safe Mode" in each of the corners), it is likely another problem exists with Windows preventing it from loading into Normal Windows. We recommend you see our basic troubleshooting section for additional ideas that may help to resolve your issue.

Which safe mode option should I choose?

Users who are running later versions of Windows will get several different options for different types of safe mode. For example, you may have options for "Safe Mode", "Safe Mode with Networking", and "Safe Mode with Command Prompt". Below is a brief description of each of these different modes.

Safe Mode

The basic Safe Mode option is usually what most users will want to choose when troubleshooting their computer. This is the most basic Safe Mode option and has no additional support.

Safe Mode with Networking

For users needing access to the Internet or the network they're connected to while in Safe Mode users may wish to choose this option. This mode is helpful for when you need to be in Safe Mode to troubleshoot but also need access to the Internet so you can get updates, drivers, or other files to help troubleshoot your issue.

Safe Mode with Command Prompt

This Safe Mode would also allow you to have access to the command line (MS-DOS prompt).

Posted by bisnisrich, Senin, 12 November 2007 16.20 | 0 comments |

ROUTINES DEBUG (Computer Debug Routines / Machine Code)

DISCLAIMER

The below debug routines are listed to help test and view extended information on your computer. However, some of these debug routines can also potentially damage computer components or cause them not to work properly. We are providing these debug routines as a reference. If these cause problems with the computer they are run on, Computer Hope will not be held responsible for your actions. We recommend that only experienced computer users run these commands and that you are fully aware of the potential hazards of using these routines.

When running any of the below routines you are agreeing to the above statement.

DEBUG ABCs

Debug is a MS-DOS command which can be used to enter machine language into the computer either to create programs or test computer peripherals by receiving back various computer machine code.

Within this page as well as other pages you will begin to understand how to utilize this great method of testing computer hardware, as well as learn the basics of machine code.

Additional information on the MS-DOS command debug can be found on our debug page.

ENTERING DEBUG

Debug has been included in every version of MS-DOS as well as Windows. When running any of the debug routines it is recommended that if you have Windows that you exit or shut down to get into a real DOS prompt (unless you're running Windows ME, Windows 2000, Windows XP, or later versions). Additional information about getting into MS-DOS can be found on document CHDOS.

Once at the MS- DOS prompt, run through the below example, this example is perfectly fine to run on any PC Computer running MS-DOS / Windows and will not harm anything.

Type debug and press enter.
This should get you to a - (small dash). This is the debug prompt.
At the - type d40:00 and press enter; this will return several lines of information.
(See Testing Ports for explanation of this feedback.)
After the feedback you will be back to the debug prompt.
To exit out of debug type q and press enter. This will return you back to the MS-DOS prompt.

In some of the below debug routines you will notice that a "g" is typed, then "q". G tells the computer that the code type is not self executing and must be run at this point. If completed, the program will return Program Terminated Normally which indicates you can now quit from the debug program.

UNDERSTANDING RESPONSES

Several of the debug routines listed within this page as well as several other of our pages will return responses in Hexadecimal format. It is recommended if you wish to understand some of the code within these routines that you get a familiarity of Hexadecimal. You can find information about Hexadecimal as well as Binary on our Binary & Hexadecimal page.

POSSIBLE ISSUES

If during the time you are typing the debug routine you receive ^error this is and indication that you have incorrectly typed something within the line just completed. You can type the line again without causing any problems with the routine.

Posted by bisnisrich, 06.27 | 0 comments |

sector ERASING

Before doing the below routine ensure that you have read our disclaimer and that you're sure that this is safe to do on your hard drive. Some computer hard drive manufacturers may void your warranty if this routine is ran or in some situations this can cause damage to the hard drive. This routine is useful in clearing DDO and unknown partitions. If this routine completes successfully it will erase everything in Sector 2.

In the below debug routine, only type what is in bold from line 3 to 9, you will get a response if typed in properly. If you get a response continue to type the bold text as shown below in the below example.

A:\>debug

-FCS:200 400 0
-ACS:100
-xxxx:0100 mov ax,302
-xxxx:0103 mov bx,200
-xxxx:0106 mov cx,2
-xxxx:0109 mov dx, 80
-xxxx:010a int 13
-xxxx:010c int 20
-xxxx:0110 (without typing anything)
-g
Program terminated normally.
-q

Posted by bisnisrich, 06.26 | 0 comments |