PSXSDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
exception.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <psx.h>

Macros

#define DPCR   *((unsigned int*)0x1f8010f0)
 exception.c
 
#define DICR   *((unsigned int*)0x1f8010f4)
 
#define IPENDING   *((volatile unsigned int*)0x1f801070)
 
#define IMASK   *((volatile unsigned int*)0x1f801074)
 
#define GPU_DATA_PORT_ADDR   0x1f801810
 
#define GPU_CONTROL_PORT_ADDR   0x1f801814
 
#define GPU_DATA_PORT   *((unsigned int*)GPU_DATA_PORT_ADDR)
 
#define GPU_CONTROL_PORT   *((unsigned int*)GPU_CONTROL_PORT_ADDR)
 

Functions

void __psxsdk_exception_manager ()
 
void __psxsdk_real_exception_handler ()
 
void _internal_cdromlib_callback ()
 
void __PSX_Init_NoBios ()
 

Variables

void(* _EXC_vblank_handler )()
 
void(* _EXC_cdrom_handler )()
 
void(* _EXC_sio_handler )(unsigned char *data)
 
void(* _EXC_dma_handler )()
 
unsigned int _EXC_vblank_handler_set
 
unsigned int _EXC_cdrom_handler_set
 
unsigned int _EXC_sio_handler_set
 
unsigned int _EXC_dma_handler_set
 
volatile int __psxsdk_gpu_dma_finished
 

Macro Definition Documentation

#define DICR   *((unsigned int*)0x1f8010f4)
#define DPCR   *((unsigned int*)0x1f8010f0)

exception.c

Exception handling code (part 2)

#define GPU_CONTROL_PORT   *((unsigned int*)GPU_CONTROL_PORT_ADDR)
#define GPU_CONTROL_PORT_ADDR   0x1f801814
#define GPU_DATA_PORT   *((unsigned int*)GPU_DATA_PORT_ADDR)
#define GPU_DATA_PORT_ADDR   0x1f801810
#define IMASK   *((volatile unsigned int*)0x1f801074)
#define IPENDING   *((volatile unsigned int*)0x1f801070)

Function Documentation

void __PSX_Init_NoBios ( )
void __psxsdk_exception_manager ( )
void __psxsdk_real_exception_handler ( )
void _internal_cdromlib_callback ( )

Variable Documentation

volatile int __psxsdk_gpu_dma_finished
void(* _EXC_cdrom_handler)()
unsigned int _EXC_cdrom_handler_set
void(* _EXC_dma_handler)()
unsigned int _EXC_dma_handler_set
void(* _EXC_sio_handler)(unsigned char *data)
unsigned int _EXC_sio_handler_set
void(* _EXC_vblank_handler)()
unsigned int _EXC_vblank_handler_set