Subversion Repositories Kolibri OS

Rev

Rev 8911 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. use32
  2.  
  3. format binary as ""
  4.  
  5. db 'MENUET01'
  6. dd 1
  7. dd start
  8. dd i_end
  9. dd mem
  10. dd mem
  11. dd 0
  12. dd app_path
  13.  
  14. include '../../programs/macros.inc'
  15. include '../../programs/proc32.inc'
  16. include '../../programs/string.inc'
  17.  
  18. start:
  19.            stdcall string.concatenate, sz_dll, app_path
  20.            mov  eax, 68
  21.            mov  ebx, 21
  22.            mov  ecx, app_path
  23.            int  0x40
  24.  
  25.            mov  eax, -1
  26.            int  0x40
  27.  
  28. align 4
  29. app_path rb 2048
  30. sz_dll db '.sys',0
  31. i_end:
  32. rb 128
  33. mem:
  34.