1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /*
- * Contains default ASCII table with default palette table.
- * Assembly is used as workaround to store them.
- * Because of the default stack code at the start of each code,
- * an offset is required to access the data
- */
- void DATA_PALETTE_COLOR(){
- asm(
- ".dw 0b00000000000000001111111111111111 ; green, black, white, white\n"
- ".dw 0b00000000001000000100000001100000\n"
- ".dw 0b10000000101000001100000011100000\n"
- ".dw 0b00000000000001000000100000001100\n"
- ".dw 0b00010000000101000001100000011100\n"
- ".dw 0b00000000000000010000001000000011\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- );
- }
- void DATA_PATTERN_COLOR(){
- asm(
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b00000000000000000000000000000000\n"
- ".dw 0b01010101010101010101010101010101\n"
- ".dw 0b01010101010101010101010101010101\n"
- ".dw 0b01010101010101010101010101010101\n"
- ".dw 0b01010101010101010101010101010101\n"
- ".dw 0b10101010101010101010101010101010\n"
- ".dw 0b10101010101010101010101010101010\n"
- ".dw 0b10101010101010101010101010101010\n"
- ".dw 0b10101010101010101010101010101010\n"
- ".dw 0b11111111111111111111111111111111\n"
- ".dw 0b11111111111111111111111111111111\n"
- ".dw 0b11111111111111111111111111111111\n"
- ".dw 0b11111111111111111111111111111111\n"
- );
- }
|