Dino
Chrome's t-rex based bootsector game (512 bytes) written in 16-bit x86 assembly (now with 8086 support!)
Install / Use
/learn @franeklubi/DinoREADME
dino
; ______ ______ __ __ ______ ;
; \ \ \_ _\ \ \\ \ \ \ \ ;
; \ \\ \ \ \ \ \`\ \ \ \ \\ \ ;
; \ \\ \ \ \ \ \ `\ \ \ \ \\ \ ;
; \ `` \ _\ \_ \ \ `\\ \ \ `` \ ;
; \_____/ \______\ \__\ `\__\ \______\ ;
; 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!

How to play
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.
- To use
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
- If you have
make,nasmandqemuinstalled, you can just use this command:
$ make run
How to compile
To compile dino you'll need to have nasm installed on your machine.
- If you have
makeinstalled, just use it like so:
$ make
- If you want to compile by hand, use:
$ nasm -f bin -o a.bin dino.asm
- Alternatively, if you want to generate a 1440KiB floppy disk image, use:
$ make floppy
Controls
- Use
shiftto jump - Use
ctrlto crouch
Acknowledgements
- I wish to thank nanochess (Oscar Toledo) for inspiring me to make this project and for writing his book (Programming Boot Sector Games), that helped me greatly.
- I'd also like to thank Mateusz, for helping me with creating the sprites included in the code.
Related Skills
openhue
340.2kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
340.2kElevenLabs text-to-speech with mac-style say UX.
weather
340.2kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
