10 PRINT Game Boy

From GameBrew
Revision as of 02:18, 13 September 2023 by HydeWing (talk | contribs) (Created page with "{{Infobox GB Homebrews |title=10 PRINT Game Boy |image=10printgb.png |description=Port of a famous C64 BASIC one-liner to the Game Boy. |author=Sven Dahlstrand |lastupdated=2018/01/15 |type=Samples |version=0x02 |format=DMG (ASM) |license=MIT |download=https://dlhb.gamebrew.org/gbhomebrews/10printgb.7z |website=https://github.com/svendahlstrand/10-print-game-boy |source=https://github.com/svendahlstrand/10-print-game-boy |donation= }} {{#seo: |title=GameBrew |title_mode=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
10 PRINT Game Boy
10printgb.png
General
AuthorSven Dahlstrand
TypeSamples
Version0x02
LicenseMIT License
SystemDMG (ASM)
Last Updated2018/01/15
Links
Download
Website
Source

This is a port of that one-liner for the original Game Boy written in assembly language using the RGBDS toolchain, inspired by the book 10 PRINT CHR$(205.5+RND(1)); : GOTO 10.

10 PRINT CHR$(205.5+RND(1)); : GOTO 10 is a concise and elegant single line of code written in BASIC for the Commodore 64 sometime in the early 1980s. When run, it produces a maze-like pattern on the screen in an endless loop.

Screenshots

10 PRINT running on Commodore 64 (left) and Game Boy (right)
10printgb2.gif

Compatibility

The ROM should run on all hardware from the original Game Boy to Game Boy Advance SP.

Changelog

v0x02

  • All sound circuits are disabled to save battery life. For better compatibility with some emulators, the background palette is explicitly set.

v0x01

  • Let's celebrate the first ever release of 10 PRINT for Game Boy.

External links

Advertising: