~ubuntu-branches/debian/squeeze/stella/squeeze

« back to all changes in this revision

Viewing changes to src/emucore/CartF8.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Mario Iseli
  • Date: 2006-04-08 18:38:25 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060408183825-vu1jk57rk929derx
* New Maintainer (Closes: #361345)
* New upstream release (Closes: #349725)
* Build-Depend now on libslang2-dev (Closes: #325577)
* Complete rebuild of debian/, upgraded to policy-standards
  3.6.2 and compat-level 5.
* Removed stellarc since stella only reads ~/.stellarc and even
  works without a first config.
* New debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
//  SS  SS   tt   ee      ll   ll  aa  aa
9
9
//   SSSS     ttt  eeeee llll llll  aaaaa
10
10
//
11
 
// Copyright (c) 1995-1998 by Bradford W. Mott
 
11
// Copyright (c) 1995-2005 by Bradford W. Mott and the Stella team
12
12
//
13
13
// See the file "license" for information on usage and redistribution of
14
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
15
15
//
16
 
// $Id: CartF8.hxx,v 1.2 2002/05/13 19:17:32 stephena Exp $
 
16
// $Id: CartF8.hxx,v 1.6 2005/07/30 16:58:22 urchlay Exp $
17
17
//============================================================================
18
18
 
19
19
#ifndef CARTRIDGEF8_HXX
31
31
  are two 4K banks.
32
32
 
33
33
  @author  Bradford W. Mott
34
 
  @version $Id: CartF8.hxx,v 1.2 2002/05/13 19:17:32 stephena Exp $
 
34
  @version $Id: CartF8.hxx,v 1.6 2005/07/30 16:58:22 urchlay Exp $
35
35
*/
36
36
class CartridgeF8 : public Cartridge
37
37
{
85
85
    */
86
86
    virtual bool load(Deserializer& in);
87
87
 
 
88
    virtual uInt8* getImage(int& size);
 
89
 
88
90
  public:
89
91
    /**
90
92
      Get the byte at the specified address.
101
103
    */
102
104
    virtual void poke(uInt16 address, uInt8 value);
103
105
 
104
 
  private:
 
106
         bool patch(uInt16 address, uInt8 value);
 
107
 
105
108
    /**
106
109
      Install pages for the specified bank in the system
107
110
 
108
111
      @param bank The bank that should be installed in the system
109
112
    */
110
113
    void bank(uInt16 bank);
 
114
    int bank();
 
115
    int bankCount();
111
116
 
112
117
  private:
113
118
    // Indicates which bank is currently active