//-----------------------------------------------------------
//
//             Commodore 64 definitions library
//
//
// Author: Mattias Hansson, Mikael Hansson
// Copyright (c) : 2000-2005 Mattias Hansson
// License: GNU LGPL 2
// Language: 65CM v0.4+
// Dependencies:
// Target: Commodore 64
//
// Purpose: Define accessor constants to various resources
//          in the C64.
//-----------------------------------------------------------
#IFNDEF __C64DEFS
#DEFINE __C64DEFS = 1
  WORD CONST vic2 = $d000
  WORD CONST cia1 = $dc00
  WORD CONST cia2 = $dd00
  WORD CONST colorram = $d800
  WORD CONST sid = $d400

  BYTE CONST color_black = 0
  BYTE CONST color_white = 1
  BYTE CONST color_red = 2
  BYTE CONST color_cyan = 3
  BYTE CONST color_purple = 4
  BYTE CONST color_green = 5
  BYTE CONST color_blue = 6
  BYTE CONST color_yellow = 7
  BYTE CONST color_orange = 8
  BYTE CONST color_brown = 9
  BYTE CONST color_pink = 10
  BYTE CONST color_dark_grey = 11
  BYTE CONST color_grey = 12
  BYTE CONST color_light_green = 13
  BYTE CONST color_light_blue = 14
  BYTE CONST color_light_grey = 15
#IFEND