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

Comparing BasiliskII/src/BeOS/main_beos.cpp (file contents):
Revision 1.2 by cebix, 1999-10-19T17:41:29Z vs.
Revision 1.7 by cebix, 2001-02-02T20:52:57Z

# Line 1 | Line 1
1   /*
2   *  main_beos.cpp - Startup code for BeOS
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2001 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 176 | Line 176 | void BasiliskII::ReadyToRun(void)
176                  delete_area(old_rom_area);
177  
178          // Read preferences
179 <        PrefsInit();
179 >        PrefsInit(0, NULL);
180  
181          // Init system routines
182          SysInit();
# Line 214 | Line 214 | void BasiliskII::StartEmulator(void)
214          char str[256];
215  
216   #if REAL_ADDRESSING
217 <        // Open memory mess driver and remap low memory
217 >        // Open sheep driver and remap low memory
218          sheep_fd = open("/dev/sheep", 0);
219          if (sheep_fd < 0) {
220                  sprintf(str, GetString(STR_NO_SHEEP_DRIVER_ERR), strerror(sheep_fd), sheep_fd);
# Line 503 | Line 503 | status_t BasiliskII::tick_func(void *arg
503                  if (++tick_counter > 60) {
504                          tick_counter = 0;
505                          WriteMacInt32(0x20c, TimerDateTime());
506 +                        SetInterruptFlag(INTFLAG_1HZ);
507 +                        TriggerInterrupt();
508                  }
509  
510                  // Trigger 60Hz interrupt

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines