DiscoverDan's MEGA65 Digest : Dan SandersonScreenful of BASIC 2025 compo
Screenful of BASIC 2025 compo

Screenful of BASIC 2025 compo

Update: 2025-02-19
Share

Description

Dan’s MEGA65 Digest for February 2025. A new BASIC code competition for the MEGA65 10th anniversary!


<figure>

<figcaption>
Screenful of BASIC 2025 compo.
</figcaption>
</figure>
<figure>

An example entry for the Screenful of BASIC 2025 compo.

<figcaption>
An example entry for the Screenful of BASIC 2025 compo.
</figcaption>
</figure>

On April 22, 2015, the Museum of Electronic Games & Art and Paul Gardner-Stephen announced the MEGA65 project to the world. Paul also announced the project on his development blog, where he had been documenting his work on a “C65GS” FPGA bitstream, on which the MEGA65 would be based. The MEGA65 has been a thing for ten years!


To help celebrate the ten-year anniversary of the MEGA65, ZeHa of Dr. Wuro Industries is throwing a short-form BASIC competition—and you’re invited! We want as many entries as possible, so power up your MEGA65 and crack open your User’s Guide. No experience necessary!


I’ll keep this Digest brief so you have extra time to start playing with code. We’ll go over how to enter the compo, check out some recent Featured Files, and take a brief look at a fun and obscure feature of the VIC-IV video chip: high resolution text fonts.



MEGA65 News

The Screenful of BASIC 2025 compo


It’s time for a good ol’ fashioned short-form BASIC competition!


The twist: Your program must be written in BASIC 65, and the program listing must fit entirely in one screen of 80 x 25 text, including space for the READY. prompt at the bottom of the screen. Someone should be able to type your program in from a single screenshot, and type LIST to see the entire program on screen. No data files allowed, one screen of code is all you get!


The deadline: Entries must be submitted by 11:59 pm GMT, April 22, 2025.


How to submit: Go to the itch.io page for the compo, create an itch.io account, and follow the instructions. Upload a D81 disk image containing a single PRG file of your program.


Pick your favorites: Public voting will open from April 23 to April 30. All entries will be available for download from itch.io. Results will be announced on May 1st.


Your program can do anything you’d like, and use any feature of the MEGA65. Just don’t destroy someone’s files or commit any crimes. Submissions should be family friendly in content. Multiple submissions are allowed, if you’re feeling productive.


Most MEGA65 users are running the latest stable release package v0.96, including ROM 920395. If your program requires a more recent ROM beta version, be sure to say so in the description of your entry. (We’re close to releasing v0.97 with all of the changes, but it won’t go out before the compo deadline.)


By submitting an entry to the competition, you assert that you have copyrights to the code, and you are assigning the Museum of Electronic Games & Art (MEGA) a non-exclusive right to distribute your program globally. Your entry will be hosted on itch.io, and may also be included in a compilation disk distributed on Filehost or bundled with the MEAG65 on the SD card as part of the “Intro Disk” anthology.


For complete rules and submission instructions, visit the Screenful of BASIC 2025 compo home page on itch.io. Many thanks to ZeHa for hosting this event!


BASIC compo tips


<figure>

Cover of the book For BASIC To One-Liners, by Holger Weßling

<figcaption>

For BASIC To One-Liners, by Holger Weßling.


</figcaption>
</figure>

Clever coders have devised many ways to cram a lot of BASIC into a little space, just as a personal challenge or for a short-form coding competition like Screenful. Figuring out what works and what doesn’t is part of the fun. If you’d like a bit of inspiration, there’s a book I can recommend. For Basic to One-Liners by Holger Weßling is packed with time-tested tips and tricks that apply to many dialects of microcomputer BASIC, with a focus on the Commodore 64 and short-form BASIC competitions. ZeHa himself is mentioned in the book!


We’ve covered BASIC programming topics in past issues of this Digest. In particular, check out October 2023: Robot Finds Kitten, part 1 and July 2024: Let’s Paint for some ideas.


For the purposes of short-form compos, the biggest difference between BASIC 65 and other Commodore BASICs is the breadth of graphics, sound, and music commands available. The language is mostly the same. I’d watch out for an unusual fact about BEGIN-BEND blocks from BASIC 7, where everything after the BEND on the same line is considered part of the block. If you discover any more language oddities, please mention them in the Discord or on Forum64.de.


Featured Files


<figure>

Still image from 'Hunt the Wumpus on the Mega65!' from the YouTube channel Coding with Culp

<figcaption>

“Hunt the Wumpus on the Mega65!” from the YouTube channel Coding with Culp.


</figcaption>
</figure>

Hunt the Wumpus by Dave Culp revives the classic computer game in BASIC 65. Traverse the dungeon, watch for clues, and take the Wumpus by surprise—before it surprises you. Don’t miss Dave’s video about his game on his YouTube channel, Coding with Culp.


It seems like muse has a new arcade core for us every month! I won’t hold him to that schedule, but I will very much enjoy Bank Panic (1984) from Sega. This western-themed reflex action game features colorful cartoon graphics and a unique user interface. This bank has so many doors! R6 owners will prefer the VGA video output. We’re waiting on a video fix for R6 boards in the MiSTer2MEGA framework that affects HDMI output of some arcade cores. I needed to use the horizontal position adjustment feature in the menu system, but then it looked great over VGA on my screen. As usual, see the Github repo for installation instructions.


WarGames simulator, originally by Andy Glenn, ported to BASIC 65 by Mr. Jones. Recreate scenes from the classic movie WarGames (1983) and avert Global Thermonuclear War. The game features a narrative hint mode if you don’t remember the movie.


BasicTracker by ZeHa is a simple, intuitive music composition program with a tracker-like interface. Compose for six simultaneous voices, each with six possible instruments. Enter two octaves worth of notes using letters and numbers, move the cursor with the cursor keys, and follow on-screen instructions for the rest. There’s no way to save or export song data, this is just for fun.



Tall Character Mode


<figure>

The font Hack converted to a MEGA65 high resolution font, by M3wP

<figcaption>
The font Hack converted to a MEGA65 high resolution font, by M3wP.
</figcaption>
</figure>

When you first turn on the computer, it starts up with a text screen 80 character wide and 25 characters tall, where each character is 8 pixels wide and 8 pixels tall, for a resolution of 640 x 200. There are two other text mode resolutions you can access directly from this screen: press <kbd>Esc</kbd> then <kbd>4</kbd> to enter 40 x 25 text mode, <kbd

Comments 
loading
In Channel
Every Pixel a Color

Every Pixel a Color

2025-11-3023:48

So Many Things

So Many Things

2025-08-1613:32

Taste the Rainbow

Taste the Rainbow

2025-07-0728:00

Character Study

Character Study

2025-05-3132:32

MEGA65: The First Ten Years

MEGA65: The First Ten Years

2025-04-1501:09:34

What's New in v0.97

What's New in v0.97

2025-03-2524:42

EasyAsm

EasyAsm

2024-08-2626:12

Let's paint!

Let's paint!

2024-07-1846:50

KERNAL of Truth

KERNAL of Truth

2024-06-1825:30

Racing the Beam

Racing the Beam

2024-06-0145:12

Sprite Attack!

Sprite Attack!

2024-02-1632:20

The New Hotness

The New Hotness

2024-01-1516:58

loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Screenful of BASIC 2025 compo

Screenful of BASIC 2025 compo

Dan Sanderson