{"id":15060306,"url":"https://github.com/franeklubi/dino","last_synced_at":"2025-06-16T03:15:47.299Z","repository":{"id":47617687,"uuid":"261536432","full_name":"franeklubi/dino","owner":"franeklubi","description":"Chrome's t-rex based bootsector game (512 bytes) written in 16-bit x86 assembly (now with 8086 support!)","archived":false,"fork":false,"pushed_at":"2021-08-21T14:21:23.000Z","size":213,"stargazers_count":106,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T07:04:04.825Z","etag":null,"topics":["assembler","assembly","assembly-x86","boot","bootsector","bootsector-game","bootsectors","dinosaur-game","emulator","game","x86","x86-16"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/franeklubi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-05T17:15:10.000Z","updated_at":"2025-03-11T18:12:43.000Z","dependencies_parsed_at":"2022-09-06T12:23:12.711Z","dependency_job_id":null,"html_url":"https://github.com/franeklubi/dino","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franeklubi%2Fdino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franeklubi%2Fdino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franeklubi%2Fdino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franeklubi%2Fdino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franeklubi","download_url":"https://codeload.github.com/franeklubi/dino/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166926,"owners_count":21058480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assembler","assembly","assembly-x86","boot","bootsector","bootsector-game","bootsectors","dinosaur-game","emulator","game","x86","x86-16"],"created_at":"2024-09-24T22:56:36.309Z","updated_at":"2025-04-10T05:50:22.671Z","avatar_url":"https://github.com/franeklubi.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dino\n\n```\n;  ______     ______     __      __     ______        ;\n;  \\      \\   \\_    _\\   \\  \\\\   \\  \\   \\      \\      ;\n;   \\  \\\\  \\     \\  \\     \\  \\`\\  \\  \\   \\  \\\\  \\     ;\n;    \\  \\\\  \\     \\  \\     \\  \\ `\\ \\  \\   \\  \\\\  \\    ;\n;     \\  ``  \\    _\\  \\_    \\  \\  `\\\\  \\   \\  ``  \\   ;\n;      \\_____/    \\______\\   \\__\\   `\\__\\   \\______\\  ;\n;        A tiny game in 512 bytes (bootsector)        ;\n```\n\nDino is a bootsector game (512 bytes) written in 16-bit x86 assembly, that's based on Chrome's t-rex runner game!\n\nThe game can now be assembled for CPU 8086!\n\n---\n* [How to play](#how-to-play)\n* [How to compile](#how-to-compile)\n* [Controls](#controls)\n* [Acknowledgements](#acknowledgements)\n---\n\n![preview.gif](./assets/preview.gif)\n\n## How to play\nThere 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.\n\nI recommend using an emulator, namely `qemu`.\n\n* To use `qemu`, first [compile](#how-to-compile) or download the binary (a.bin) from the [releases section](https://github.com/franeklubi/dino/releases), then run this command:\n```sh\n$ qemu-system-x86_64 a.bin || qemu-system-i386 a.bin\n```\n\n* If you have `make`, `nasm` and `qemu` installed, you can just use this command:\n```sh\n$ make run\n```\n\n## How to compile\nTo compile `dino` you'll need to have `nasm` installed on your machine.\n\n* If you have `make` installed, just use it like so:\n```sh\n$ make\n```\n\n* If you want to compile by hand, use:\n```sh\n$ nasm -f bin -o a.bin dino.asm\n```\n\n* Alternatively, if you want to generate a 1440KiB floppy disk image, use:\n```sh\n$ make floppy\n```\n\n## Controls\n* Use `shift` to jump\n* Use `ctrl` to crouch\n\n## Acknowledgements\n* I wish to thank [nanochess (Oscar Toledo)](https://github.com/nanochess) for inspiring me to make this project and for writing his book ([Programming Boot Sector Games](https://nanochess.org/store.html)), that helped me greatly.\n* I'd also like to thank Mateusz, for helping me with creating the sprites included in the code.\n\n\u003cbr\u003e\n\u003csmall\u003e\nDino: 512 bytes\n\u003c/small\u003e\n\u003cbr\u003e\n\u003csmall\u003e\nThis README: 2154 bytes (not counting the preview gif)\n\u003c/small\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraneklubi%2Fdino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffraneklubi%2Fdino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraneklubi%2Fdino/lists"}