Logo PHP-id.Org  
UserName:
PassWord:
     Lost?
Daftar jadi Anggota !
   

 

Hex-Programmer

 link
// Dikirim oleh: Alpha pada 20-Feb-2003
// Topik : umum , telah di klik 755 kali

  
Memprogram dalam kondisi darurat. Gak ada Kompiler, assembler dll. Yang ada Cuma Komputer dan DOS saja. Code By :Shawn Cook [www.geocities.com/int27h_9/virii.html]
Explanation by : Onan Al-Pharabee (Alpha).

It is Simple to see a Program Naturaly.
[Click To Execute NotePad]

PRINT "A> Screen Mode [B4] [00] [B0] [XX] [CD] [10] (6b)"
PRINT "B> Input Char [B4] [01] [CD] [21] (4b)"
PRINT "C> Print String [B4] [09] [BA] [XX] [01] [CD] [21] (7b)"
PRINT "D> Create File [B4] [3C] [BA] [XX] [01] [33] [C9] [CD] [21] (9b)"
PRINT "E> Create Directory [B4] [39] [BA] [XX] [01] [CD] [21] (7b)"
PRINT "F> Delete Directory [B4] [3A] [BA] [XX] [01] [CD] [21] (7b)"
PRINT "G> Open File [B4] [3D] [B0] [02] [BA] [XX] [01] [CD] [21] [8B] [D8] (11b)"
PRINT "H> Write File [B4] [40] [B9] [XX] [00] [BA] [XX] [01] [CD] [21]

See The Code above. I will Explained to you Step-ByStep.
-----------------------[A. Screen Mode]-------------------------------------
1. [B4 00]: it is mean move Immediate Value To AH and skip 1 byte. where [B4] is
mov AH and [00] is the Value.
2. [B0 XX]: move Immediate value to AL. [B0] is [Mov AL,Imm8] and the [XX] is the value. You
can change the value as Video Mode you Desired.
3. [CD 10]: [CD] mean Interupt immediate Value, so you can barely see [CD 10] mean Interu
pt 0x10. (Note: Int 0x10 is used for the Video Mode).
---------------------- [B. Input Char]---------------------------------------
4. [B4 01]: As you can see above [B4] is Mov ah,Imm. So [B4 01] mean mov ah,01.
5. [CD 21]: It is easyly to Guest. Int 0x21. Call For Dos.
---------------------- [C. Print String]--------------------------------------
6. [B4 09]: Simple. [Mov AH,0x9].
7. [BA XX 01]: I Dunno. It is mov 1 for The High Register and mov XX value on Low Register.
this code used for moving Imm Value to the Word Register.
8. [CD 21]: (Naaaah... self Explain).
---------------------- [D. Create File]-------------------------------------------
The Rest is Self Explaination. It have no Different.

Some Info: If you Put an Immediate word Value it will put on memory Reverse.
Example : Mov AX,0xFFF0. [ XX XX F0 FF]. Where XX is the OpCode.

Ask Me Anything related to realvampire2001@yahoo.com or Vampire_Strikes@boleh.com .
Sorry For my Poor English. Feel Free to Modified it.
http://city.boleh.com/~vampire_strikes/DownLoad/DownLoad.htm
(C)2003 ThePengangguran: Zephiro-Indonesia.
...


Email to a friend  | Print this article Printer-friendly page
UMUM
 
   
               
               
  -             
  Enhanced by KIOSS.Com  
      | Best View 1024x768 with Opera, Mozilla Firefox |   PostNuke | KIOSS.Com |