RSSAmplifier

Blog

vaguilar

vaguilar.comRSS feed ↗5 posts

Latest posts

How I Obtained Mew in Pokémon Red on a Real Game Boy

I built a USB device that emulates a Game Boy over the link cable and used it to inject a fully valid Mew into Pokémon Red. All code available on GitHub . --> If you grew up with Pokémon Red/Blue/Yellow , you probably remember Mew . Not the one you caught (because you didn’t), but the one you heard about . The one your friend’s cousin totally had. The one that was supposedly hiding under a truck…

Programming tinyAVR 1-Series Microcontrollers on macOS

I have found myself having to set up this development environment several times and I keep forgetting how to do it easily. Sharing these steps on how to set up the tooling for these new ICs and the other new series of chips. First, install brew from brew.sh if you don’t have it already, and then install avr-gcc : brew tap osx-cross/avr brew install avr-gcc This installs a recent version of the…

Writing arm64 Assembly for iOS

Even as mobile devices continue to become more powerful, iOS developers can still benefit from strategies to optimize their apps for performance. One way to do this is by utilizing low-level assembly code, specifically the ARM64 architecture found in more recent iOS devices. This post will cover how to setup up your Xcode project for this and go over some basics of arm64 assembly for improving…

DIY Arduino Board Compatible with 5v and 3.3v

A long time ago I created a breakout board for an ATmega328p to prototype some projects, but time has not been too kind with it. It was hastily made on a single sided homemade PCB, has lots of jumper wires and some of the pins no longer work, probably because my soldering job wasn’t too great. After getting tired of these issues and having to put up with different voltages for different…

Arbitrary Code Execution in Pokemon Red

The Gameboy Color is a nifty piece of hardware. After reading about several projects related to the original Pokemon games, I decided to give it a go myself. I dusted off my old Gameboy Color and ordered a copy of Pokemon Red off eBay and set off to do something . While I waited, I began to sift through the awesome Pokemon R/B/Y disassembly project, and found the section dedicated to the Cable…