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.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.7 by cebix, 2002-01-15T14:58:42Z

# Line 1 | Line 1
1   /*
2 < *  pwoerrom_cpu.cpp - Using the 680x0 emulator in PowerMac ROMs for Basilisk II
2 > *  powerrom_cpu.cpp - Using the 680x0 emulator in PowerMac ROMs for Basilisk II
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2002 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
8 > *  the Free Software Foundation; either version 2 of the License, or
9 > *  (at your option) any later version.
10 > *
11 > *  This program is distributed in the hope that it will be useful,
12 > *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 > *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 > *  GNU General Public License for more details.
15 > *
16 > *  You should have received a copy of the GNU General Public License
17 > *  along with this program; if not, write to the Free Software
18 > *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19   */
20  
21   #include <unistd.h>
# Line 794 | Line 808 | bool Init680x0(void)
808          try {
809                  load_rom();
810          } catch (file_open_error) {
811 <                ErrorAlert(GetString(STR_NO_ROM_FILE_ERR));
811 >                ErrorAlert(STR_NO_ROM_FILE_ERR);
812                  return false;
813          } catch (file_read_error) {
814 <                ErrorAlert(GetString(STR_ROM_FILE_READ_ERR));
814 >                ErrorAlert(STR_ROM_FILE_READ_ERR);
815                  return false;
816          } catch (rom_size_error) {
817 <                ErrorAlert(GetString(STR_ROM_SIZE_ERR));
817 >                ErrorAlert(STR_ROM_SIZE_ERR);
818                  return false;
819          }
820  
# Line 1228 | Line 1242 | void TriggerInterrupt(void)
1242                  send_signal(emul_thread, SIGUSR1);
1243   }
1244  
1245 + void TriggerNMI(void)
1246 + {
1247 +        //!! not implemented yet
1248 + }
1249 +
1250  
1251   /*
1252   *  Execute 68k subroutine

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines