Subversion Repositories Kolibri OS

Rev

Rev 8165 | Rev 8245 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. use32
  2. org 0
  3.   db 'MENUET01'
  4.   dd 1
  5.   dd @Kolibri@Main$qv
  6.   dd I_END
  7.   dd U_END+STACKSIZE+HEAPSIZE
  8.   dd U_END+STACKSIZE
  9. if defined @Kolibri@CommandLine
  10.   dd @Kolibri@CommandLine
  11. else
  12.   dd 0
  13. end if
  14. if defined @Kolibri@CurrentDirectoryPath
  15.   dd @Kolibri@CurrentDirectoryPath
  16. else
  17.   dd 0
  18. end if
  19.  
  20. include "..\..\..\KOSfuncs.inc"
  21. include "..\..\..\proc32.inc"
  22. include "..\..\..\macros.inc"
  23. include "..\..\..\dll.inc"
  24. include "..\..\..\load_lib.mac"
  25.  
  26. ptr equ
  27. offset equ
  28. short equ
  29. tbyte equ tword
  30.  
  31. PTR equ
  32. OFFSET equ
  33. SHORT equ
  34. TBYTE equ TWORD
  35.  
  36. macro movsb a,b
  37. {
  38.   if a eq & b eq
  39.     movsb
  40.   else
  41.     movsx a,b
  42.   end if
  43. }
  44.  
  45. macro movsw a,b
  46. {
  47.   if a eq & b eq
  48.     movsw
  49.   else
  50.     movsx a,b
  51.   end if
  52. }
  53.  
  54. macro segment name {}
  55.  
  56. macro endseg  name {}
  57.  
  58.