This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[org 0x7c00] | |
[bits 16] | |
;Stack setup | |
mov bp, 0xfffe | |
mov sp, bp | |
;Switch into mode 13h | |
mov ah, 0x00 | |
mov al, 0x13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[org 0x7c00] | |
[bits 16] | |
[map all thief.map] | |
;Stack init | |
mov bp, 0xffff | |
mov sp, bp | |
;Display initial interrupt address | |
mov bx, [intnum*4+2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#define ROMCNT 20 | |
unsigned char roms[ROMCNT] = {0}; | |
unsigned char active[ROMCNT] = {1, 1, 1, 1}; | |
int bitcnt = 0; | |
char getbit( ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <string.h> | |
#define VERSION "v0.5" | |
typedef struct | |
{ | |
int x, y; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/time.h> | |
typedef struct | |
{ | |
int x, y; | |
void *parent; | |
char c; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
gcc -o plague plague.c -lSDL -lpthread -lm -Wall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <signal.h> | |
#include <inttypes.h> | |
#include <string.h> | |
#include <lightmodbus/master.h> | |
#include <pthread.h> | |
ModbusMaster master; | |
pthread_t pt; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
width = 320 | |
height = 200 | |
with open( "splash.ppm", "r" ) as fin: | |
ppm = fin.read( ).splitlines( True ) | |
#print( ppm[4] ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
uint64_t sr; | |
uint8_t shift( ) | |
{ | |
//Taps at 64, 63, 61, 60 | |
uint8_t shiftin = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Buffs( ) | |
{ | |
this.Bleeding = 0; | |
this.Death = false; | |
this.Blinded = false; | |
this.Suffocating = 0; | |
this.Fallen = false; | |
this.Pain = 0; | |
} |