Mainframe (s390 Linux) Moon Buggy



For all you mainframe/Qemu fan’s I came across the ‘QEMU Advent Calendar‘, which includes Moon Buggy on s390!

Moon-buggy is an ascii art game styled after moon-patrol.

Since I do get people always requesting something to run on the Qemu s390 emulation, here you go!  And for Windows users, I packed it up somewhat to make it somewhat easy to run with the image files, emulator and ansicon as moon.7z .

Just unpack and run “run32.cmd” for the 32bit ansicon, or “run64.cmd” for the 64bit ansicon.

3 thoughts on “Mainframe (s390 Linux) Moon Buggy

  1. That’s from Dec 22nd… so you kinda spoiled (part of) the calendar. 😉

    Nice find anyway – the calendar. Did not know about it. Thanks for sharing!


  2. Is it possible to run GDB “against” qemu / moonbuggy ?

    If so, what is the “target file name” to give to GDB ?

    I’ve tried to use gdb ./s390-bb.kernel

    but get :

    s390-moon-buggy/s390-bb.kernel”: not in executable format: file format not recognized

    Before starting gdb I entered : (in another terminal)
    exec qemu-system-s390x -M s390-ccw-virtio-2.10 -nographic \
    -kernel s390-bb.kernel \
    -initrd s390-moon-buggy.initrd \
    -S -gdb tcp::4269

    This is all using Ubuntu under windows (if that matters)
    – Ubuntu 22.04.2 LTS

Leave a Reply