Skip to content

Instantly share code, notes, and snippets.

@neagix
neagix / bsnes-compile-on-arm.diff
Created June 22, 2013 16:05
a quick patch to compile bsnes/higan on ARM v8/v9
diff --git a/higan/Makefile b/higan/Makefile
index 73b1a56..4da52ca 100755
--- a/higan/Makefile
+++ b/higan/Makefile
@@ -14,8 +14,8 @@ target := ethos
# console := true
# compiler
-c := $(compiler) -std=gnu99
-cpp := $(subst cc,++,$(compiler)) -std=gnu++0x
@neagix
neagix / neagix-linux-fixes.diff
Last active December 18, 2015 20:29
neagix' Linux patches and build script for eduke32
Index: Makefile
===================================================================
--- Makefile (revision 3893)
+++ Makefile (working copy)
@@ -28,9 +28,9 @@
OURCOMMONFLAGS=$(BASECOMMONFLAGS) \
-I$(INC) -I$(EINC) -I$(SRC)/jmact -I$(JAUDIOLIBDIR)/include -I$(ENETDIR)/include
OURCFLAGS=$(OURCOMMONFLAGS) $(BASECFLAGS)
-OURCXXFLAGS=$(BASECXXFLAGS)
-OURCONLYFLAGS=$(BASECONLYFLAGS)
@neagix
neagix / flashbench-find-fat.log
Created June 1, 2013 08:14
some flashbench figures on the 4GB SD card used for odroid-debian-wheezy
flashbench -f /dev/mmcblk0
sched_setscheduler: Operation not permitted
4MiB 2.34M/s 3.68M/s 2.86M/s 5.28M/s 5.27M/s 5.32M/s
2MiB 3.69M/s 4.04M/s 5.27M/s 5.24M/s 5.23M/s 5.34M/s
1MiB 3.69M/s 4.04M/s 5.25M/s 5.28M/s 5.29M/s 5.31M/s
512KiB 3.11M/s 4.03M/s 5.27M/s 5.24M/s 5.31M/s 5.22M/s
256KiB 3.68M/s 4.02M/s 5.28M/s 5.25M/s 5.26M/s 5.3M/s
128KiB 3.3M/s 4.02M/s 5.22M/s 5.24M/s 5.29M/s 5.21M/s
64KiB 3.4M/s 4M/s 5.28M/s 5.22M/s 5.19M/s 5.24M/s
32KiB 3.05M/s 3.67M/s 5.07M/s 5.08M/s 5.11M/s 5.06M/s
@neagix
neagix / 3.0-es2gears-mali-fullscreen.log
Last active December 17, 2015 23:19
(incomplete) permutations of following combinations (es2gears, glmark2-es2, glxgears) (kernel 3.0.79, kernel 3.8.13) (xf86-video-sunxi, xf86-video-mali) by using an ODROID-U2
=======================================================
glmark2 2012.08
=======================================================
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-400 MP
GL_VERSION: OpenGL ES 2.0
=======================================================
[build] use-vbo=false: FPS: 98 FrameTime: 10.204 ms
[build] use-vbo=true: FPS: 101 FrameTime: 9.901 ms