Mega-Tokyo

Welcome to mega-tokyo.com

On this site

Programming

Junk

Bunyon

    Bunyon is a Scott Adams TI99 game format interpreter.

    Source requires a GLK library and Rant (ruby make tool) to build.

    • Source Download v0.1 here
    • Binary Win32 Download v0.1 here

    Changes for v0.1 - 20050823

    • Initial release

C# Code Generator

    This is a Code Generator using simple definition templates that implement ICompare and if you want, ICollectionBase so you can use foreach and plug the classes into DataGrids etc.

    • .NET Download here

QEmu GUI

    This is a simple app I wrote to play around with WinForms and C#.

    • .NET Download here

Minix Tools

    This is patterend after 'mtools'. Its one program, that is designed to let you work with minix disk images (not hard disk images).

    • Source Download v0.1 here
    • Binary Win32 Download v0.1 here

    Changes for v0.1 - 20041017

    • First public release
    • Basic support for for ls and mkfs.

Simple Roguelike

    SRL is a simple rogulike (mostly from a programming perspective)..

    There is not much here as this is an initial test release.

    Downloads; A binary version for win32 systems and a source version that can be built via Linux/Unix and a Visual Studio 6 workspace.

uname For Windows

    Having been frustrated at the lack of a proper uname tool for windows, I hacked out my own version. This properly displays various uname bits.

    The source is very crusty and a hack. Lots of win32 calls for things like ComputerName, OSVersionInfo etc.

    Sournce + Binary is here

    Supporting standard "asnrvmpo" switches. eg:

    WindowsNT LAPTOP 5.1 build 2600 i586 i386 Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    			
    optionresult
    -s (kernel name) WindowsNT or Windows9x
    -n (node name) {your computer name}. My laptop is called.. LAPTOP
    -r (kernel release) This is a rough guide as to what things are.

      NT 3.513.51
      NT 44.0
      Win2k5.0
      WinXP5.1
      Win2k35.2

      Win954.0
      Win95 osr24.3
      Win98/SE4.10
      WinME4.90
    -v (kernel version) This is the build number.
    -m (machine type) i386/i486/i586 (Windows doesnt report i686+)
    -p (processor type) i386
    -o (os name) eg: Microsoft Windows XP Professional Service Pack 2 (Build 2600)

uname library for Ruby

    Now that I have a working uname, I have built a library to be used with Ruby.

    I have tested this on DragonFlyBSD and WinXP.

    This is the simplest test

    require "uname"
    z = UName.new
    
    puts z.sysname
    puts z.nodename
    puts z.release
    puts z.version
    puts z.machine
    puts z.processor
    
    You can ofcourse, spice it up.

    Download it here