View no-reg-6502-bf.pl
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
#!/usr/bin/perl -s | |
# | |
# Takes BF, emits 6502 that only clobbers PC, S, and the N and V flags | |
# Requires an assembler (I recommend xa65) | |
# | |
# Cameron Kaiser | |
# Public domain | |
# http://oldvcr.blogspot.com/2023/01/the-mos-6502-is-mostly-turing-complete.html | |
# |
View 1758610.diff
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
diff -r 3a74cc97e160 dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp | |
--- a/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp Fri Apr 01 19:35:34 2022 +0000 | |
+++ b/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp Thu Apr 07 20:21:34 2022 -0700 | |
@@ -809,17 +809,17 @@ | |
if (!PrepareFrame()) { | |
NS_WARNING("FFmpeg decoder failed to allocate frame."); | |
return MediaResult(NS_ERROR_OUT_OF_MEMORY, __func__); | |
} | |
# ifdef MOZ_WAYLAND_USE_VAAPI |
View wordle.s
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
.word $4200 | |
* = $0200 | |
; kimdle version 3 | |
; guess letters a-f and 0 = o 1 = i 5 = s | |
; assembles into a KIMplement-compatible binary with xa65 | |
; (C)2022 cameron kaiser | |
; all rights reserved |
View gm1356.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
/* | |
(C)2020-1 Cameron Kaiser, ckaiser@floodgap.com | |
All rights reserved. | |
Distributed under the Floodgap Free Software License. | |
Credit to https://github.com/dobra-noc/gm1356/blob/master/PROTOCOL.md for the | |
original protocol description. | |
Linux: |
View thum.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
/* | |
(C)2020-1 Cameron Kaiser, ckaiser@floodgap.com | |
All rights reserved. | |
Distributed under the Floodgap Free Software License. | |
Linux: | |
gcc -o thum thum.c -lhid -lusb | |
Mac OS X: | |
gcc -o thum thum.c -framework CoreFoundation -framework IOKit |
View inetb.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
/* inetb: a single-process multithreaded inetd for pre-BONE BeOS R5 | |
** Intel and PowerPC compatible | |
** MAKE BEBOXES GREAT AGAIN | |
** | |
** with Metrowerks: | |
** cc -O7 -o inetb inetb.c | |
** (debugging to stderr: cc -DDEBUG -o inetb inetb.c ) | |
** (debugging to socket: cc -DSDEBUG -o inetb inetb.c ) | |
** (you can do -DDEBUG -DSDEBUG together! it's fun!) | |
** |
View d3d.s
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
; anaglyph sprite demo for the c64 | |
; cameron kaiser 2020 | |
; public domain | |
SPRITE = $0340 | |
VALUE = $14 | |
HVALUE = $fe | |
MODE = $15 | |
.word $0801 |
View 3dspr.s
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
; given 0-21, create a sprite sized x by x, skipping every other line | |
; cameron kaiser 2020 | |
; public domain | |
SA = $c000 | |
SPRITE = $0340 | |
* = SA | |
.word SA |
View firefox-pgo.diff
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
diff -r b22cb12f611c build/moz.configure/lto-pgo.configure | |
--- a/build/moz.configure/lto-pgo.configure Thu Oct 07 08:11:19 2021 +0000 | |
+++ b/build/moz.configure/lto-pgo.configure Sun Oct 10 20:36:46 2021 -0700 | |
@@ -81,17 +81,17 @@ | |
@depends(c_compiler, pgo_profile_path, target_is_windows) | |
@imports("multiprocessing") | |
def pgo_flags(compiler, profdata, target_is_windows): | |
if compiler.type == "gcc": | |
return namespace( |
View gzdoomdisplay.diff
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
--- sdlglvideo.cpp.OLD 2020-10-04 21:23:32.751041920 -0700 | |
+++ sdlglvideo.cpp 2020-10-04 20:54:21.740470397 -0700 | |
@@ -163,18 +163,19 @@ | |
win_h = bounds.h * 8 / 10; | |
} | |
FString caption; | |
caption.Format(GAMENAME " %s (%s)", GetVersionString(), GetGitTime()); | |
const uint32_t windowFlags = (win_maximized ? SDL_WINDOW_MAXIMIZED : 0) | SDL_WINDOW_RESIZABLE | extraFlags; |
NewerOlder