~ubuntu-branches/ubuntu/precise/vice/precise

« back to all changes in this revision

Viewing changes to src/c64/c64mem.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2010-02-11 18:30:16 UTC
  • mfrom: (1.1.8 upstream) (9.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100211183016-f6n8usn3tzp0u6dp
Tags: 2.2.dfsg-1
* New upstream release, C64 DTV is included so update package description
  and add it to the menu.
* Drop patch fixing build failure with gcc-4.4 , applied upstream.
* Fix some lintian problems and clean up debian/rules .

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 *
26
26
 */
27
27
 
28
 
#ifndef _C64MEM_H
29
 
#define _C64MEM_H
 
28
#ifndef VICE_C64MEM_H
 
29
#define VICE_C64MEM_H
30
30
 
 
31
#include "mem.h"
31
32
#include "types.h"
32
33
 
33
 
#ifdef WATCOM_COMPILE
34
 
#include "../mem.h"
35
 
#else
36
 
#include "mem.h"
37
 
#endif
38
 
 
39
34
#ifndef C64_RAM_SIZE
40
 
#define C64_RAM_SIZE                    0x10000
 
35
#define C64_RAM_SIZE 0x10000
41
36
#endif
42
 
#define C64_KERNAL_ROM_SIZE             0x2000
43
 
#define C64_BASIC_ROM_SIZE              0x2000
44
 
#define C64_CHARGEN_ROM_SIZE            0x1000
45
 
 
46
 
#define C64_BASIC_CHECKSUM              15702
47
 
#define C64_KERNAL_CHECKSUM_R00         50955
48
 
#define C64_KERNAL_CHECKSUM_R03         50954
49
 
#define C64_KERNAL_CHECKSUM_R03swe      50633
50
 
#define C64_KERNAL_CHECKSUM_R43         50955
51
 
#define C64_KERNAL_CHECKSUM_R64         49680
 
37
 
 
38
#define C64_KERNAL_ROM_SIZE  0x2000
 
39
#define C64_BASIC_ROM_SIZE   0x2000
 
40
#define C64_CHARGEN_ROM_SIZE 0x1000
 
41
 
 
42
#define C64_BASIC_CHECKSUM         15702
 
43
#define C64_KERNAL_CHECKSUM_R00    50955
 
44
#define C64_KERNAL_CHECKSUM_R03    50954
 
45
#define C64_KERNAL_CHECKSUM_R03swe 50633
 
46
#define C64_KERNAL_CHECKSUM_R43    50955
 
47
#define C64_KERNAL_CHECKSUM_R64    49680
52
48
 
53
49
extern int c64_mem_init_resources(void);
54
50
extern int c64_mem_init_cmdline_options(void);
72
68
extern BYTE mem_chargen_rom[C64_CHARGEN_ROM_SIZE];
73
69
 
74
70
extern void mem_set_write_hook(int config, int page, store_func_t *f);
75
 
extern void mem_read_tab_set(unsigned int base, unsigned int index,
76
 
                             read_func_ptr_t read_func);
77
 
extern void mem_read_base_set(unsigned int base, unsigned int index,
78
 
                              BYTE *mem_ptr);
 
71
extern void mem_read_tab_set(unsigned int base, unsigned int index, read_func_ptr_t read_func);
 
72
extern void mem_read_base_set(unsigned int base, unsigned int index, BYTE *mem_ptr);
79
73
 
80
74
extern void REGPARM2 mem_store_without_ultimax(WORD addr, BYTE value);
81
75
extern BYTE REGPARM1 mem_read_without_ultimax(WORD addr);
87
81
extern void c64_mem_init(void);
88
82
 
89
83
#endif
90