A7800DS/arm9/source/emu/Equates.h
wavemotion-dave d13ef17df1 Version 1.1
2020-12-09 08:18:33 -05:00

84 lines
2.5 KiB
C

// ----------------------------------------------------------------------------
// ___ ___ ___ ___ ___ ____ ___ _ _
// /__/ /__/ / / /__ /__/ /__ / /_ / |/ /
// / / \ /__/ ___/ ___/ ___/ / /__ / / emulator
//
// ----------------------------------------------------------------------------
// Copyright 2005 Greg Stanton
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
// ----------------------------------------------------------------------------
// Equates.h
// ----------------------------------------------------------------------------
#ifndef EQUATES_H
#define EQUATES_H
#define INPTCTRL 1
#define INPT0 8
#define INPT1 9
#define INPT2 10
#define INPT3 11
#define INPT4 12
#define INPT5 13
#define AUDC0 21
#define AUDC1 22
#define AUDF0 23
#define AUDF1 24
#define AUDV0 25
#define AUDV1 26
#define BACKGRND 32
#define P0C1 33
#define P0C2 34
#define P0C3 35
#define WSYNC 36
#define P1C1 37
#define P1C2 38
#define P1C3 39
#define MSTAT 40
#define P2C1 41
#define P2C2 42
#define P2C3 43
#define DPPH 44
#define P3C1 45
#define P3C2 46
#define P3C3 47
#define DPPL 48
#define P4C1 49
#define P4C2 50
#define P4C3 51
#define CHARBASE 52
#define P5C1 53
#define P5C2 54
#define P5C3 55
#define OFFSET 56
#define P6C1 57
#define P6C2 58
#define P6C3 59
#define CTRL 60
#define P7C1 61
#define P7C2 62
#define P7C3 63
#define SWCHA 640
#define CTLSWA 641
#define SWCHB 642
#define CTLSWB 643
#define INTIM 644
#define INTFLG 645
#define TIM1T 660
#define TIM8T 661
#define TIM64T 662
#define T1024T 663
#endif