<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-114571967287709197</id><updated>2012-02-16T15:04:48.021-06:00</updated><title type='text'>MLG</title><subtitle type='html'>Just my own private notes that bore everyone else to tears...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-114571967287709197.post-330707282939371844</id><published>2010-07-12T18:55:00.003-06:00</published><updated>2010-07-12T19:04:25.252-06:00</updated><title type='text'>PC Magazine, September 1997</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_2VXep47MhDY/TDu7imr5hsI/AAAAAAAAIno/EsxEU21Kj_8/s1600/1997-07_PCWORLD_Tip-Enlarged.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 266px; height: 400px;" src="http://1.bp.blogspot.com/_2VXep47MhDY/TDu7imr5hsI/AAAAAAAAIno/EsxEU21Kj_8/s400/1997-07_PCWORLD_Tip-Enlarged.jpg" alt="" id="BLOGGER_PHOTO_ID_5493190373683070658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2VXep47MhDY/TDu5pfcgt9I/AAAAAAAAInY/2E2LyJu3CW4/s1600/1997-07_PCWORLD_Tip.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 306px; height: 400px;" src="http://3.bp.blogspot.com/_2VXep47MhDY/TDu5pfcgt9I/AAAAAAAAInY/2E2LyJu3CW4/s400/1997-07_PCWORLD_Tip.jpg" alt="" id="BLOGGER_PHOTO_ID_5493188292975310802" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/114571967287709197-330707282939371844?l=mlgs22.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/330707282939371844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=114571967287709197&amp;postID=330707282939371844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/330707282939371844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/330707282939371844'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/2010/07/pc-magazine-september-1997.html' title='PC Magazine, September 1997'/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_2VXep47MhDY/TDu7imr5hsI/AAAAAAAAIno/EsxEU21Kj_8/s72-c/1997-07_PCWORLD_Tip-Enlarged.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-114571967287709197.post-5840828864779747799</id><published>2010-07-01T00:01:00.000-06:00</published><updated>2010-07-12T18:28:20.596-06:00</updated><title type='text'>Resources</title><content type='html'>2600&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Low-level_programming_language"&gt;Low-Level Programming Language&lt;/a&gt;&lt;br /&gt;&lt;a href="http://susam.in/articles/boot-sector-code.php"&gt;Writing Boot Sector Code&lt;/a&gt; (SPal) - simple&lt;br /&gt;Interrupt 13 editor &lt;a href="http://www.hhdsoftware.com/Products/home/hex-editor-free.html"&gt;Neo&lt;/a&gt;&lt;br /&gt;walking the FAT / creating cross-links, etc.&lt;br /&gt;&lt;a href="http://www.ntfs.com/ntfs-partition-boot-sector.htm"&gt;NTFS&lt;/a&gt;&lt;br /&gt;MS &lt;a href="http://support.microsoft.com/kb/140418"&gt;Detail of FAT boot sector&lt;/a&gt;&lt;br /&gt;MS &lt;a href="http://support.microsoft.com/kb/149877"&gt;BRS Not Found&lt;/a&gt; AA55&lt;br /&gt;&lt;a href="http://www.cs.cmu.edu/afs/cs/user/ralf/pub/WWW/"&gt;Ralf&lt;/a&gt;, &lt;a href="http://garbo.uwasa.fi/"&gt;Timo&lt;/a&gt;, &lt;a href="http://www.frontiernet.net/%7Efys/index.htm"&gt;Ben&lt;/a&gt;, &lt;a href="http://webster.cs.ucr.edu/"&gt;AoA&lt;/a&gt;, &lt;a href="http://micro.magnet.fsu.edu/primer/"&gt;Michael Davidson&lt;/a&gt;, FSU&lt;br /&gt;W95b - boot sector change: &lt;a href="http://home.att.net/%7Erayknights/pc_boot/w95bboot.htm"&gt;new BPB parameters&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.softwareforeducation.com/sms32v50/"&gt;Microprocessor Simulator&lt;/a&gt; - Neil (***** beginners)&lt;br /&gt;&lt;a href="http://www.x86-64.org/downloads.html"&gt;AMD64&lt;/a&gt; x86 under GNU/Linux&lt;br /&gt;&lt;a href="http://www.emu8086.com/"&gt;8086 Microprocessor Emulator&lt;/a&gt; (mine)&lt;br /&gt;&lt;br /&gt;My Stuff&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2008/08_jan/feature.html"&gt;Vista Tips&lt;/a&gt; (HAL-PC Magazine) 1/2008&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2006/06_aug/bloggingIntro.html"&gt;Introduction to Blogging&lt;/a&gt; (HAL-PC Magazine) 8/2006&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2006/06_aug/blogging.html"&gt;Blogger: Adding a Photo&lt;/a&gt; (HAL-PC Magazine) 8/2006&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2004/04_march/tips.html"&gt;Your Questions Answered&lt;/a&gt; (HAL-PC Magazine) 4/2004&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/03july/Feature/humor/humor.html"&gt;(Computer) Humor Resources&lt;/a&gt; (HAL-PC Magazine) 7/2003&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2003/03_june/Feature/slogan/slogan.html"&gt;Slogans&lt;/a&gt; (HAL-PC Magazine) 6/2003&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2003/03_june/Support/identify/identify.html"&gt;Identify Internal Hardware&lt;/a&gt; (HAL-PC Magazine) 6/2003&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/03may/Support/win/win.html"&gt;The Windows "Grid" Problem&lt;/a&gt; (HAL-PC Magazine) 5/2003&lt;br /&gt;&lt;a href="http://www.hal-pc.org/journal/2003/03_apr/Feature/quick/quick.html"&gt;Quick Tips for Microsoft Word&lt;/a&gt; (HAL-PC Magazine) 3/2003 (index entry wrong)&lt;br /&gt;&lt;a href="http://micro.magnet.fsu.edu/reviews/halpc/zoo.html"&gt;What's Really Inside Your Computer&lt;/a&gt;&lt;br /&gt;&lt;a href="http://noccc.org/bytes/articles/v01/306.html"&gt;Windows Tips, Tricks &amp;amp; Tweaks&lt;/a&gt; - 2/99&lt;br /&gt;&lt;a href="http://www.noccc.org/bytes/articles/v01/350.html"&gt;HTML is a 4-Letter Word&lt;/a&gt; - 7/99&lt;br /&gt;&lt;a href="http://www.slobytes.org/newsletter/nl0203.pdf"&gt;SLO Bytes Hard Copy&lt;/a&gt; 2/2003 (page 5)&lt;br /&gt;&lt;a href="http://www.slobytes.org/newsletter/nl0504.pdf"&gt;SLO Bytes Hard Copy &lt;/a&gt;5/2004 (p 5)&lt;br /&gt;&lt;a href="http://tech.groups.yahoo.com/group/EmailList-Managers/message/51742"&gt;return path&lt;/a&gt;&lt;br /&gt;&lt;a href="http://channels.lockergnome.com/windows/backissues/19990712.phtml"&gt;Lockergnome&lt;/a&gt; 2/99&lt;br /&gt;&lt;a href="http://www.qtm.net/epcug/news/news9805.htm#n"&gt;Windows 3.x Shortcuts&lt;/a&gt;&lt;br /&gt;&lt;a href="http://harris-cnty.tamu.edu/mg/urban/docs/oct2002.pdf"&gt;Urban Dirt&lt;/a&gt; (Harris County Tx A&amp;amp;M) (page 5)&lt;br /&gt;&lt;a href="http://tampa-bay.org/bitsarchives/pdf_files/2004/2004-05.pdf"&gt;Bits &amp;amp; Bytes 05/2004&lt;/a&gt; "Ask The Expert" (page 13)&lt;br /&gt;&lt;a href="http://www.zoominfo.com/people/Giggleman_M._11530220.aspx"&gt;ZoomInfo Business&lt;/a&gt; - as M. Giggleman&lt;br /&gt;&lt;a href="http://www.zoominfo.com/people/Giggleman_M.L._19867586.aspx"&gt;ZoomInfo Business&lt;/a&gt; - as ML Giggleman&lt;br /&gt;&lt;a href="http://www.hal-pc.org/minutes/approved_minutes_2003/minutes0603.pdf"&gt;HAL-PC Minutes 2003&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;TO DO:&lt;br /&gt;&lt;br /&gt;Collection of Debug "recipes" for low-level hardware access aka Debug Cookbook&lt;br /&gt;Series of articles published during mid-90's in DOS World outlining uses of DEBUG for assembly programming&lt;br /&gt;Tutorials written for University of Guad. on Assembly Language&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/114571967287709197-5840828864779747799?l=mlgs22.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/5840828864779747799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=114571967287709197&amp;postID=5840828864779747799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/5840828864779747799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/5840828864779747799'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/2008/04/resources.html' title='Resources'/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-114571967287709197.post-1923483990152305823</id><published>2010-06-12T19:11:00.000-06:00</published><updated>2010-07-12T19:13:11.052-06:00</updated><title type='text'></title><content type='html'>DESCRIPTION: Using DEBUG to Lock and Unlock a Hard Drive&lt;br /&gt;SAVE AS: HD_LOCK.TXT                                       &lt;br /&gt;AUTHOR: M. L. Giggleman  &lt;br /&gt;&lt;br /&gt;  When FDISK partitions a hard disk, it stores information in a&lt;br /&gt;  64-byte table called the DISK PARTITION TABLE. The table starts&lt;br /&gt;  at offset 1BEh from the beginning of the first sector and holds&lt;br /&gt;  four 16-byte entries, each corresponding to one partition on&lt;br /&gt;  the disk.&lt;br /&gt;&lt;br /&gt;  The 5th byte of every entry is the SYSTEM INDICATOR BYTE. It&lt;br /&gt;  identifies the operating system that owns the corresponding&lt;br /&gt;  partition. A value of 0 means an unused partition; any other&lt;br /&gt;  value is an operating system identifier. DOS uses 1, 4, and 6&lt;br /&gt;  to specify the size of its partitions, where 1 means less than&lt;br /&gt;  16MB, 4 denotes 16 to 32MB, and 6 identifies a large (greater&lt;br /&gt;  than 32MB) partition. Extended DOS partitions-those containing&lt;br /&gt;  logical drives not defined in the master partition table-are&lt;br /&gt;  indicated with 5.&lt;br /&gt;&lt;br /&gt;  Under DOS, a primary partition can hold only one logical drive&lt;br /&gt;  (C:). Defining additional logical drives (D:, E:, and so on) on&lt;br /&gt;  the same hard disk requires creating an extended DOS partition&lt;br /&gt;  and subdividing into the desired drives.&lt;br /&gt;&lt;br /&gt;  DOS scans the partition table at start up, assigning a drive&lt;br /&gt;  letter to each valid partition it owns. Partitions with a&lt;br /&gt;  system indicator byte of 0 are not assigned drive letters.&lt;br /&gt;  Attempting to access a partition that has no drive letter,&lt;br /&gt;  generates an ``Invalid drive specification'' message from DOS.&lt;br /&gt;&lt;br /&gt;  If the system indicator byte for each partition is 0, DOS will&lt;br /&gt;  not recognize the hard disk. This is easy to do with DEBUG&lt;br /&gt;  directly. It's easier still with a short utility, LOCK.COM, and&lt;br /&gt;  its companion program, UNLOCK.COM, created using DEBUG.&lt;br /&gt;&lt;br /&gt;  ONLY use LOCK on disks partitioned with FDISK. DO NOT USE with&lt;br /&gt;  a third-party disk utility that creates non-standard partition&lt;br /&gt;  tables (such as Disk Manager).&lt;br /&gt;&lt;br /&gt;  Run LOCK.COM only on the PC used to create it. UNLOCK is&lt;br /&gt;  created for a particular hard disk; using it on another hard&lt;br /&gt;  drive could render it unusable.&lt;br /&gt;&lt;br /&gt;  If the hard drive is repartitioned, the procedure for creating&lt;br /&gt;  UNLOCK.COM must be repeated after the repartitioning is&lt;br /&gt;  complete, to ensure the system indicator values that UNLOCK&lt;br /&gt;  writes to the partition table reflect the new ones created by&lt;br /&gt;  FDISK during the repartition.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Before generating LOCK.COM&lt;br /&gt;&lt;br /&gt;  (1) Make a bootable system disk and test.&lt;br /&gt;&lt;br /&gt;  (2) Use MIRROR /PARTN to backup the partition table to the&lt;br /&gt;      floppy (DOS 5.0).&lt;br /&gt;&lt;br /&gt;  (3) Copy UNFORMAT.COM (DOS 5.0) to the diskette. UNFORMAT&lt;br /&gt;      /PARTN will restore the partition table from the floppy&lt;br /&gt;      disk.&lt;br /&gt;&lt;br /&gt;  (4) Create UNLOCK.COM and copy to the floppy BEFORE executing&lt;br /&gt;      LOCK.COM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TO CREATE LOCK.COM:&lt;br /&gt;&lt;br /&gt;  Enter the DEBUG commands below in a text file. To compile,&lt;br /&gt;  type:&lt;br /&gt;&lt;br /&gt;                DEBUG &lt; filename&lt;br /&gt;&lt;br /&gt;  at the DOS prompt to produce the 49-byte LOCK.COM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        A 0100&lt;br /&gt;        MOV AX,0201                 ;Read the partition&lt;br /&gt;        MOV BX,0200                 ;table from the hard&lt;br /&gt;        MOV CX,0001                 ;disk&lt;br /&gt;        MOV DX,0080&lt;br /&gt;        INT 13&lt;br /&gt;        MOV BYTE PTR [03C2],00      ;Zero out the system&lt;br /&gt;        MOV BYTE PTR [03D2],00      ;indicator bytes&lt;br /&gt;        MOV BYTE PTR [03E2],00&lt;br /&gt;        MOV BYTE PTR [03F2],00&lt;br /&gt;        MOV AX,0301                 ;Write the revised&lt;br /&gt;        MOV BX,0200                 ;partition table back&lt;br /&gt;        MOV CX,0001                 ;to the hard disk&lt;br /&gt;        MOV DX,0080&lt;br /&gt;        INT 13&lt;br /&gt;        RET                         ;Return to DOS&lt;br /&gt;&lt;br /&gt;        N LOCK.COM&lt;br /&gt;        RCX&lt;br /&gt;        31&lt;br /&gt;        W&lt;br /&gt;        Q&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TO CREATE UNLOCK.COM:&lt;br /&gt;&lt;br /&gt;  UNLOCK.COM begins as LOCK.COM's identical twin. Create by&lt;br /&gt;  copying LOCK.COM to UNLOCK.COM. Now start DEBUG, but DON'T load&lt;br /&gt;  UNLOCK.COM. Instead type:&lt;br /&gt;&lt;br /&gt;        A 0100&lt;br /&gt;        MOV AX,0201&lt;br /&gt;        MOV BX,0200&lt;br /&gt;        MOV CX,01&lt;br /&gt;        MOV DX,80&lt;br /&gt;        INT 13&lt;br /&gt;        RET&lt;br /&gt;        G=0100 010E&lt;br /&gt;        D 03C2 L1&lt;br /&gt;        D 03D2 L1&lt;br /&gt;        D 03E2 L1&lt;br /&gt;        D 03F2 L1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  In response to each of the last four commands, DEBUG will&lt;br /&gt;  display an 8-digit address in segment:offset format, followed&lt;br /&gt;  by a single hexadecimal number. A typical response is&lt;br /&gt;&lt;br /&gt;               1683:03C0   06&lt;br /&gt;&lt;br /&gt;  Write down the hexadecimal value output by each command (for&lt;br /&gt;  example, 06 in the line above). These are the system indicator&lt;br /&gt;  values currently recorded in the hard disk master partition&lt;br /&gt;  table.&lt;br /&gt;&lt;br /&gt;  Type Q to quit DEBUG. Start it again, this time loading&lt;br /&gt;  UNLOCK.COM. At the prompt, enter&lt;br /&gt;&lt;br /&gt;        E 0112 ww&lt;br /&gt;        E 0117 xx&lt;br /&gt;        E 011C yy&lt;br /&gt;        E 0121 zz&lt;br /&gt;        W&lt;br /&gt;        Q&lt;br /&gt;&lt;br /&gt;  replacing ww, xx, yy, and zz with the 4 values writen down&lt;br /&gt;  earlier. UNLOCK.COM will be patched to restore the original&lt;br /&gt;  system indicator values.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;USING LOCK:&lt;br /&gt;&lt;br /&gt;  Lock the hard drive. After the reboot, DOS will not recognize&lt;br /&gt;  the hard drive. Test it by rebooting from drive A: and type DIR&lt;br /&gt;  C:. DOS should return an "Invalid drive specification" message.&lt;br /&gt;  To unlock the hard drive, type UNLOCK and reboot.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference: Jeff Prosise, 12/22/92 PC Magazine, Tutor Column&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;HARDLOCK.DOC&lt;br /&gt;&lt;br /&gt;  I have been using a software scheme to secure a hard drive that&lt;br /&gt;  is almost bulletproof. The first sector on a hard disk is NOT&lt;br /&gt;  part of DOS. It is the partition table. DOS is incapable of&lt;br /&gt;  reading or writing to this area. Even the Load and Save&lt;br /&gt;  commands in DEBUG cannot access the partition table. It is only&lt;br /&gt;  accessable through BIOS (Interrupt 13H).&lt;br /&gt;&lt;br /&gt;  On boot, the BIOS reads the partition table, and it finds and&lt;br /&gt;  reads the boot sector for DOS. To protect a hard disk, simply&lt;br /&gt;  destroy the signature area at the end of the partition table.&lt;br /&gt;  When the machine is booted, even with a floppy, DOS will not&lt;br /&gt;  acknowledge the presence of a hard disk. The ONLY way to regain&lt;br /&gt;  access to the disk is to run the HARDUNL program from floppy,&lt;br /&gt;  or run FDISK and reformat the hard disk.&lt;br /&gt;&lt;br /&gt;  This is a key-disk scheme that requires the system to be booted&lt;br /&gt;  twice. First to run HARDUNL from a floppy and second using&lt;br /&gt;  Ctrl-Alt-Del to boot from the hard disk. If the key-disk is&lt;br /&gt;  misplaced or damaged, the HARDUNL program can be keyed in under&lt;br /&gt;  DEBUG and run.&lt;br /&gt;&lt;br /&gt;  Run HARDLOCK to secure the drive; it will take effect at the&lt;br /&gt;  next boot. Run HARDUNL from a system floppy to unlock the&lt;br /&gt;  drive.&lt;br /&gt;&lt;br /&gt;----- HARDLOCK.ASM ----------------------------------------------&lt;br /&gt;         include macros.asm&lt;br /&gt;     Begincom hardlock&lt;br /&gt;     jmp   start&lt;br /&gt;msg0     db    'Hardlock Completed Sucessfully',10,13,'$'&lt;br /&gt;msg1     db    'Hardlock Disk I/O error.',10,13,'$'&lt;br /&gt;&lt;br /&gt;buffer     db    512 dup(?)&lt;br /&gt;&lt;br /&gt;start     proc  near&lt;br /&gt;     mov   ax,0201h        ;read one sector&lt;br /&gt;     lea   bx,buffer       ;set up read address&lt;br /&gt;     mov   cx,1           ;read the partition table&lt;br /&gt;     mov   dx,0080h        ;On drive C&lt;br /&gt;     int   13H           ;execute read&lt;br /&gt;     jc    IO_FAIL           ;if carry - issue message&lt;br /&gt;     mov   byte ptr [bx+511],0 ;make disk unusable&lt;br /&gt;     mov   ax,0301h        ;set up write command&lt;br /&gt;     int   13H&lt;br /&gt;     lea   dx,msg0           ;point to OK message&lt;br /&gt;     jnc   SENDMSG           ;display msg&lt;br /&gt;IO_FAIL: lea   dx,msg1           ;point to failure message&lt;br /&gt;SENDMSG: mov   ah,9           ;dos display string&lt;br /&gt;     int   21h           ;send message&lt;br /&gt;     int   20h           ;terminate program&lt;br /&gt;start     endp&lt;br /&gt;     endcom hardlock&lt;br /&gt;&lt;br /&gt;----- HARDUNL.ASM -----------------------------------------------&lt;br /&gt;         include macros.asm&lt;br /&gt;     Begincom hardunl&lt;br /&gt;     jmp   start&lt;br /&gt;msg0     db    'hardunlock Completed Sucessfully',10,13,'$'&lt;br /&gt;msg1     db    'hardunlock Disk I/O error.',10,13,'$'&lt;br /&gt;&lt;br /&gt;buffer     db    512 dup(?)&lt;br /&gt;&lt;br /&gt;start     proc  near&lt;br /&gt;     mov   ax,0201h        ;read one sector&lt;br /&gt;     lea   bx,buffer       ;set up read address&lt;br /&gt;     mov   cx,1           ;read the partition table&lt;br /&gt;     mov   dx,0080h        ;On drive C&lt;br /&gt;     int   13H           ;execute read&lt;br /&gt;     jc    IO_FAIL           ;if carry - issue message&lt;br /&gt;     mov   byte ptr [bx+511],0AAh ;repair clobbered partition table&lt;br /&gt;     mov   ax,0301h        ;set up write command&lt;br /&gt;     int   13H&lt;br /&gt;     lea   dx,msg0           ;point to OK message&lt;br /&gt;     jnc   SENDMSG           ;display msg&lt;br /&gt;IO_FAIL: lea   dx,msg1           ;point to failure message&lt;br /&gt;SENDMSG: mov   ah,9           ;dos display string&lt;br /&gt;     int   21h           ;send message&lt;br /&gt;     int   20h           ;terminate program&lt;br /&gt;start     endp&lt;br /&gt;     endcom hardunl&lt;br /&gt;&lt;br /&gt;----- PARTITION TABLE -------------------------------------------&lt;br /&gt;&lt;br /&gt;Physical Sector: Cyl 0, Side 0, Sector 1&lt;br /&gt;&lt;br /&gt;00000000: FA 33 C0 8E D0 BC 00 7C  - 8B F4 50 07 50 1F FB FC&lt;br /&gt;00000010: BF 00 06 B9 00 01 F2 A5  - EA 1D 06 00 00 BE BE 07&lt;br /&gt;00000020: B3 04 80 3C 80 74 0E 80  - 3C 00 75 1C 83 C6 10 FE&lt;br /&gt;00000030: CB 75 EF CD 18 8B 14 8B  - 4C 02 8B EE 83 C6 10 FE&lt;br /&gt;00000040: CB 74 1A 80 3C 00 74 F4  - BE 8B 06 AC 3C 00 74 0B&lt;br /&gt;00000050: 56 BB 07 00 B4 0E CD 10  - 5E EB F0 EB FE BF 05 00&lt;br /&gt;00000060: BB 00 7C B8 01 02 57 CD  - 13 5F 73 0C 33 C0 CD 13&lt;br /&gt;00000070: 4F 75 ED BE A3 06 EB D3  - BE C2 06 BF FE 7D 81 3D&lt;br /&gt;00000080: 55 AA 75 C7 8B F5 EA 00  - 7C 00 00 49 6E 76 61 6C&lt;br /&gt;00000090: 69 64 20 70 61 72 74 69  - 74 69 6F 6E 20 74 61 62&lt;br /&gt;000000A0: 6C 65 00 45 72 72 6F 72  - 20 6C 6F 61 64 69 6E 67&lt;br /&gt;000000B0: 20 6F 70 65 72 61 74 69  - 6E 67 20 73 79 73 74 65&lt;br /&gt;000000C0: 6D 00 4D 69 73 73 69 6E  - 67 20 6F 70 65 72 61 74&lt;br /&gt;000000D0: 69 6E 67 20 73 79 73 74  - 65 6D 00 00 A9 A2 6B 1B&lt;br /&gt;000000E0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;000000F0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000100: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000110: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000120: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000130: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000140: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000150: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000160: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000170: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000180: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;00000190: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;000001A0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;000001B0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 80 01&lt;br /&gt;000001C0: 01 00 06 0F A6 A9 26 00  - 00 00 9A 53 06 00 00 00&lt;br /&gt;000001D0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;000001E0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 00 00&lt;br /&gt;000001F0: 00 00 00 00 00 00 00 00  - 00 00 00 00 00 00 55 AA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/114571967287709197-1923483990152305823?l=mlgs22.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/1923483990152305823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=114571967287709197&amp;postID=1923483990152305823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/1923483990152305823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/1923483990152305823'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/2010/06/description-using-debug-to-lock-and.html' title=''/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-114571967287709197.post-6533645878406582532</id><published>2010-06-12T18:43:00.000-06:00</published><updated>2010-07-12T18:46:47.718-06:00</updated><title type='text'>DOS World, September 1997</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_2VXep47MhDY/TDu3SUop_xI/AAAAAAAAInA/l9tYpRZNlVQ/s1600/1997-09_DOSWORLD_Tip-ML.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 188px; height: 400px;" src="http://4.bp.blogspot.com/_2VXep47MhDY/TDu3SUop_xI/AAAAAAAAInA/l9tYpRZNlVQ/s400/1997-09_DOSWORLD_Tip-ML.jpg" alt="" id="BLOGGER_PHOTO_ID_5493185695913213714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_2VXep47MhDY/TDu26oHuRYI/AAAAAAAAIm4/PPl4SqTjPl8/s1600/1997-09_DOSWORLD_Tip.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 291px; height: 400px;" src="http://2.bp.blogspot.com/_2VXep47MhDY/TDu26oHuRYI/AAAAAAAAIm4/PPl4SqTjPl8/s400/1997-09_DOSWORLD_Tip.jpg" alt="" id="BLOGGER_PHOTO_ID_5493185288826930562" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/114571967287709197-6533645878406582532?l=mlgs22.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/6533645878406582532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=114571967287709197&amp;postID=6533645878406582532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/6533645878406582532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/6533645878406582532'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/2010/07/blog-post.html' title='DOS World, September 1997'/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2VXep47MhDY/TDu3SUop_xI/AAAAAAAAInA/l9tYpRZNlVQ/s72-c/1997-09_DOSWORLD_Tip-ML.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-114571967287709197.post-1124944118693149386</id><published>2010-06-12T18:33:00.002-06:00</published><updated>2010-07-12T18:53:37.141-06:00</updated><title type='text'>ASCII</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.thocp.net/biographies/bemer_bob.htm"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 90px; height: 134px;" src="http://4.bp.blogspot.com/_2VXep47MhDY/TDu3zuyAUcI/AAAAAAAAInI/HLK_1vZU1YQ/s400/bemer_bob.jpg" alt="" id="BLOGGER_PHOTO_ID_5493186269867430338" border="0" /&gt;&lt;/a&gt;Bob Bemer, Father of ASCII, Dallas TX 1997&lt;br /&gt;&lt;br /&gt;Links:  http://en.wikipedia.org/wiki/Bob_Bemer&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_2VXep47MhDY/TDu3z2cMQeI/AAAAAAAAInQ/K4bbgJ0Q5Hc/s1600/ascii_licenseplate.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 300px; height: 156px;" src="http://1.bp.blogspot.com/_2VXep47MhDY/TDu3z2cMQeI/AAAAAAAAInQ/K4bbgJ0Q5Hc/s400/ascii_licenseplate.jpg" alt="" title="Yes, he was the Father of ASCII!!!" id="BLOGGER_PHOTO_ID_5493186271923421666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_2VXep47MhDY/TDu0ftYsL3I/AAAAAAAAImw/B4EXBRz7cyA/s1600/800px-ASCII_Code_Chart-Quick_ref_card.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 290px;" src="http://4.bp.blogspot.com/_2VXep47MhDY/TDu0ftYsL3I/AAAAAAAAImw/B4EXBRz7cyA/s400/800px-ASCII_Code_Chart-Quick_ref_card.jpg" alt="" id="BLOGGER_PHOTO_ID_5493182627360550770" border="0" /&gt;&lt;/a&gt;Notes: ASCII Code Chart, scanner copied from the material delivered with  TermiNet 300 impact type printer with Keyboard, February 1972, General  Electric Data communication Product Dept., Waynesboro VA.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/114571967287709197-1124944118693149386?l=mlgs22.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/1124944118693149386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=114571967287709197&amp;postID=1124944118693149386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/1124944118693149386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/1124944118693149386'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/2010/06/ascii.html' title='ASCII'/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2VXep47MhDY/TDu3zuyAUcI/AAAAAAAAInI/HLK_1vZU1YQ/s72-c/bemer_bob.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-114571967287709197.post-4486556136576535073</id><published>2007-01-28T17:03:00.000-06:00</published><updated>2007-01-28T17:04:07.393-06:00</updated><title type='text'>Test Post</title><content type='html'>Just entering some stuff here to see what it looks like.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/114571967287709197-4486556136576535073?l=mlgs22.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mlgs22.blogspot.com/feeds/4486556136576535073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=114571967287709197&amp;postID=4486556136576535073' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/4486556136576535073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/114571967287709197/posts/default/4486556136576535073'/><link rel='alternate' type='text/html' href='http://mlgs22.blogspot.com/2007/01/test-post.html' title='Test Post'/><author><name>KC and The Sherwood Bunch</name><uri>http://www.blogger.com/profile/11838216166226247001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://3.bp.blogspot.com/_2VXep47MhDY/TKixSo5aW7I/AAAAAAAAJKM/ZDJyBPDqrv0/S220/ZoolatryCard-04.jpg'/></author><thr:total>2</thr:total></entry></feed>
