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

Comparing BasiliskII/src/include/main.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.6 by cebix, 2000-08-22T12:44:29Z

# Line 1 | Line 1
1   /*
2   *  main.h - General definitions
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 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 38 | Line 38 | struct M68kRegisters {
38          uint16 sr;
39   };
40  
41 < // Functions
41 > // General functions
42 > extern bool InitAll(void);
43 > extern void ExitAll(void);
44 >
45 > // Platform-specific functions
46   extern void FlushCodeCache(void *start, uint32 size);   // Code was patched, flush caches if neccessary
47   extern void QuitEmulator(void);                                                 // Quit emulator
48   extern void ErrorAlert(const char *text);                               // Display error alert
# Line 47 | Line 51 | extern bool ChoiceAlert(const char *text
51  
52   // Interrupt flags
53   enum {
54 <        INTFLAG_60HZ = 1,       // 60Hz VBL
55 <        INTFLAG_SERIAL = 2,     // Serial driver
56 <        INTFLAG_ETHER = 4,      // Ethernet driver
57 <        INTFLAG_AUDIO = 8,      // Audio block read
58 <        INTFLAG_TIMER = 16      // Time Manager
54 >        INTFLAG_60HZ = 1,       // 60.15Hz VBL
55 >        INTFLAG_1HZ = 2,        // ~1Hz interrupt
56 >        INTFLAG_SERIAL = 4,     // Serial driver
57 >        INTFLAG_ETHER = 8,      // Ethernet driver
58 >        INTFLAG_AUDIO = 16,     // Audio block read
59 >        INTFLAG_TIMER = 32,     // Time Manager
60 >        INTFLAG_NMI = 64        // NMI
61   };
62  
63   extern uint32 InterruptFlags;                                                                   // Currently pending interrupts

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines