- Timestamp:
- 08/19/2017 09:20:16 AM (7 years ago)
- Branches:
- master
- Children:
- ad89950
- Parents:
- 197ff76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlib/vsetpal.c
r197ff76 rc59409e 8 8 #include "ram.h" 9 9 10 #define PALETTE (( uint16_t *)0x280000L)10 #define PALETTE ((volatile uint16_t *)0x280000L) 11 11 12 12 int16_t dfltpal[16][3] = { … … 45 45 void vsetpal(int16_t slot, int16_t red, int16_t grn, int16_t blu) 46 46 { 47 registerint16_t palval;48 uint16_t *pal;47 int16_t palval; 48 volatile uint16_t *pal; 49 49 50 50 pal = PALETTE;
Note:
See TracChangeset
for help on using the changeset viewer.