Subversion Repositories Kolibri OS

Rev

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

  1. ID_CLOSE_BTN      = 1
  2. ID_COMPILE_BTN    = 2
  3. ID_EXECUTE_BTN    = 3
  4. ID_EXECDBG_BTN    = 4
  5. ID_OPENDLG_BTN    = 5
  6.  
  7. NORMAL_MODE    = 8
  8. CONSOLE_MODE   = 32
  9. MAGIC1         = 6*(text.line_size-1)+14
  10. MAGIC2         = (14*3+16)/3+1
  11.  
  12. APP_MEMORY     = 0x00800000
  13.  
  14. DEFAULT_WIN_W = 450
  15. DEFAULT_WIN_H = 350
  16. WIN_MIN_W     = 400
  17. WIN_MIN_H     = 350
  18. LINE_H = 25
  19. RIGHT_BTN_W = 80
  20.  
  21. MAX_PATH       = 100
  22.  
  23. macro mmov reg,a1,a2 {
  24.  mov reg,(a1) shl 16 + (a2)
  25. }
  26.  
  27. macro madd reg,a1,a2 {
  28.  add reg,(a1) shl 16 + (a2)
  29. }
  30.  
  31. macro msub reg,a1,a2 {
  32.  sub reg,(a1) shl 16 + (a2)
  33. }
  34.  
  35. struc path name:?& {
  36.         .:
  37.         db name
  38.         rb MAX_PATH-$+. }
  39.