~ubuntu-branches/debian/experimental/mednafen/experimental

« back to all changes in this revision

Viewing changes to src/snes_perf/src/snes/chip/obc1/obc1.hpp

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2014-11-08 11:36:07 UTC
  • mfrom: (1.2.18) (10.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20141108113607-3lbwsamqqhrso4hp
Tags: 0.9.36.5-1
* New upstream release, uploaded to expermiental for the Jessie freeze.
* Standards-Version 3.9.6, no change required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class OBC1 : public Memory {
2
 
public:
3
 
  void init() NALL_COLD;
4
 
  void enable();
5
 
  void power() NALL_COLD;
6
 
  void reset() NALL_COLD;
7
 
 
8
 
  uint8 read(unsigned addr);
9
 
  void write(unsigned addr, uint8 data);
10
 
 
11
 
  void serialize(serializer&) NALL_COLD;
12
 
  OBC1() NALL_COLD;
13
 
  ~OBC1() NALL_COLD;
14
 
 
15
 
private:
16
 
  uint8 ram_read(unsigned addr);
17
 
  void ram_write(unsigned addr, uint8 data);
18
 
 
19
 
  struct {
20
 
    uint16 address;
21
 
    uint16 baseptr;
22
 
    uint16 shift;
23
 
  } status;
24
 
};
25
 
 
26
 
extern OBC1 obc1;