Chrome's t-rex based bootsector game (512 bytes) written in 16-bit x86 assembly (now with 8086 support!)
MIT License
; ______ ______ __ __ ______ ;
; \ \ \_ _\ \ \\ \ \ \ \ ;
; \ \\ \ \ \ \ \`\ \ \ \ \\ \ ;
; \ \\ \ \ \ \ \ `\ \ \ \ \\ \ ;
; \ `` \ _\ \_ \ \ `\\ \ \ `` \ ;
; \_____/ \______\ \__\ `\__\ \______\ ;
; A tiny game in 512 bytes (bootsector) ;
Dino is a bootsector game (512 bytes) written in 16-bit x86 assembly, that's based on Chrome's t-rex runner game!
The game can now be assembled for CPU 8086!
There are various ways to play dino: you can either use an x86 emulator, or burn the binary to a floppy (or some other medium), and try booting your old pc off of it.
I recommend using an emulator, namely qemu
.
qemu
, first compile or download the binary (a.bin) from the releases section, then run this command:$ qemu-system-x86_64 a.bin || qemu-system-i386 a.bin
make
, nasm
and qemu
installed, you can just use this command:$ make run
To compile dino
you'll need to have nasm
installed on your machine.
make
installed, just use it like so:$ make
$ nasm -f bin -o a.bin dino.asm
$ make floppy
shift
to jumpctrl
to crouch