Miscellaneous
Here is a collection of miscellaneous code and other things I've worked on. Most of them are one-off projects. Others are much longer projects, with various iterations. Feel free to look around.
Code
- bank.c - Some very simple code focused on finding duplicate pages/banks in a file. This would be useful, perhaps, in some rom compression.
- Hexalter - A simple program to hexedit/alter files up to 2GB in size by specifing address/byte pairs.
-
- lz77.py - A Python version of Gameboy Advance compatible LZ77 compression (WRAM safe). Feel free to use it however you want.
- lz77safe.zip - A C version of a GBA compatible lz77 compression (WRAM safe). Includes the decompressor too. This was compiled for Linux, but it should be rather portable. The compressor is a modification of Marcus Geelnard's code. Read the license included in the lz.c file for more information. The decompressor is mine.
- ns.c - Some very verbose code to sort strings "correctly" (ie, to handle strings with a mix of numbers and non-numbers, sorting the numbered sections by value). A later version exists. I'm not sure how functional this version is. But, it requires the GNU MultiPrecision library.
- percent_prime.c - A program designed to compute the percentage of positive integers that are prime. My tests so far have to draw a clear asymtote.
- prime.c - A small SDL program to display primes. It is something of an interesting pattern.
- pwr-test.zip - A collection of coding samples that use the power function to try to measure the performance of several languages. There are C, Scheme, Java, and C# versions. More information on what is needed to BUILD is in the BUILD file.
- reverse-list.c - One of my entries to the IOCCC. It's function is mostly useless, but from the name you can probably guess what it does.
- ringlog.zip - A small ring log program, to allow for one to limit one's log size. Obviously this only works by putting ringlog inbetween that which you want to log and the output file. In any case, it might be useful to you.
- spam.zip - A silly program to allow one to more easily output why some solution to spam will fail. This eventually could be used as a simple number code to pass around to others.
- steg.c - A rather simple steganography program to hide files in images. This version relies on imlib and the user choosing a lossless output file.
Quasi-Code
- dd - This is the cygwin version of dd, a rather handy tool to have in many instances. In any case, it's provided here as a small bundle for those without cygwin. You'll probably need cygwin1.dll too.
- makefont128.exe - Makefont128.exe is a tool for Pogoshell to make fonts. The original version was rather limited in regards to the number of offsets one could specify. You can look on my Pogoshell page for the source, specifically in mod5-beta4.9 or later versions.
- minilzo107 - Minilzo is a program made by Markus F.X.J. Oberhumer. This is merely a mirror of an older version of this amazing piece of software, as several of the GBA projects use it.
- nes cheats - With GSCentral down, many people have looked around for a place for a collection of FCEU compatible RAM cheats. Well, here is one place. This is a collection of NES cheat codes I've either discovered or found online (mostly from GSCentral). Feel free to use them.
Images
- bootsplash-640x480.xcf.gz - An image meant as a bootsplash for fbsplash for Linux. This is still in many layers, so other gimp artists might still decide to use it.
- A little image whipped up to wish a Happy New Year. Rockman styled.
- A volleybar court image. This was originally to be part of an emulator of a Sonic-brand McDonalds Happy Meal Toy (mostly as a joke). However, the intended target (GP32) has soured for me, so I'm unlikely to work on it further.