~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/emu/cpu/avr8/avr8.h

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Atmel 8-bit AVR simulator
 
3
 
 
4
    (Skeleton)
 
5
 
 
6
    Written by MooglyGuy
 
7
*/
 
8
 
 
9
#pragma once
 
10
 
 
11
#ifndef __AVR8_H__
 
12
#define __AVR8_H__
 
13
 
 
14
enum
 
15
{
 
16
    AVR8_SREG = 1,
 
17
    AVR8_PC,
 
18
    AVR8_R0,
 
19
    AVR8_R1,
 
20
    AVR8_R2,
 
21
    AVR8_R3,
 
22
    AVR8_R4,
 
23
    AVR8_R5,
 
24
    AVR8_R6,
 
25
    AVR8_R7,
 
26
    AVR8_R8,
 
27
    AVR8_R9,
 
28
    AVR8_R10,
 
29
    AVR8_R11,
 
30
    AVR8_R12,
 
31
    AVR8_R13,
 
32
    AVR8_R14,
 
33
    AVR8_R15,
 
34
    AVR8_R16,
 
35
    AVR8_R17,
 
36
    AVR8_R18,
 
37
    AVR8_R19,
 
38
    AVR8_R20,
 
39
    AVR8_R21,
 
40
    AVR8_R22,
 
41
    AVR8_R23,
 
42
    AVR8_R24,
 
43
    AVR8_R25,
 
44
    AVR8_R26,
 
45
    AVR8_R27,
 
46
    AVR8_R28,
 
47
    AVR8_R29,
 
48
    AVR8_R30,
 
49
    AVR8_R31,
 
50
    AVR8_X,
 
51
    AVR8_Y,
 
52
    AVR8_Z,
 
53
    AVR8_SP,
 
54
};
 
55
 
 
56
enum
 
57
{
 
58
    AVR8_INT_RESET = 0,
 
59
    AVR8_INT_INT0,
 
60
    AVR8_INT_INT1,
 
61
    AVR8_INT_PCINT0,
 
62
    AVR8_INT_PCINT1,
 
63
    AVR8_INT_PCINT2,
 
64
    AVR8_INT_WDT,
 
65
    AVR8_INT_T2COMPA,
 
66
    AVR8_INT_T2COMPB,
 
67
    AVR8_INT_T2OVF,
 
68
    AVR8_INT_T1CAPT,
 
69
    AVR8_INT_T1COMPA,
 
70
    AVR8_INT_T1COMPB,
 
71
    AVR8_INT_T1OVF,
 
72
    AVR8_INT_T0COMPA,
 
73
    AVR8_INT_T0COMPB,
 
74
    AVR8_INT_T0OVF,
 
75
    AVR8_INT_SPI_STC,
 
76
    AVR8_INT_USART_RX,
 
77
    AVR8_INT_USART_UDRE,
 
78
    AVR8_INT_USART_TX,
 
79
    AVR8_INT_ADC,
 
80
    AVR8_INT_EE_RDY,
 
81
    AVR8_INT_ANALOG_COMP,
 
82
    AVR8_INT_TWI,
 
83
    AVR8_INT_SPM_RDY,
 
84
};
 
85
 
 
86
CPU_GET_INFO( avr8 );
 
87
#define CPU_AVR8 CPU_GET_INFO_NAME( avr8 )
 
88
 
 
89
CPU_DISASSEMBLE( avr8 );
 
90
 
 
91
#endif /* __AVR8_H__ */