~ubuntu-branches/ubuntu/vivid/basilisk2/vivid

« back to all changes in this revision

Viewing changes to src/uae_cpu/basilisk_glue.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-03-06 19:33:01 UTC
  • mfrom: (2.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080306193301-cc2ofn705nfsq3y0
Tags: 0.9.20070407-4
* Update copyright-check cdbs snippet to parse licensecheck using perl:
  + No longer randomly drops newlines
  + More compact hint file (and ordered more like wiki-proposed new copyright
    syntax).
  + No longer ignore files without copyright.
* Update copyright_hints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  basilisk_glue.cpp - Glue UAE CPU to Basilisk II CPU engine interface
3
3
 *
4
 
 *  Basilisk II (C) 1997-2002 Christian Bauer
 
4
 *  Basilisk II (C) 1997-2005 Christian Bauer
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
25
25
#include "prefs.h"
26
26
#include "emul_op.h"
27
27
#include "rom_patches.h"
 
28
#include "timer.h"
28
29
#include "m68k.h"
29
30
#include "memory.h"
30
31
#include "readcpu.h"
67
68
{
68
69
#if REAL_ADDRESSING
69
70
        // Mac address space = host address space
70
 
        RAMBaseMac = (uint32)RAMBaseHost;
71
 
        ROMBaseMac = (uint32)ROMBaseHost;
 
71
        RAMBaseMac = (uintptr)RAMBaseHost;
 
72
        ROMBaseMac = (uintptr)ROMBaseHost;
72
73
#elif DIRECT_ADDRESSING
73
74
        // Mac address space = host address space minus constant offset (MEMBaseDiff)
74
75
        // NOTE: MEMBaseDiff is set up in main_unix.cpp/main()
152
153
 
153
154
void TriggerInterrupt(void)
154
155
{
 
156
        idle_resume();
155
157
        SPCFLAGS_SET( SPCFLAG_INT );
156
158
}
157
159