From f70082329d751ee8a358437feb34134e283b27d8 Mon Sep 17 00:00:00 2001 From: iCatButler Date: Tue, 7 Jun 2016 15:57:46 +0100 Subject: Initial PGXP CPU commit - Restructured project to base interface on PSX instructions - Support for all relevant CPU arithmetic and logic instructions - Debug output available via deferred PGXP calls - Remove most dependencies on PCSXR - Still very much a work in progress (lots of errors) - Add extra debug information to GPU plugin (w values) --- libpcsxcore/pgxp_debug.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 libpcsxcore/pgxp_debug.h (limited to 'libpcsxcore/pgxp_debug.h') diff --git a/libpcsxcore/pgxp_debug.h b/libpcsxcore/pgxp_debug.h new file mode 100644 index 00000000..caea2b67 --- /dev/null +++ b/libpcsxcore/pgxp_debug.h @@ -0,0 +1,42 @@ +/*************************************************************************** +* Copyright (C) 2016 by iCatButler * +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +* This program is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * +* GNU General Public License for more details. * +* * +* You should have received a copy of the GNU General Public License * +* along with this program; if not, write to the * +* Free Software Foundation, Inc., * +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * +***************************************************************************/ + +/************************************************************************** +* pgxp_debug.h +* PGXP - Parallel/Precision Geometry Xform Pipeline +* +* Created on: 07 Jun 2016 +* Author: iCatButler +***************************************************************************/ + +#ifndef _PGXP_DEBUG_H_ +#define _PGXP_DEBUG_H_ + +#include "psxcommon.h" + +// Debug wrappers +void PGXP_psxTrace(u32 code); +void PGXP_psxTraceOp1(u32 code, u32 op1); +void PGXP_psxTraceOp2(u32 code, u32 op1, u32 op2); +void PGXP_psxTraceOp3(u32 code, u32 op1, u32 op2, u32 op3); +void PGXP_psxTraceOp4(u32 code, u32 op1, u32 op2, u32 op3, u32 op4); + +extern unsigned int pgxp_debug; + +#endif//_PGXP_DEBUG_H_ \ No newline at end of file -- cgit v1.2.3