Guest User

Untitled

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