Create Xref-Html Frames                    Remove All Frames
file:/home/jivera/wd/pcsx/Debug.h        (Tue Nov 25 22:46:14 2003 )


   1: /*  Pcsx - Pc Psx Emulator
   2:  *  Copyright (C) 1999-2003  Pcsx Team
   3:  *
   4:  *  This program is free software; you can redistribute it and/or modify
   5:  *  it under the terms of the GNU General Public License as published by
   6:  *  the Free Software Foundation; either version 2 of the License, or
   7:  *  (at your option) any later version.
   8:  *
   9:  *  This program is distributed in the hope that it will be useful,
  10:  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  11:  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12:  *  GNU General Public License for more details.
  13:  *
  14:  *  You should have received a copy of the GNU General Public License
  15:  *  along with this program; if not, write to the Free Software
  16:  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  17:  */
  18: 
  19: #ifndef __DEBUG_H__
  20: #define __DEBUG_H__
  21: 
  22: #include "PsxCommon.h"
  23: 
  24: 
  25: extern char *disRNameCP0[];
  26: 
  27: char* disR3000AF(u32 code, u32 pc);
  28: 
  29: FILE *emuLog;
  30: 
  31: //#define GTE_DUMP
  32: 
  33: #ifdef GTE_DUMP
  34: FILE *gteLog;
  35: #endif
  36: 
  37: //#define LOG_STDOUT
  38: 
  39: #define PAD_LOG  __Log
  40: //#define GTE_LOG  __Log
  41: //#define CDR_LOG  __Log("%8.8lx %8.8lx: ", psxRegs.pc, psxRegs.cycle); __Log
  42: 
  43: //#define PSXHW_LOG   __Log("%8.8lx %8.8lx: ", psxRegs.pc, psxRegs.cycle); __Log
  44: //#define PSXBIOS_LOG __Log("%8.8lx %8.8lx: ", psxRegs.pc, psxRegs.cycle); __Log
  45: //#define PSXDMA_LOG  __Log
  46: //#define PSXMEM_LOG  __Log("%8.8lx %8.8lx: ", psxRegs.pc, psxRegs.cycle); __Log
  47: //#define PSXCPU_LOG  __Log
  48: 
  49: //#define CDRCMD_DEBUG
  50: 
  51: #if defined (PSXCPU_LOG) || defined(PSXDMA_LOG) || defined(CDR_LOG) || defined(PSXHW_LOG) || \
  52:         defined(PSXBIOS_LOG) || defined(PSXMEM_LOG) || defined(GTE_LOG)    || defined(PAD_LOG)
  53: #define EMU_LOG __Log
  54: #endif
  55: 
  56: #endif /* __DEBUG_H__ */
  57: /* arch-tag: Matthew Dempsky Wed Oct 15 10:34:11 CST 2003 (Debug.h)
  58:  */
  59: 








































Html form generated by Xrefactory version 1.6.4 on Fri Dec 12 20:52:56 2003
Trial version.