|
|
1.1 ! root 1: /* NeXT system registers emulation */ ! 2: ! 3: ! 4: #define INT_SOFT1 0x00000001 // level 1 ! 5: #define INT_SOFT2 0x00000002 // level 2 ! 6: #define INT_POWER 0x00000004 // level 3 ! 7: #define INT_KEYMOUSE 0x00000008 ! 8: #define INT_MONITOR 0x00000010 ! 9: #define INT_VIDEO 0x00000020 ! 10: #define INT_DSP_L3 0x00000040 ! 11: #define INT_PHONE 0x00000080 // Floppy? ! 12: #define INT_SOUND_OVRUN 0x00000100 ! 13: #define INT_EN_RX 0x00000200 ! 14: #define INT_EN_TX 0x00000400 ! 15: #define INT_PRINTER 0x00000800 ! 16: #define INT_SCSI 0x00001000 ! 17: #define INT_DISK 0x00002000 // in color systems this is INT_C16VIDEO ! 18: #define INT_DSP_L4 0x00004000 // level 4 ! 19: #define INT_BUS 0x00008000 // level 5 ! 20: #define INT_REMOTE 0x00010000 ! 21: #define INT_SCC 0x00020000 ! 22: #define INT_R2M_DMA 0x00040000 // level 6 ! 23: #define INT_M2R_DMA 0x00080000 ! 24: #define INT_DSP_DMA 0x00100000 ! 25: #define INT_SCC_DMA 0x00200000 ! 26: #define INT_SND_IN_DMA 0x00400000 ! 27: #define INT_SND_OUT_DMA 0x00800000 ! 28: #define INT_PRINTER_DMA 0x01000000 ! 29: #define INT_DISK_DMA 0x02000000 ! 30: #define INT_SCSI_DMA 0x04000000 ! 31: #define INT_EN_RX_DMA 0x08000000 ! 32: #define INT_EN_TX_DMA 0x10000000 ! 33: #define INT_TIMER 0x20000000 ! 34: #define INT_PFAIL 0x40000000 // level 7 ! 35: #define INT_NMI 0x80000000 ! 36: ! 37: #define SET_INT 0x01 ! 38: #define RELEASE_INT 0x00 ! 39: ! 40: Uint8 read_rtc_ram(Uint8 position); ! 41: ! 42: void SID_Read(void); ! 43: ! 44: void SCR_Reset(void); ! 45: void SCR1_Read0(void); ! 46: void SCR1_Read1(void); ! 47: void SCR1_Read2(void); ! 48: void SCR1_Read3(void); ! 49: ! 50: void TurboSCR1_Reset(void); ! 51: void TurboSCR1_Read0(void); ! 52: void TurboSCR1_Read2(void); ! 53: ! 54: void SCR2_Read0(void); ! 55: void SCR2_Write0(void); ! 56: void SCR2_Read1(void); ! 57: void SCR2_Write1(void); ! 58: void SCR2_Read2(void); ! 59: void SCR2_Write2(void); ! 60: void SCR2_Read3(void); ! 61: void SCR2_Write3(void); ! 62: ! 63: void IntRegStatRead(void); ! 64: void IntRegStatWrite(void); ! 65: void IntRegMaskRead(void); ! 66: void IntRegMaskWrite(void); ! 67: ! 68: void Hardclock_InterruptHandler ( void ); ! 69: void HardclockRead0(void); ! 70: void HardclockRead1(void); ! 71: ! 72: void HardclockWrite0(void); ! 73: void HardclockWrite1(void); ! 74: ! 75: void HardclockWriteCSR(void); ! 76: void HardclockReadCSR(void); ! 77: ! 78: void nvram_init(void); ! 79: void rtc_checksum(int force); ! 80: ! 81: void set_interrupt(Uint32, Uint8);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.