Changeset c59409e in buchla-68k for vlib


Ignore:
Timestamp:
08/19/2017 09:20:16 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
ad89950
Parents:
197ff76
Message:

Volatile hardware accesses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlib/vsetpal.c

    r197ff76 rc59409e  
    88#include "ram.h"
    99
    10 #define PALETTE         ((uint16_t *)0x280000L)
     10#define PALETTE         ((volatile uint16_t *)0x280000L)
    1111
    1212int16_t dfltpal[16][3] = {
     
    4545void vsetpal(int16_t slot, int16_t red, int16_t grn, int16_t blu)
    4646{
    47         register int16_t palval;
    48         uint16_t *pal;
     47        int16_t palval;
     48        volatile uint16_t *pal;
    4949
    5050        pal = PALETTE;
Note: See TracChangeset for help on using the changeset viewer.