mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-23 07:35:19 +00:00
191 lines
7.0 KiB
Plaintext
191 lines
7.0 KiB
Plaintext
PR#3
|
||
PREFIX /A2OSX.SRC
|
||
NEW
|
||
INC 1
|
||
AUTO 6
|
||
.LIST OFF
|
||
*--------------------------------------
|
||
Mono.NMasks .DA #%01111110
|
||
.DA #%01111101
|
||
.DA #%01111011
|
||
.DA #%01110111
|
||
.DA #%01101111
|
||
.DA #%01011111
|
||
.DA #%00111111
|
||
*--------------------------------------
|
||
Mono.Masks .DA #%00000001
|
||
.DA #%00000010
|
||
.DA #%00000100
|
||
.DA #%00001000
|
||
.DA #%00010000
|
||
.DA #%00100000
|
||
.DA #%01000000
|
||
*--------------------------------------
|
||
* bits to "and" to reset color of pixel (0 means nothing to do)
|
||
* 4 bytes * 7 mods
|
||
*--------------------------------------
|
||
* c1110000 c3322221 c5444433 c6666555
|
||
Color.NMasks .DA #%01110000,#%00000000,#%00000000,#%00000000
|
||
.DA #%00001111,#%01111110,#%00000000,#%00000000
|
||
.DA #%00000000,#%01100001,#%00000000,#%00000000
|
||
.DA #%00000000,#%00011111,#%01111100,#%00000000
|
||
.DA #%00000000,#%00000000,#%01000011,#%00000000
|
||
.DA #%00000000,#%00000000,#%00111111,#%01111000
|
||
.DA #%00000000,#%00000000,#%00000000,#%00000111
|
||
*--------------------------------------
|
||
* bits to "and" to Get color of pixel (0 means nothing to do)
|
||
* 4 bytes * 7 mods
|
||
*--------------------------------------
|
||
* c1110000 c3322221 c5444433 c6666555
|
||
Color.Masks .DA #%10001111,#%00000000,#%00000000,#%00000000
|
||
.DA #%11110000,#%00000001,#%00000000,#%00000000
|
||
.DA #%00000000,#%10011110,#%00000000,#%00000000
|
||
.DA #%00000000,#%11100000,#%00000011,#%00000000
|
||
.DA #%00000000,#%00000000,#%10111100,#%00000000
|
||
.DA #%00000000,#%00000000,#%11000000,#%00000111
|
||
.DA #%00000000,#%00000000,#%00000000,#%11111000
|
||
*--------------------------------------
|
||
* bits to "ora" to set color of pixel (including "color bit set" for byte hosting bit0)
|
||
* 4 bytes * 16 Colors
|
||
*--------------------------------------
|
||
* c1110000 c3322221 c5444433 c6666555
|
||
Color.Pixels .DA #%00000000,#%00000000,#%00000000,#%00000000 black (color bit disable)
|
||
.DA #%01111111,#%01111111,#%01111111,#%01111111 white (color bit disable)
|
||
.DA #%10010001,#%10100010,#%11000100,#%10001000 dark blue
|
||
.DA #%10100010,#%11000100,#%10001000,#%10010001 dark green
|
||
.DA #%10110011,#%11100110,#%11001100,#%10011001 medium blue
|
||
.DA #%11000100,#%10001000,#%10010001,#%10100010 brown
|
||
.DA #%11010101,#%10101010,#%11010101,#%10101010 grey2
|
||
.DA #%11100110,#%11001100,#%10011001,#%10110011 green
|
||
.DA #%11110111,#%11101110,#%11011101,#%10111011 aqua
|
||
.DA #%10001000,#%10010001,#%10100010,#%11000100 Magenta
|
||
.DA #%10011001,#%10110011,#%11100110,#%11001100 violet
|
||
.DA #%10101010,#%11010101,#%10101010,#%11010101 grey1
|
||
.DA #%10111011,#%11110111,#%11101110,#%11011101 light blue
|
||
.DA #%11001100,#%10011001,#%10110011,#%11100110 orange
|
||
.DA #%11011101,#%10111011,#%11110111,#%11101110 pink
|
||
.DA #%11101110,#%11011101,#%10111011,#%11110111 yellow
|
||
*--------------------------------------
|
||
* COL*2+AUX Bit
|
||
*--------------------------------------
|
||
DIV7.0 .HS 0101010101010100000000000000
|
||
.HS 0303030303030302020202020202
|
||
.HS 0505050505050504040404040404
|
||
.HS 0707070707070706060606060606
|
||
.HS 0909090909090908080808080808
|
||
.HS 0B0B0B0B0B0B0B0A0A0A0A0A0A0A
|
||
.HS 0D0D0D0D0D0D0D0C0C0C0C0C0C0C
|
||
.HS 0F0F0F0F0F0F0F0E0E0E0E0E0E0E
|
||
.HS 1111111111111110101010101010
|
||
.HS 1313131313131312121212121212
|
||
.HS 1515151515151514141414141414
|
||
.HS 1717171717171716161616161616
|
||
.HS 1919191919191918181818181818
|
||
.HS 1B1B1B1B1B1B1B1A1A1A1A1A1A1A
|
||
.HS 1D1D1D1D1D1D1D1C1C1C1C1C1C1C
|
||
.HS 1F1F1F1F1F1F1F1E1E1E1E1E1E1E
|
||
.HS 2121212121212120202020202020
|
||
.HS 2323232323232322222222222222
|
||
.HS 25252525
|
||
DIV7.256 .HS 25252524242424242424
|
||
.HS 2727272727272726262626262626
|
||
.HS 2929292929292928282828282828
|
||
.HS 2B2B2B2B2B2B2B2A2A2A2A2A2A2A
|
||
.HS 2D2D2D2D2D2D2D2C2C2C2C2C2C2C
|
||
.HS 2F2F2F2F2F2F2F2E2E2E2E2E2E2E
|
||
.HS 3131313131313130303030303030
|
||
.HS 3333333333333332323232323232
|
||
.HS 3535353535353534343434343434
|
||
.HS 3737373737373736363636363636
|
||
.HS 3939393939393938383838383838
|
||
.HS 3B3B3B3B3B3B3B3A3A3A3A3A3A3A
|
||
.HS 3D3D3D3D3D3D3D3C3C3C3C3C3C3C
|
||
.HS 3F3F3F3F3F3F3F3E3E3E3E3E3E3E
|
||
.HS 4141414141414140404040404040
|
||
.HS 4343434343434342424242424242
|
||
.HS 4545454545454544444444444444
|
||
.HS 4747474747474746464646464646
|
||
.HS 4949494949494948
|
||
DIV7.512 .HS 484848484848
|
||
.HS 4B4B4B4B4B4B4B4A4A4A4A4A4A4A
|
||
.HS 4D4D4D4D4D4D4D4C4C4C4C4C4C4C
|
||
.HS 4F4F4F4F4F4F4F4E4E4E4E4E4E4E
|
||
*--------------------------------------
|
||
MOD7.0 .HS 00
|
||
MOD7.512 .HS 010203
|
||
MOD7.256 .HS 040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 0001020304050600010203040506
|
||
.HS 00
|
||
*--------------------------------------
|
||
BASEL .HS 00.00.00.00.00.00.00.00
|
||
.HS 80.80.80.80.80.80.80.80
|
||
.HS 00.00.00.00.00.00.00.00
|
||
.HS 80.80.80.80.80.80.80.80
|
||
.HS 00.00.00.00.00.00.00.00
|
||
.HS 80.80.80.80.80.80.80.80
|
||
.HS 00.00.00.00.00.00.00.00
|
||
.HS 80.80.80.80.80.80.80.80
|
||
.HS 28.28.28.28.28.28.28.28
|
||
.HS A8.A8.A8.A8.A8.A8.A8.A8
|
||
.HS 28.28.28.28.28.28.28.28
|
||
.HS A8.A8.A8.A8.A8.A8.A8.A8
|
||
.HS 28.28.28.28.28.28.28.28
|
||
.HS A8.A8.A8.A8.A8.A8.A8.A8
|
||
.HS 28.28.28.28.28.28.28.28
|
||
.HS A8.A8.A8.A8.A8.A8.A8.A8
|
||
.HS 50.50.50.50.50.50.50.50
|
||
.HS D0.D0.D0.D0.D0.D0.D0.D0
|
||
.HS 50.50.50.50.50.50.50.50
|
||
.HS D0.D0.D0.D0.D0.D0.D0.D0
|
||
.HS 50.50.50.50.50.50.50.50
|
||
.HS D0.D0.D0.D0.D0.D0.D0.D0
|
||
.HS 50.50.50.50.50.50.50.50
|
||
.HS D0.D0.D0.D0.D0.D0.D0.D0
|
||
*--------------------------------------
|
||
BASEH .HS 20.24.28.2C.30.34.38.3C
|
||
.HS 20.24.28.2C.30.34.38.3C
|
||
.HS 21.25.29.2D.31.35.39.3D
|
||
.HS 21.25.29.2D.31.35.39.3D
|
||
.HS 22.26.2A.2E.32.36.3A.3E
|
||
.HS 22.26.2A.2E.32.36.3A.3E
|
||
.HS 23.27.2B.2F.33.37.3B.3F
|
||
.HS 23.27.2B.2F.33.37.3B.3F
|
||
.HS 20.24.28.2C.30.34.38.3C
|
||
.HS 20.24.28.2C.30.34.38.3C
|
||
.HS 21.25.29.2D.31.35.39.3D
|
||
.HS 21.25.29.2D.31.35.39.3D
|
||
.HS 22.26.2A.2E.32.36.3A.3E
|
||
.HS 22.26.2A.2E.32.36.3A.3E
|
||
.HS 23.27.2B.2F.33.37.3B.3F
|
||
.HS 23.27.2B.2F.33.37.3B.3F
|
||
.HS 20.24.28.2C.30.34.38.3C
|
||
.HS 20.24.28.2C.30.34.38.3C
|
||
.HS 21.25.29.2D.31.35.39.3D
|
||
.HS 21.25.29.2D.31.35.39.3D
|
||
.HS 22.26.2A.2E.32.36.3A.3E
|
||
.HS 22.26.2A.2E.32.36.3A.3E
|
||
.HS 23.27.2B.2F.33.37.3B.3F
|
||
.HS 23.27.2B.2F.33.37.3B.3F
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE DRV/DHGR.DRV.T
|
||
LOAD DRV/DHGR.DRV.S
|
||
ASM
|