💾 Archived View for tilde.pink › ~bencollver › code.gmi captured on 2022-06-11 at 21:01:03. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

-=-=-=-=-=-=-

💾 Code

Below are examples of code i wrote for fun in reverse chronological order.

Links with (JS) are on web sites that do not degrade gracefully and require a web browser with JavaScript enabled. (Boo hiss)

Rogue Class Linux

🗜️ Download RCL code (ZIP)

Rogue Class is a toy Linux distribution for playing games and reading books. Rogue Class Linux has a streamlined installer and it supports joystick controls in most of the programs. I decommissioned the web site but here is a ZIP export from fossil.

Timelord

🗜️ Download timelord code (ZIP)

Timelord is a minimal time tracking program I wrote for Jennie in 2012. It requires a 64-bit version of Windows and appears as a tardis icon in the system tray.

Djvu2x

View djvu2x bits

DJVU2X is an application to view DJVU files on the GP2X, which is a small computer that runs Linux on two AA batteries.

See also:

🗜️ Download djvu2x-v4.zip

🗜️ Download djvuresize-v1.zip

Set

View set game

Wrote a solitaire version of The Game of Set that can be played in a web browser.

pentcl

View pentcl code

Ported the Perl PostScript::Simple module to JavaScript, Lua, PHP, and TCL as an exercise. I removed file operations from the PostScript class to make it more portable.

Pysf

View pysf code

Public domain utility that will convert a soundfont file to an XML configuration file and a collection of .wav files. It also converts in the other direction, making it a good low level soundfont editor. This can be used to transmit a change to a soundfont file without transmitting the entire soundfont. My goal was to be able to create computer instruments for my MIDI keyboard. See also:

🗜️ Download pysf 20141122 (ZIP)

Sfubar

View sfubar code (JS)

Public domain predecessor to pysf, written in C rather than Python.

Pat2raw

View pat2raw code

Public domain utility to convert GUS patches to raw audio files.

maptoy

This is a TCL/TK cartography app i wrote. I fit the application and a complete set of topographic maps for Oregon on a 1:100000 scale onto a DVD. The application runs on Linux, Macintosh, and Windows. The maps are stored as a couple thousand image files, and maptoy presents these as a single continuous map. It uses HTML and CSS print media to paginate the output and print a selected area in sections on a normal color printer. Not available for download due to the size, but feel free to contact me for a copy of the DVD. My goal was to print my own hiking maps.

ucs2any

View ucs2any code

Font conversion utility. Written in C to help remove Perl from the X build process.

atactl

View atactl code

Someone else wrote atactl, but i added support for the SMART feature on IDE hard drives. As you can see from the CVS log, the NetBSD folks had to fix several bugs in my code. My goal was to configure a more reliable mail server.

BOAFKJV

🗜️ Download boafkjv.zip

In the late 90's i wrote a minimal C library and modified the bzip2 library to be able to seek within the compressed file. I included a floppy format utility and a small program to navigate chapters and search the King James Version of the Bible. The result was Bible On A Floppy, and it could copy itself to another floppy.

bomberman

In the mid 90's i used a SuperNES emulator to take screen shots and rip the graphics from Bomberman. I forward-ported the MS-DOS Mikmod code, because at the time it was dropped from the Mikmod sources. I also integrated Mikmod with the Allegro library and DJGPP. The result was a multi-player bomberman clone that looked and sounded nice. My goal was to get some experience with GCC and game programming, because a friend invited me to help develop a Playstation game project he was involved in. I do not distribute it in case it doesn't fall under fair use.

↩ Back