ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/DOSGame/trunk/BMPMOON.ASM
Revision: 4
Committed: Wed Feb 11 15:26:06 2026 UTC (8 weeks, 3 days ago) by figdor32
File size: 900 byte(s)
Log Message:
Initial check-in

File Contents

# User Rev Content
1 figdor32 4 MAGIC db 'BMA' ; 0-3 | Magic number
2     VERSION db 0x00 ; 4-4 | Version
3     KIND db 0x00 ; 5-5 | 0x00 = Bitmap, 0x01 = Bitmap array
4     COLORS db 0x01 ; 6-7 | 0x00 = 4bpp (not supported for now), 0x01 = 8bpp
5     STRIDE dw 0x08 ; 7-8 | Stride in bytes, Width = STRIDE, or if 4bpp then Width = STRIDE << 1
6     LINES dw 0x08 ; 9-A | Height
7     ; If this were a bitmap array, this would be the pointers to those bitmaps, relative to the start of the array
8     ; For instance OFFSETS dw BITMAP_01 - 0xA, BITMAP_02 - 0xA, and so on
9     IMAGE db \
10     0x0, 0x0, 0xF, 0x7, 0xF, 0x7, 0x0, 0x0, \
11     0x0, 0x0, 0x7, 0xF, 0x7, 0xF, 0x7, 0x0, \
12     0x0, 0x0, 0x7, 0xF, 0xF, 0xF, 0xF, 0x7, \
13     0x0, 0x0, 0x0, 0x7, 0x0, 0xF, 0x8, 0xA, \
14     0x0, 0x0, 0x0, 0xF, 0x0, 0x8, 0xF, 0x7, \
15     0x0, 0x0, 0x8, 0xF, 0x7, 0x7, 0xF, 0x7, \
16     0x0, 0x7, 0xF, 0xF, 0xF, 0xF, 0xF, 0x8, \
17     0x0, 0x0, 0x7, 0xF, 0xF, 0x7, 0x8, 0x7