Advertisement
Guest User

Untitled

a guest
Mar 20th, 2013
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mov     ax,0x1130
  2. mov     bh,0x06
  3.  
  4. int     0x10
  5.  
  6. push    es  
  7. pop     ds  
  8. xor     ax,ax
  9. mov     es,ax
  10.  
  11. mov     si,bp
  12. mov     di,font
  13. mov     bp,di
  14.  
  15. mov     cx,256
  16.  
  17. copy_loop:
  18. mov     bx,16
  19.  
  20. sub_copy_loop:
  21. lodsb
  22.  
  23. mov     ah,8
  24.  
  25. sub_sub_copy:
  26. shl     al,1
  27. rcr     dl,1
  28. dec     ah  
  29. jnz     sub_sub_copy
  30.  
  31. dec     bx  
  32. mov     [es:di+bx],dl
  33. jnz     sub_copy_loop
  34.  
  35. add     di,16
  36. loop    copy_loop
  37.  
  38.  
  39. mov     ax,0x1100
  40. mov     bx,0x1000
  41. mov     cx,0x0100
  42. cwd
  43.  
  44. int     0x10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement