Previous 199869 Revisions Next

r26780 Friday 27th December, 2013 at 12:50:54 UTC by Wilbert Pol
small cleanup (nw)
[src/emu/cpu]cpu.mak
[src/emu/cpu/sc61860]sc.h sc61860.c sc61860.h scdasm.c

trunk/src/emu/cpu/cpu.mak
r26779r26780
17501750endif
17511751
17521752$(CPUOBJ)/sc61860/sc61860.o:    $(CPUSRC)/sc61860/sc61860.h \
1753                        $(CPUSRC)/sc61860/sc.h \
17541753                        $(CPUSRC)/sc61860/scops.c \
17551754                        $(CPUSRC)/sc61860/sctable.c
17561755
trunk/src/emu/cpu/sc61860/sc.h
r26779r26780
1#define I 0
2#define J 1
3#define A 2
4#define B 3
5#define XL 4
6#define XH 5
7#define YL 6
8#define YH 7
9#define K 8
10#define L 9
11#define V 10 // some docus m
12#define W 11 // some docus n
13#define IA 92
14#define IB 93
15#define F0 94
16#define C 95
17
18enum
19{
20   SC61860_PC=1, SC61860_DP,
21   SC61860_P, SC61860_Q, SC61860_R,
22   SC61860_CARRY,
23   SC61860_ZERO,
24   // the following are in the internal ram!
25   SC61860_BA,
26   SC61860_X, SC61860_Y,
27   SC61860_I, SC61860_J, SC61860_K, SC61860_L, SC61860_V, SC61860_W,
28   SC61860_H
29
30//  SC61860_NMI_STATE,
31//  SC61860_IRQ_STATE
32};
trunk/src/emu/cpu/sc61860/sc61860.h
r26779r26780
3737   64 kb external ram (first 8kbyte not seen for program execution?) */
3838
3939
40enum
41{
42   SC61860_PC=1, SC61860_DP,
43   SC61860_P, SC61860_Q, SC61860_R,
44   SC61860_CARRY,
45   SC61860_ZERO,
46   // the following are in the internal ram!
47   SC61860_BA,
48   SC61860_X, SC61860_Y,
49   SC61860_I, SC61860_J, SC61860_K, SC61860_L, SC61860_V, SC61860_W,
50   SC61860_H
51
52//  SC61860_NMI_STATE,
53//  SC61860_IRQ_STATE
54};
55
56
4057struct sc61860_cpu_core
4158{
4259   devcb_read_line reset;
trunk/src/emu/cpu/sc61860/sc61860.c
r26779r26780
3131#include "debugger.h"
3232
3333#include "sc61860.h"
34#include "sc.h"
3534
35
36#define I 0
37#define J 1
38#define A 2
39#define B 3
40#define XL 4
41#define XH 5
42#define YL 6
43#define YH 7
44#define K 8
45#define L 9
46#define V 10 // some docus m
47#define W 11 // some docus n
48#define IA 92
49#define IB 93
50#define F0 94
51#define C 95
52
53
3654#define VERBOSE 0
3755
3856#define LOG(x)  do { if (VERBOSE) logerror x; } while (0)
trunk/src/emu/cpu/sc61860/scdasm.c
r26779r26780
2424#include "debugger.h"
2525
2626#include "sc61860.h"
27#include "sc.h"
2827
2928/*
3029  new:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team