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
MMC3 on the left, MMC5 on the right | |
mapper init ($FFF1): | |
PRG: makes $8000-9FFF swappable and $C000-DFFF fixed, | |
CHR: sets up 2x2kb lower and 4x1kb upper | |
(probably only PRG part matters here; this should probably be replaced with | |
an entire MMC5 init routine somewhere else, which may also set up the CHR-ROM | |
bank setup that is normally asserted when selecting banks on the MMC3, | |
as well as PRG-RAM and other stuff) |
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
package main | |
import ( | |
"bytes" | |
"encoding/binary" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"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
/* this is unfinished */ | |
using System; | |
using System.Windows.Forms; | |
using PaintDotNet; | |
using System.Drawing; | |
public class TX2FileType : FileType { | |
public TX2FileType() : base ("TX2", FileTypeFlags.SupportsLoading, |
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
/* compile as C++11 */ | |
#include <QApplication> | |
#include <QPushButton> | |
#include <QSlider> | |
#include <QLabel> | |
#include <QLayout> | |
int main(int argc, char *argv[]) |
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
map(lambda i:"DEHUMANIZE YOURSELF AND FACE TO FIZZBUZZ"[-8+4*(i%3>0):][4*(i%3*i%5>0):4+4*(i%5==0)].rjust(1,chr(48+i%10)).rjust(2,chr(48+i/10)), range(1, 100)) |
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
Argonaut/Anthrox | |
AF C8 F0 D0 FB 5D D5 00 01 C8 ?? B0 03 D5 00 02 3D D0 F3 END | |
AF C8 F0 D0 FB 5D D5 00 01 D5 00 02 C8 ?? B0 03 D5 00 03 3D D0 F0 END | |
Atelier_Double | |
FC D0 02 AB ?? 78 08 ?? D0 F4 END | |
E4 ?? F0 ?? EB ?? E5 ?? ?? CF 60 85 ?? ?? C5 ?? ?? 90 END | |
(Atelier_Double_v1) | |
FC D0 02 AB ?? 78 08 ?? D0 F4 E8 00 ?? F5 END |
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 <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <ctype.h> | |
const char *ui_template = \ | |
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\ | |
<ui version=\"4.0\">\n\ | |
<class>%s</class>\n\ | |
<widget class=\"%s\" name=\"%s\">\n\ |
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
/* | |
Quick SDL2 wrapper for uPNG | |
d@revenant1.net | |
This code is public domain. | |
*/ | |
// https://github.com/elanthis/upng | |
#include "upng/upng.h" | |
#include <SDL2/SDL.h> |
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
.p816 | |
.code | |
main: | |
sei | |
stz $4207 ; IRQ at H=0 | |
stz $4208 ; (leave IRQ disable flag set so it only resumes after WAI) | |
lda #%00010000 | |
sta $4200 | |
wai |
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
twitter.com##.moments | |
twitter.com##div[data-card2-type^="promo"] | |
twitter.com##div[data-component-context^="suggest_activity_tweet"] | |
twitter.com##div[data-component-context^="suggest_recycled_tweet_inline"] |
OlderNewer