Skip to content

Instantly share code, notes, and snippets.

Julian Uy uyjulian

Block or report user

Report or block uyjulian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tvpgl_mmx_selfcompare.txt
TVPAlphaBlend: 35 ms, Optimized: 42 ms(120%)
TVPAlphaBlend_HDA: 61 ms, Optimized: 56 ms(91.8033%)
TVPAlphaBlend_o: 34 ms, Optimized: 33 ms(97.0588%)
TVPAlphaBlend_HDA_o: 13 ms, Optimized: 15 ms(115.385%)
TVPAlphaBlend_d: 65 ms, Optimized: 63 ms(96.9231%)
TVPAlphaBlend_a: 31 ms, Optimized: 34 ms(109.677%)
TVPAlphaBlend_do: 61 ms, Optimized: 66 ms(108.197%)
TVPAlphaBlend_ao: 39 ms, Optimized: 41 ms(105.128%)
TVPAlphaColorMat: 14 ms, Optimized: 13 ms(92.8571%)
TVPAdditiveAlphaBlend: 29 ms, Optimized: 28 ms(96.5517%)
View tvpgl_c_gcc9_ofast_vs_mmx.txt
TVPAlphaBlend: 1439 ms, Optimized: 1546 ms(107.436%)
TVPAlphaBlend_HDA: 614 ms, Optimized: 2238 ms(364.495%)
TVPAlphaBlend_o: 653 ms, Optimized: 1640 ms(251.149%)
TVPAlphaBlend_HDA_o: 691 ms, Optimized: 655 ms(94.7902%)
test fail on function TVPAlphaBlend_d
invalid color src : 0x00ffff00, 1 : 0x00ff00fe
1 0x00ff00fe
2 0x00ffff00
src : 0x00ffff00,0x01feff00,0x02fdff00,0x03fcff00,
1 : 0x00ff00fe,0x01feff00,0x02fdff00,0x03fcff00,
View tvpgl_c_vs_mmx.txt
TVPAlphaBlend: 168 ms, Optimized: 29 ms(17.2619%)
TVPAlphaBlend_HDA: 47 ms, Optimized: 45 ms(95.7447%)
TVPAlphaBlend_o: 53 ms, Optimized: 33 ms(62.2642%)
TVPAlphaBlend_HDA_o: 57 ms, Optimized: 55 ms(96.4912%)
TVPAlphaBlend_d: 66 ms, Optimized: 55 ms(83.3333%)
TVPAlphaBlend_a: 96 ms, Optimized: 95 ms(98.9583%)
TVPAlphaBlend_do: 64 ms, Optimized: 70 ms(109.375%)
TVPAlphaBlend_ao: 111 ms, Optimized: 101 ms(90.991%)
TVPAlphaColorMat: 37 ms, Optimized: 38 ms(102.703%)
TVPAdditiveAlphaBlend: 58 ms, Optimized: 32 ms(55.1724%)
View tvpgl_test_fail.txt
test fail on function TVPStretchAlphaBlend
invalid alpha src : 0x1af6f20e, 1 : 0x00f347fa
1 0x00f347fa
2 0xfef347fa
test fail on function TVPConstAlphaBlend
invalid alpha src : 0x1af6f20e, 1 : 0x00f4af6a
1 0x00f4af6a
2 0x73f4af6a
View krkr_old_version.md

Kirikiri2 (吉里吉里2) / KAG3 old repository history

Each commits corrosponds to the repository located at https://github.com/krkrz/krkr2 The repository located at https://github.com/jeeb/kirikiri2 is more incomplete than the above.

Kirikiri 2 (吉里吉里2)

  • 2.32.2.426 - 9c892a7fa773b66077369bb85fc9637906a71907
  • 2.32.1.426 - 0756617c6b58540348ad9b80ffb834d86db572ca
  • 2.31.2013.411 - d0aab4601b6953fc816475123c72a52fd7037a61
View save_prerendered_font.tjs
System.setArgument("-graphicsystem", "drawdevice");
Plugins.link("tftSave.dll") if (typeof System.savePreRenderedFont != "Object");
{
var codepoint_ranges = [
@if(0)
[0x0000, 0x0000], // NUL character
@endif
View opl_dtlt.md

How to run Open PS2 Loader on DTL-T systems

You can run Open PS2 Loader on DTL-T systems.

Compiling Open PS2 Loader

Use the following command:

make DTL_T10000=1 NOT_PACKED=1
View switch_libnx_memamounttest.c
#include <string.h>
#include <stdio.h>
#include <switch.h>
#include <malloc.h>
int main(int argc, char **argv)
{
consoleInit(NULL);
View poop.py
# Good job on not using PyImport_ExtendInittab.
from _ratapy import bootstrap as poop
poop(__name__)
View osdsys_decompress.c
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
uint32_t decompress_osdsys(uint8_t *src, uint8_t *dst)
{
uint32_t run = 0;
You can’t perform that action at this time.