ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/powerrom_cpu/powerrom_cpu.cpp
(Generate patch)

Comparing BasiliskII/src/powerrom_cpu/powerrom_cpu.cpp (file contents):
Revision 1.4 by cebix, 2001-02-02T20:53:00Z vs.
Revision 1.10 by gbeauche, 2006-04-30T21:26:21Z

# Line 1 | Line 1
1   /*
2   *  powerrom_cpu.cpp - Using the 680x0 emulator in PowerMac ROMs for Basilisk II
3   *
4 < *  Basilisk II (C) 1997-2001 Christian Bauer
4 > *  Basilisk II (C) 1997-2005 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 31 | Line 31
31   #include "main.h"
32   #include "emul_op.h"
33   #include "prefs.h"
34 + #include "timer.h"
35   #include "user_strings.h"
36  
37   #include "sheep_driver.h"
# Line 808 | Line 809 | bool Init680x0(void)
809          try {
810                  load_rom();
811          } catch (file_open_error) {
812 <                ErrorAlert(GetString(STR_NO_ROM_FILE_ERR));
812 >                ErrorAlert(STR_NO_ROM_FILE_ERR);
813                  return false;
814          } catch (file_read_error) {
815 <                ErrorAlert(GetString(STR_ROM_FILE_READ_ERR));
815 >                ErrorAlert(STR_ROM_FILE_READ_ERR);
816                  return false;
817          } catch (rom_size_error) {
818 <                ErrorAlert(GetString(STR_ROM_SIZE_ERR));
818 >                ErrorAlert(STR_ROM_SIZE_ERR);
819                  return false;
820          }
821  
# Line 1238 | Line 1239 | void Start680x0(void)
1239  
1240   void TriggerInterrupt(void)
1241   {
1242 +        idle_resume();
1243          if (emul_thread > 0 && ReadyForSignals)
1244                  send_signal(emul_thread, SIGUSR1);
1245   }
1246  
1247 + void TriggerNMI(void)
1248 + {
1249 +        //!! not implemented yet
1250 + }
1251 +
1252  
1253   /*
1254   *  Execute 68k subroutine

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines