~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/emu/cpu/s2650/s2650cpu.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*******************************************************
2
 
 *
3
 
 *      Portable Signetics 2650 cpu emulation
4
 
 *
5
 
 *      Written by Juergen Buchmueller for use with MAME
6
 
 *
7
 
 *******************************************************/
8
 
 
9
 
#define PMSK    0x1fff          /* mask page offset */
10
 
#define PLEN    0x2000          /* page length */
11
 
#define PAGE    0x6000          /* mask page */
12
 
#define AMSK    0x7fff          /* mask address range */
13
 
 
14
 
/* processor status lower */
15
 
#define C       0x01            /* carry flag */
16
 
#define COM     0x02            /* compare: 0 binary, 1 2s complement */
17
 
#define OVF     0x04            /* 2s complement overflow */
18
 
#define WC      0x08            /* with carry: use carry in arithmetic / rotate ops */
19
 
#define RS      0x10            /* register select 0: R0/R1/R2/R3 1: R0/R4/R5/R6 */
20
 
#define IDC     0x20            /* inter digit carry: bit-3-to-bit-4 carry */
21
 
#define CC      0xc0            /* condition code */
22
 
 
23
 
/* processor status upper */
24
 
#define SP      0x07            /* stack pointer: indexing 8 15bit words */
25
 
#define PSU34   0x18            /* unused bits */
26
 
#define II      0x20            /* interrupt inhibit 0: allow, 1: inhibit */
27
 
#define FO      0x40            /* flag output */
28
 
#define SI      0x80            /* sense input */
29
 
 
30
 
#define R0      s2650c->reg[0]
31
 
#define R1      s2650c->reg[1]
32
 
#define R2      s2650c->reg[2]
33
 
#define R3      s2650c->reg[3]