GERBEN'S BLOG

A Perpetual Calendar Program for Mega65

To have fun and to get back to the roots, I’ve recently created a perpetual calendar program specifically tailored for the Mega65 computer using the Eleven development environment. This program displays the current month, taking into account leap years and days of the week.

You can download it:

Screenshot of the Perpetual Calendar

Introducing the Mega65

The Mega65 is an Open Source FPGA-based modernized version of the never released Commodore 65 computer. It boasts improved performance and expanded capabilities, including a 40MHz processor, upgraded memory, an SD card slot and a 3.5" floppy drive(yes !!). Its design pays homage to the original C65’s iconic aesthetic and the computer offers an improved BASIC version named BASIC65.

The Mega65 Computer

Development Environment

The program was written using the Eleven development environment for the Mega65. Eleven is a combined editor and preprocessor package which enhances BASIC65 with labels, variable names with arbitrary length and more…

The Eleven Development Environment

How to Use

To use this perpetual calendar program:

  1. Download the cal.prg file on your Mega65 or Emulator
  2. RUN the program

Use the following Keys in the program:

  • left/right key: Go to previous/next month
  • G: Go to a given date (asks for target month and year)
  • Q: Quit