Subversion Repositories Kolibri OS

Rev

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

  1. ; debugging include file by barsuk
  2. ; if DEBUG=TRUE, adds debug.inc
  3. ; if DEBUG=FALSE, adds stubs for several macros from debug.inc
  4.  
  5. match =TRUE, DEBUG
  6. {
  7.  
  8. include '..\..\..\..\debug.inc'
  9.  
  10. macro dph1 str
  11. \{
  12.   debug_print_hex str
  13.   push eax
  14.   mov al, ' '
  15.   call debug_outchar
  16.   pop eax
  17. \}
  18.  
  19. macro outs str
  20. \{
  21.         pushad
  22.         lea     edx, [str]
  23.         call    debug_outstr
  24.         popad
  25. \}
  26. }
  27.  
  28. match =FALSE, DEBUG
  29. {
  30.  
  31. macro print message
  32. \{
  33. \}
  34.  
  35. macro pregs
  36. \{
  37. \}
  38.  
  39. macro dph1 str
  40. \{
  41. \}
  42.  
  43. macro outs str
  44. \{
  45. \}
  46.  
  47. }