-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpalettes.asm
64 lines (57 loc) · 2.23 KB
/
palettes.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
_DATACONST SEGMENT PUBLIC 'FAR_DATA'
NONSTATIC EQU 80h
MAPTOWHITE EQU 01h
PUBLIC _palette4bpp
PUBLIC _palette8bpp
; 16 color palette
ALIGN 4
_palette4bpp:
; blu grn red flags
DB 0, 0, 0, 0 ; Black
DB 0, 0, 128, 0 ; Dark Red
DB 0, 128, 0, 0 ; Dark Green
DB 0, 128, 128, 0 ; Dark Yellow
DB 128, 0, 0, 0 ; Dark Blue
DB 128, 0, 128, 0 ; Dark Purple
DB 128, 128, 0, 0 ; Dark Cyan
DB 192, 192, 192, MAPTOWHITE ; Light Gray
DB 128, 128, 128, MAPTOWHITE ; Dark Gray
DB 0, 0, 255, 0 ; Light Red
DB 0, 255, 0, MAPTOWHITE ; Light Green
DB 0, 255, 255, MAPTOWHITE ; Light Yellow
DB 255, 0, 0, 0 ; Light Blue
DB 255, 0, 255, 0 ; Light Purple
DB 255, 255, 0, MAPTOWHITE ; Light Cyan
DB 255, 255, 255, MAPTOWHITE ; White
; 256 color palette
ALIGN 4
_palette8bpp:
; blu grn red flags
; System Reserved colors
DB 0, 0, 0, 0 ; Black
DB 0, 0, 128, 0 ; Dark Red
DB 0, 128, 0, 0 ; Dark Green
DB 0, 128, 128, 0 ; Dark Yellow
DB 128, 0, 0, 0 ; Dark Blue
DB 128, 0, 128, 0 ; Dark Purple
DB 128, 128, 0, 0 ; Dark Cyan
DB 192, 192, 192, MAPTOWHITE ; Light Gray
DB 192, 220, 192, NONSTATIC+MAPTOWHITE ; Money Green
DB 240, 202, 166, NONSTATIC+MAPTOWHITE ; Cool Blue
; Palette Manager colors
REPT 236
DB 0, 0, 0, NONSTATIC
ENDM
; System Reserved colors
DB 240, 251, 255, NONSTATIC+MAPTOWHITE ; Off White
DB 164, 160, 160, NONSTATIC+MAPTOWHITE ; Medium Gray
DB 128, 128, 128, MAPTOWHITE ; Dark Grey
DB 0, 0, 255, 0 ; Light Red
DB 0, 255, 0, MAPTOWHITE ; Light Green
DB 0, 255, 255, MAPTOWHITE ; Light Yellow
DB 255, 0, 0, 0 ; Light Blue
DB 255, 0, 255, 0 ; Light Purple
DB 255, 255, 0, MAPTOWHITE ; Light Cyan
DB 255, 255, 255, MAPTOWHITE ; White
_DATACONST ENDS
END