Skip to content

Instantly share code, notes, and snippets.

@AntonioND
AntonioND / nds_ram_expansion_cartridges.rst
Last active March 5, 2024 21:06
NDS RAM expansion cartridges
// SPDX-License-Identifier: GPL-2.0+
//
// Copyright (C) 2010 Dave "WinterMute" Murphy
// Copyright (C) 2023 Antonio Niño Díaz
// This file is a reverse-engineered version of:
//
// https://github.com/devkitPro/nds-hb-menu/blob/d982d376ad8fc232c9c9b9284e26c28d0fc9d521/bootstub/bootstub.s
typedef struct {
@AntonioND
AntonioND / build.sh
Last active November 16, 2020 19:54
Lua example
#!/bin/bash
# You need to do:
# sudo apt install liblua5.4-dev
gcc -o test test.c `pkg-config --cflags lua54` `pkg-config --libs lua54`
@AntonioND
AntonioND / energy-saver.py
Created March 26, 2018 23:16
Automatically turn off and on the monitor of a Raspberry Pi
#!/usr/bin/env python3
#
# energy-saver.py
#
# Copyright (c) 2018, Antonio Niño Díaz
#
# SPDX-License-Identifier: MIT
#
# Author: Antonio Niño Díaz
# Email: antonio_nd at outlook dot com
@AntonioND
AntonioND / README.md
Last active June 21, 2018 15:25
Game Boy RGBDS asm syntax highlight for gedit.

Game Boy RGBDS-GBZ80 syntax highlight for gedit

Based on a Z80 language file made by Rafael de Oliveira Jannone. Adaptation to RGBDS-GBZ80 by Antonio Niño Díaz (AntonioND) antonio_nd@outlook.com

Copy the file "gbz80.lang" to "~/.local/share/gtksourceview-2.0/language-specs/gbz80.lang" Recognised extensions are *.asm, *.s and *.inc.

You can also change the text color style: