• Stars
    star
    104
  • Rank 330,604 (Top 7 %)
  • Language
    Assembly
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Chrome's t-rex based bootsector game (512 bytes) written in 16-bit x86 assembly (now with 8086 support!)

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!



preview.gif

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.

$ qemu-system-x86_64 a.bin || qemu-system-i386 a.bin
  • If you have make, nasm and qemu installed, 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 make installed, 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 shift to jump
  • Use ctrl to crouch

Acknowledgements


Dino: 512 bytes
This README: 2154 bytes (not counting the preview gif)

More Repositories

1

rustic

rustic is a TypeScript library providing emulation of Rust's Option and Result types (and some useful wrappers for common js functions as well!)
TypeScript
137
star
2

pocket-operator-simulator

Simulation of teenage engineering's pocket operator PO-20
JavaScript
100
star
3

clubi

A group-oriented social media platform written in Laravel and Vue
PHP
31
star
4

luxya

Programming language with a tree-walking interpreter written in RustΒ©β„’.
Rust
29
star
5

scaffolding

scaffolding is a very pointless esolang. Don't try it.
C
16
star
6

abak

An unnecessarily minimal backlight controller
Assembly
7
star
7

tie

Package franeklubi/tie provides a Processing-like API for simple and fun drawing, game making, data and algorithm visualization, and generally - art :)
Go
7
star
8

ablm

Online metronome inspired by Ableton!
JavaScript
6
star
9

SmartList

SmartList provides an easy way to manage slices of vars of any type.
Go
3
star
10

tie-examples

This repo contains example code to use with franeklubi/tie.
Go
3
star
11

ledgend

ledgend is a Go library aiming to provide a simple api for creating animations You can use to display on a LED strip.
Go
3
star
12

ledserv

Server for ledgend; Designed for sending data to franeklubi/ledgend-esp8266
Go
2
star
13

ledgend-esp8266

franeklubi/ledserv client for esp8266
C++
2
star
14

linear-regression-processing

Processing implementation of linear regression
Processing
1
star
15

vbak

An utterly minimal backlight controller
C
1
star
16

SimpleVector

My simple vector lib for Golang
Go
1
star
17

scaf-visualizer

Visualizer for franeklubi/scaffolding
C
1
star
18

wrdt

A simple CLI tool that helps to learn new words efficiently
Python
1
star