This file contains 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 "m68k.h" | |
#include <windows.h> | |
unsigned int m68k_read_memory_8(unsigned int address) | |
{ | |
if (address&1) | |
return 0x38; | |
else | |
return 0; | |
} |
This file contains 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
// CG shader | |
// NES CRT simulation | |
// by r57shell | |
// thanks to feos & HardWareMan | |
void main_vertex | |
( | |
float4 position : POSITION, | |
out float4 oPosition : POSITION, | |
uniform float4x4 modelViewProj, |
This file contains 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
license: mit |
This file contains 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
license: mit |
This file contains 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 <cstdio> | |
typedef unsigned short u16; | |
unsigned char table[1<<10]; | |
void prepare() | |
{ | |
for (int i=0; i<(1<<10); ++i) | |
table[i] = ((i%5)<<5); |
This file contains 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
From 0ff1b130dce84b48b65927bde7cd433ee4649228 Mon Sep 17 00:00:00 2001 | |
From: realmonster <r57shell@uralweb.ru> | |
Date: Sat, 7 Oct 2017 18:40:49 +0500 | |
Subject: [PATCH] short | |
--- | |
cpu.c | 12 ++++++++---- | |
1 file changed, 8 insertions(+), 4 deletions(-) | |
diff --git a/cpu.c b/cpu.c |
This file contains 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
// NES NTSC composite signal CRT simulation for RetroArch | |
// implementation of algorithm by Bisqwit | |
// shader by r57shell | |
// thanks to feos & HardWareMan | |
// also TV subpixels and scanlines | |
void main_vertex | |
( | |
float4 position : POSITION, |
This file contains 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
# Aero the Acro-Bat 2 (GEN) map converter into png | |
# for python 2.x | |
# by r57shell@uralweb.ru | |
# 24.07.2018 | |
from PIL import Image, ImageDraw, ImageFont | |
from struct import * | |
import sys | |
import math |
This file contains 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
// NOT Ideal NTSC composite cable CRT simulation for RetroArch <- fix of title. | |
// by r57shell | |
// thanks to feos & HardWareMan | |
// ideal in terms of ideal encoding/decoding, | |
// also, without any passbands. | |
// also TV subpixels and scanlines | |
void main_vertex | |
( |
This file contains 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 <cstdio> | |
#include <windows.h> | |
#include <ddraw.h> | |
char * GetErr(HRESULT r) | |
{ | |
switch(r) { | |
case DD_OK: return "DD_OK"; | |
case DDERR_ALREADYINITIALIZED: return "DDERR_ALREADYINITIALIZED"; | |
case DDERR_CANNOTATTACHSURFACE: return "DDERR_CANNOTATTACHSURFACE"; |
OlderNewer