PCBUILD Archives

Personal Computer Hardware discussion List

PCBUILD@LISTSERV.ICORS.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Javier Vizcaino <[log in to unmask]>
Reply To:
PCBUILD - Personal Computer Hardware discussion List <[log in to unmask]>
Date:
Thu, 21 Jan 1999 10:27:26 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (67 lines)
Hi.
************************************
Javier Vizcaino. Ability Electronics. [log in to unmask]
http://www.automodelismo.com http://ability53.hypermart.net
  Starting point:        (-1)^(-1) = -1
  Applying logarithms: (-1)*ln(-1) = ln(-1)
  Since ln(-1) <> 0, dividing:  -1 = 1     (ln(-1) is
complex, but exists)


>
>There is a DEBUG routine that will delete most kinds of
partitions. The debug
>routine (below) will completely overwrite track zero of
your disk and wipe
>out all partitions. (DEBUG is a DOS command.)
It writes first sector on track 0, since dh=0 (head) and
cx=1 (bits 15-6 cilinder, 5-0 sector). BTW, having from day
1 reserved 10 bits for cilinder number caused the 1024
cilinders thing.

>
>You will need a bootable DOS diskette (95 or 98 Startup
Disk or MS-DOS
>diskette) with debug.exe on it. Please print this message
first.
>
>Be sure to mind your spaces and capital letters:

Well, DEBUG doesn't care too much. Even 'f200l200 0',
'a100', 'A100', 'movax,301', etc, work.

>debug<Enter>
>-F 200 L200 0<Enter>
>-a 100<Enter>
>-mov ax,301<Enter>
>-mov bx,200<Enter>
>-mov cx,1<Enter>
>-mov dx,0080<Enter> (change last 0 to 1 for drive D:, 2 for
drive E:)

Correctly, should be said 1 for second hard disk, 2 for
third disk, etc. Letters have no meaning at the partition
level.

>-int 13<Enter>
>-int 3<Enter>
>-<Enter>
>-G=100<Enter>


Above is very correct and will work, unless you do rare
things: it uses int 13 to do an absolute write on a hard
disk. But see that first command 'F' fills 200H bytes (one
sector) at ds:200, and int 13 with ah=3 writes using
es:[bx]. So if you make es<>ds manually, you won't write
0's.
Just after calling DEBUG, it starts with ds=es, as you can
check with 'r' (registers) command.
I suppose that the bios antivirus will be triggered doing
above. Say 'y', or disable it first. All this serves to
check if it works.

                Curious about the people moderating your
                   messages? Visit our staff web site:
                     http://nospin.com/pc/staff.html

ATOM RSS1 RSS2