code
stringlengths
2
2.01M
language
stringclasses
1 value
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2002-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1999-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2003,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2006,2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2002,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1999-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2006-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2006-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2005-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2005-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/******************************************************************************/ /* asciixmas */ /* December 1989 Larry Bartz Indianapolis, IN */ /* ...
C
/**************************************************************************** * Copyright (c) 2000-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2003-2004,2005 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2002-2006,2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2002,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/* * * This is a test program for the PDCurses screen package for IBM PC type * machines. * * This program was written by John Burnell (johnb@kea.am.dsir.govt.nz) * wrs(5/28/93) -- modified to be consistent (perform identically) with either * PDCurses or under Unix System V, R4 * * $Id: testc...
C
/**************************************************************************** * Copyright (c) 2005-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/* $Id: tclock.c,v 1.25 2005/04/16 16:39:27 tom Exp $ */ #include <test.priv.h> #include <math.h> #if TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> #else # if HAVE_SYS_TIME_H # include <sys/time.h> # else # include <time.h> # endif #endif /* tclock - analog/digital clock for curses. If it gives...
C
/**************************************************************************** * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2002-2003,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2002-2006,2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2006-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2003-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2003-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2003-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/* * newdemo.c - A demo program using PDCurses. The program illustrate * the use of colours for text output. * * $Id: newdemo.c,v 1.31 2008/08/03 20:19:38 tom Exp $ */ #include <test.priv.h> #include <time.h> /* * The Australian map */ static CONST_MENUS char *AusMap[16] = { " A ...
C
/**************************************************************************** * Copyright (c) 1999-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
/**************************************************************************** * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
C
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by Blackguard.rc // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 101 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1001 #...
C
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #pragma once #...
C
//-------------------------------------------------------------------------------------- // File: DDSTextureLoader.h // // Function for loading a DDS texture and creating a Direct3D 11 runtime resource for it // // Note this function is useful as a light-weight runtime loader for DDS files. For // a full-featured DDS f...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
#ifndef __ipl_update__ #define __ipl_update__ static unsigned int size_ipl_update = 2149; static unsigned char ipl_update[] __attribute__((aligned(64))) = { 0x7e, 0x50, 0x53, 0x50, 0x07, 0x10, 0x01, 0x00, 0x00, 0x01, 0x70, 0x73, 0x70, 0x49, 0x70, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x00, 0x00, 0x00, 0x0...
C
#include <pspkernel.h> #include <pspctrl.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include "../cfw_modules.h" PSP_MODULE_INFO("u235_module", 0x800 , 1, 0); PSP_MAIN_THREAD_ATTR( PSP_THREAD_ATTR_VSH ); int PlutoniumGetModel(); int PlutoniumColdReset(); void reset() { sceKernel...
C
#include <pspkernel.h> #include <pspdebug.h> #include <pspsdk.h> #include <stdlib.h> #include <string.h> #include <psploadexec_kernel.h> #include <psputility.h> #include <pspgu.h> #include <psprtc.h> #include <pspdisplay.h> #include <pspnet.h> #include <pspnet_inet.h> #include <pspnet_apctl.h> #include...
C
#include <pspkernel.h> #include <pspdebug.h> #include <pspsdk.h> #include <psphttp.h> #include <stdlib.h> #include <string.h> #include <psprtc.h> #include <psppower.h> #include <pspnet.h> #include <pspnet_inet.h> #include <pspnet_apctl.h> #include <pspnet_resolver.h> #include <psputility_netmodules....
C
/*************************************/ /* */ /*************************************/ #include <pspkernel.h> #include <pspctrl.h> #include <pspdebug.h> #include <psppower.h> #include <pspvshbridge.h> #include <stdio.h> #include <stdarg.h> #include <string.h> #include <kubridge.h> #include <sys...
C
/* */ #include <pspsdk.h> #include <pspkernel.h> #include <pspsysmem_kernel.h> #include <pspiofilemgr_kernel.h> #include <systemctrl.h> #include <systemctrl_se.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "../../CIPL/ipl_block_large.h" #include "../../CIPL/ipl_block_01g.h" ...
C
#include "galaxy.h" #include "inferno.h" #if _PSP_FW_VERSION == 639 #include "march33.h" #endif #if _PSP_FW_VERSION == 635 #include "march33.h" #endif #if _PSP_FW_VERSION == 620 #include "march33_620.h" #endif #include "popcorn.h" #include "satelite.h" #include "stargate.h" #include "systemctr...
C
#ifndef __PSPIPL_UPDATE_H__ #define __PSPIPL_UPDATE_H__ /** * Gets the ipl from nand * * @param buf - The buffer where the ipl will be stored * * @returns - the size of ipl on success, < 0 on error */ int pspIplUpdateGetIpl(u8 *buf); /** * Clears the nand blocks of the ipl area * * @returns 0 o...
C
/*************************************/ /* */ /*************************************/ #include <pspkernel.h> #include <pspctrl.h> #include <pspdebug.h> #include <psppower.h> #include <pspsysmem_kernel.h> #include <psploadexec_kernel.h> #include <kubridge.h> #include <pspvshbridge.h> #include <s...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * font.c - Debug Font. * * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org> * Copyright (c) 2005 ...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed in the ho...
C
/* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * scr_printf.c - Debug screen functions. * * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org> * C...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed in the ho...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed in the ho...
C
/* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * pspdebug.h - Prototypes for the pspDebug library * * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgne...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed in the ho...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
#include <pspsdk.h> #include <pspsysmem_kernel.h> #include <pspkernel.h> #include <psputilsforkernel.h> #include <pspsysevent.h> #include <pspiofilemgr.h> #include <stdio.h> #include <string.h> #include "galaxy.h" #include "pspcrypt.h" #include "printk.h" #include "utils.h" #include "systemctrl.h" #include...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
#ifndef _GALAXY_H #define _GALAXY_H struct IoReadArg { u32 offset; // 0 u8 *address; // 4 u32 size; // 8 }; extern int g_total_blocks; #define ISO_SECTOR_SIZE 0x800 int iso_read(struct IoReadArg *args); int iso_cache_read(struct IoReadArg *args); extern u32 psp_fw_version; extern u32 psp_model;...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C
/* * This file is part of PRO CFW. * PRO CFW 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 3 of the License, or * (at your option) any later version. * PRO CFW is distributed i...
C