DEFS.INC 795 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. SKIPPRIMITIVES = 0 ; set to 1 to skip unwound drawing
  2. SCREEN = 0a0000h
  3. SCREENWIDTH = 320
  4. SCREENHEIGHT = 200
  5. PLANEWIDTH = 80
  6. PLANESIZE = 80*200
  7. PEL_WRITE_ADR = 03c8h
  8. PEL_DATA = 03c9h
  9. SC_INDEX = 03C4h
  10. SC_MAPMASK = 2
  11. OP_RET = 0c3h
  12. OP_MOVAL = 08ah
  13. OP_MOVDEST = 088h
  14. .DATA
  15. EXTRN _dc_colormap:DWORD
  16. EXTRN _dc_x:DWORD
  17. EXTRN _dc_yl:DWORD
  18. EXTRN _dc_yh:DWORD
  19. EXTRN _dc_iscale:DWORD
  20. EXTRN _dc_texturemid:DWORD
  21. EXTRN _dc_source:DWORD
  22. EXTRN _ylookup:DWORD
  23. EXTRN _columnofs:DWORD
  24. EXTRN _ds_y:DWORD
  25. EXTRN _ds_x1:DWORD
  26. EXTRN _ds_x2:DWORD
  27. EXTRN _ds_colormap:DWORD
  28. EXTRN _ds_xfrac:DWORD
  29. EXTRN _ds_yfrac:DWORD
  30. EXTRN _ds_xstep:DWORD
  31. EXTRN _ds_ystep:DWORD
  32. EXTRN _ds_source:DWORD
  33. PUSHR MACRO
  34. pushad
  35. ENDM
  36. POPR MACRO
  37. popad
  38. ENDM