Guest User

Untitled

a guest
Sep 17th, 2010
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use32
  2.  
  3. buf1 db 0x11, 0x20, 0x04, 0x01
  4. buf2 db 0x11, 0x28, 0x02, 0x01
  5.  
  6. init_pic:
  7.     mov esi, pic_loop
  8.     push esi
  9.     sub esi, pic_loop-buf1
  10.     movzx edx, byte [esi+1]
  11. pic_loop:
  12.     outsb
  13.     inc   edx
  14.     outsb
  15.     outsb
  16.     outsb
  17.     add   dl,0x7F
  18.     ret
Advertisement
Add Comment
Please, Sign In to add comment