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

« back to all changes in this revision

Viewing changes to src/emu/cpu/i86/i86priv.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:
18
18
#define TRUE 1
19
19
#endif
20
20
 
21
 
#ifdef LSB_FIRST
22
 
typedef enum { AL,AH,CL,CH,DL,DH,BL,BH,SPL,SPH,BPL,BPH,SIL,SIH,DIL,DIH } BREGS;
23
 
#else
24
 
typedef enum { AH,AL,CH,CL,DH,DL,BH,BL,SPH,SPL,BPH,BPL,SIH,SIL,DIH,DIL } BREGS;
25
 
#endif
 
21
 
 
22
typedef enum {
 
23
   AL = NATIVE_ENDIAN_VALUE_LE_BE(0x0, 0x1),
 
24
   AH = NATIVE_ENDIAN_VALUE_LE_BE(0x1, 0x0),
 
25
   CL = NATIVE_ENDIAN_VALUE_LE_BE(0x2, 0x3),
 
26
   CH = NATIVE_ENDIAN_VALUE_LE_BE(0x3, 0x2),
 
27
   DL = NATIVE_ENDIAN_VALUE_LE_BE(0x4, 0x5),
 
28
   DH = NATIVE_ENDIAN_VALUE_LE_BE(0x5, 0x4),
 
29
   BL = NATIVE_ENDIAN_VALUE_LE_BE(0x6, 0x7),
 
30
   BH = NATIVE_ENDIAN_VALUE_LE_BE(0x7, 0x6),
 
31
  SPL = NATIVE_ENDIAN_VALUE_LE_BE(0x8, 0x9),
 
32
  SPH = NATIVE_ENDIAN_VALUE_LE_BE(0x9, 0x8),
 
33
  BPL = NATIVE_ENDIAN_VALUE_LE_BE(0xa, 0xb),
 
34
  BPH = NATIVE_ENDIAN_VALUE_LE_BE(0xb, 0xa),
 
35
  SIL = NATIVE_ENDIAN_VALUE_LE_BE(0xc, 0xd),
 
36
  SIH = NATIVE_ENDIAN_VALUE_LE_BE(0xd, 0xc),
 
37
  DIL = NATIVE_ENDIAN_VALUE_LE_BE(0xe, 0xf),
 
38
  DIH = NATIVE_ENDIAN_VALUE_LE_BE(0xf, 0xe)
 
39
} BREGS;
26
40
 
27
41
/* parameter x = result, y = source 1, z = source 2 */
28
42