picinfo.s 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. one_block_buffer
  2. ds.w 2*32*8
  3. save_file_handle
  4. dc.l 0
  5. save_buffer
  6. dc.l 0
  7. rsreset
  8. RWIDTH rs.W 1
  9. RHEIGHT rs.W 1
  10. XPOS rs.W 1
  11. YPOS rs.W 1
  12. NUMPLANES rs.B 1
  13. PMASK rs.B 1
  14. TYPECOM rs.B 1
  15. PAD rs.B 1
  16. TRANSCOLOUR rs.W 1
  17. XASPECT rs.B 1
  18. YASPECT rs.B 1
  19. PAGEWIDTH rs.W 1
  20. PAGEHEIGHT rs.W 1
  21. BMHDSize rs.w 1
  22. EVEN
  23. size_of_BMHD EQU BMHDSize ;8+4+2+2+4+2
  24. save_bmhd
  25. ds.b size_of_BMHD
  26. EVEN
  27. PICTURE_DETAILS
  28. dc.l 0
  29. buffer
  30. ds.l 1
  31. pic_pointer
  32. dc.l 0
  33. header_size
  34. dc.l 0
  35. colour_map_ptr
  36. dc.l 0
  37. num_of_cols
  38. dc.l 0
  39. picture_data
  40. dc.l 0
  41. size_of_pic
  42. dc.l 0
  43. graphics_handle
  44. dc.l 0
  45. current_plane dc.w 0
  46. pixel_count dc.w 0
  47. plane_positions
  48. ds.l 8 ;maximum ever
  49. picture_struct1
  50. dc.w 0 ;pixel size x
  51. dc.w 0 ;pixel size y
  52. dc.w 0,0 ;x and y offsets
  53. dc.l 0 ;mem pointer
  54. dc.w 0 ;number of planes
  55. dc.l pic_1_palette
  56. picture_struct2
  57. dc.w 0 ;pixel size x
  58. dc.w 0 ;pixel size y
  59. dc.w 0,0 ;x and y offsets
  60. dc.l 0 ;mem pointer
  61. dc.w 0 ;number of planes
  62. dc.l pic_2_palette
  63. picture_struct3
  64. dc.w 0 ;pixel size x
  65. dc.w 0 ;pixel size y
  66. dc.w 0,0 ;x and y offsets
  67. dc.l 0 ;mem pointer
  68. dc.w 0 ;number of planes
  69. dc.l pic_3_palette
  70. picture_struct4
  71. dc.w 0 ;pixel size x
  72. dc.w 0 ;pixel size y
  73. dc.w 0,0 ;x and y offsets
  74. dc.l 0 ;mem pointer
  75. dc.w 0 ;number of planes
  76. dc.l pic_4_palette
  77. picture_struct5
  78. dc.w 0 ;pixel size x
  79. dc.w 0 ;pixel size y
  80. dc.w 0,0 ;x and y offsets
  81. dc.l 0 ;mem pointer
  82. dc.w 0 ;number of planes
  83. dc.l pic_5_palette
  84. picture_pages
  85. dc.l picture_struct1
  86. dc.l picture_struct2
  87. dc.l picture_struct3
  88. dc.l picture_struct4
  89. dc.l picture_struct5
  90. page_pointer
  91. dc.l picture_struct1
  92. pic_1_palette
  93. DC.W $000,$787,$565,$aba,$464,$595,$fff,$121
  94. DC.W $555,$555,$555,$555,$000,$c00,$0c0,$00c
  95. dc.w $f00,$fff,$f00,$222,$333,$444,$555,$666
  96. dc.w $90f,$f00,$111,$222,$333,$444,$555,$666
  97. ds.w 224
  98. pic_2_palette
  99. DC.W $000,$787,$565,$aba,$464,$595,$fff,$121
  100. DC.W $555,$555,$555,$555,$000,$c00,$0c0,$00c
  101. dc.w $f00,$fff,$f00,$222,$333,$444,$555,$666
  102. dc.w $90f,$f00,$111,$222,$333,$444,$555,$666
  103. DC.W 0,$779,$557,$AAc,$446,$FFf,$FFF,$113
  104. DC.W $222,$811,$181,$118,$999,$aaa,$bbb,$0CC
  105. ds.w 224
  106. ds.w 256
  107. pic_3_palette
  108. DC.W $000,$787,$565,$aba,$464,$595,$fff,$121
  109. DC.W $555,$555,$555,$555,$000,$c00,$0c0,$00c
  110. dc.w $f00,$fff,$f00,$222,$333,$444,$555,$666
  111. dc.w $90f,$f00,$111,$222,$333,$444,$555,$666
  112. DC.W 0,$779,$557,$AAc,$446,$FFf,$FFF,$113
  113. DC.W $222,$811,$181,$118,$999,$aaa,$bbb,$0CC
  114. ds.w 224
  115. ds.w 256
  116. pic_4_palette
  117. DC.W $000,$787,$565,$aba,$464,$595,$fff,$121
  118. DC.W $555,$555,$555,$555,$000,$c00,$0c0,$00c
  119. dc.w $f00,$fff,$f00,$222,$333,$444,$555,$666
  120. dc.w $90f,$f00,$111,$222,$333,$444,$555,$666
  121. ds.w 224
  122. ds.w 256
  123. pic_5_palette
  124. DC.W $000,$787,$565,$aba,$464,$595,$fff,$121
  125. DC.W $555,$555,$555,$555,$000,$c00,$0c0,$00c
  126. dc.w $f00,$fff,$f00,$222,$333,$444,$555,$666
  127. dc.w $90f,$f00,$111,$222,$333,$444,$555,$666
  128. ds.w 224
  129. ds.w 256