Skip to content

Instantly share code, notes, and snippets.

View SergioFLS's full-sized avatar

SergioFLS

  • Chile
View GitHub Profile

SDK Installation instructions

  1. Install arm-none-eabi-gcc (if you're on Windows, you can use msys2 and install mingw-w64-arm-none-eabi-gcc package; on Linux/macOS use your distro's package, e.g for Debian it is gcc-arm-none-eabi, on macOS Homebrew it's gcc-arm-embedded; this guide won't work on macOS ≥10.15 because elf2mod is a 32-bit app).
  2. Fetch Brew MP SDK 7.12.5 installer and platform SDK installer for the BREW version you'd like to target. Installers won't run on windows 10, so don't install them yet.
  3. Extract Brew MP SDK 7.12.5 installer with 7-Zip.
  4. Inside it, extract another installer called BREWMPTools.exe the same way.
  5. Extract platform SDK to some other directory.

Compiler flags

@lrvick
lrvick / github-troll.md
Last active May 3, 2024 16:20
Trolling Github's DMCA repo with their own security flaws.
@xtream1101
xtream1101 / Backup&RestoreRepo.md
Created June 29, 2019 12:38
Backup and restore a git repo using git bundle

Backup/archive a repo

  1. Clone the repo
git clone --mirror https://github.com/vuejs/vue
  1. cd into the cloned repo
  2. Create a bundle file in the parent directory
git bundle create ../vuejs_vue.bundle --all
@eevee
eevee / pico8jstocart.py
Created March 23, 2017 12:14
Python script to convert exported JavaScript back into a PICO-8 cartridge
import os.path
import re
import sys
# LZ-ish decompression scheme borrowed from picolove:
# https://github.com/gamax92/picolove/blob/master/cart.lua
compression_map = b"\n 0123456789abcdefghijklmnopqrstuvwxyz!#%(){}[]<>+=/*:;.,~_"
def decompress(code):
lua = bytearray()
@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no