IMSAI 8080 for MEGA65 R3: front-panel update

Version 0.3.0 front-panel prototype, 23 October 2026, by Toby.

The original-style front panel and green 80-column terminal now share one screen. F7 enlarges the front panel; F7 again restores the combined view. The program, terminal and RUN/STOP state are preserved. LEDs and supported switch positions reflect live machine state. STEP and POWER are display-only.

Illustrated views

Illustrated documentation updated 27 October 2026 with the anonymous R3 hardware report. The FPGA core remains version 0.3.0; its binary is unchanged.

These two views are rendered from the MEGA65 simulation, not captured from physical hardware. The R6 hardware results are documented separately below. Version 0.3.0 was successfully tested on a physical MEGA65 R3 by a community user on 27 October 2026, explicitly including F7 zoom.

Combined terminal and front panel — MEGA65 simulation render
Combined terminal and front panel — MEGA65 simulation render

Combined terminal and front panel — MEGA65 simulation render.

Enlarged front panel with F7 — MEGA65 simulation render
Enlarged front panel with F7 — MEGA65 simulation render

Enlarged front panel with F7 — MEGA65 simulation render.

F7 switches between the combined terminal/front-panel view and the enlarged front panel. Press F7 again to return; terminal contents and program state are preserved. STEP and POWER are display-only.

Requirements and installation

This is the R3 hardware build. Use it only with the matching MEGA65 board revision. R3A is not separately verified. The R3 and R6 files are independently compiled; do not interchange them.

Keep your current working core and factory/recovery slot. This package has a distinct filename, PANELR3.COR. Copy it to the SD card without replacing an older core. Select an available non-factory slot in the NO SCROLL startup menu and check the target before installing. Do not interrupt a flash operation. No core has been installed automatically by this build task.

Complete package — 28 October 2026

This package includes the unchanged v0.3.0 R3 core and the historical program collection from v0.2.1. No earlier download is required. Packaging and documentation have changed; no new hardware test is claimed.

Copying files to the SD card

1. Extract the entire ZIP on your computer. Read this README or open USER_GUIDE.html in your browser for the illustrated guide.
2. Use only the package matching your board (R3). Preserve your working core and customized programs before copying.
3. Copy the contents of the package's SD folder to the root of the MEGA65 SD card. Do not copy the SD folder itself as an extra directory. The resulting paths are:

/PANELR3.COR
/IMSAI/KILL.BIN
/IMSAI/TINYBAS.BIN
/IMSAI/BASIC40.BIN
/IMSAI/STARTREK.BIN

Also copy the text files inside IMSAI. README, USER_GUIDE, images, Sources, Tests and Licenses may stay on your computer; they are not needed on the MEGA65 SD card.
4. Use an SD card reader, or download M65Connect (MEGA65 Connect) from https://files.mega65.org (search for M65Connect and choose your operating system). For LAN transfer, start the normal MEGA65 core, connect the LAN cable and enable remote access with Shift + £. Use M65Connect's SD Card Manager. The IMSAI core itself has no LAN access. M65Connect manual: https://mega65.atlassian.net/wiki/spaces/MEGA65/pages/48365569/M65Connect
5. Start with NO SCROLL held to open the startup menu. Select an available non-factory slot and install PANELR3.COR. Check the board and slot before flashing; do not interrupt it. Preserve the factory/main core and a working fallback.
6. Start the IMSAI slot. Press HELP, choose Programs → BIN, browse to /IMSAI and select a program. HELP closes the menu.

Included programs and first steps

- KILL.BIN — Kill the Lights: watch the OUTPUT LEDs and use keys 1–8 to operate the eight INPUT switches. The goal is to extinguish the lights. F7 enlarges the panel. The loader recognizes the original 44-byte image and supplies its startup adaptation.
- TINYBAS.BIN — Tiny BASIC: enter PRINT 6*7 in uppercase and press Return; the result should be 42. Try 10 PRINT "HALLO", then RUN. These BASIC interpreters expect uppercase commands.
- BASIC40.BIN — BASIC 4.0: opens the historical BASIC environment for entering BASIC programs. Enter PRINT 2+3 and press Return for a quick check.
- STARTREK.BIN — Super Star Trek: includes BASIC 4.0 and automatic entry of the historical game listing. Loading takes time; wait for the introduction and game prompts. Follow the setup prompts, then enter commands such as SRS (short-range scan) and LRS (long-range scan) in uppercase. At the command prompt, XXX lists commands. A command may ask for additional values; answer the displayed prompt.

Troubleshooting

If no BIN files are visible, check that IMSAI is directly at the SD card root and the ZIP has been extracted. If BASIC or Star Trek does not recognize input, use uppercase and press Return. During automatic Star Trek loading, wait rather than typing into the incoming listing. If execution is stopped, use F1 to resume. F7 changes the view, not the running program. CPU reset returns to the embedded terminal demo; reload the desired BIN through HELP. Keep customized files when merging an existing IMSAI folder.

Historical background

Kill the Lights

The retained version appears as Program 3 in the IMSAI Microcomputer System User Manual, August 1977. It is a front-panel game played with switches and LEDs rather than a conventional screen. The original machine-code program occupies just 44 bytes, at addresses 0000–002B. This package preserves those bytes; the core supplies the loading/startup adaptation. The digital manual edition credits Thomas Fischer (1999) for digitization, not authorship of the original game. See Sources/Programs/kill-the-lights-source.txt for the listing and source: https://www.hartetechnologies.com/manuals/IMSAI/IMSAI%20Software/Kill-the-bit%20test_game.pdf

Super Star Trek

Mike Mayfield created the original Star Trek game in 1971. Bob Leedom expanded it in 1974, and David H. Ahl helped popularize it through BASIC Computer Games. The included listing is dated 16 May 1978; it also credits the conversion to Microsoft 8K BASIC. This text-based space adventure comes from an era when programs circulated as printed listings and paper tape. See GAME_HISTORY.md for the fuller account, original credits and sources. The original REM credits are preserved in Sources/Programs/superstartrek.bas; the automatic loader omits comments only from the injected listing.

Program rights and provenance

These games are historical software, not new games authored by Toby. The Star Trek listing is supplied with its retained Unlicense notice in SD/IMSAI/TREKLIC.TXT and Sources/Programs/SUPER-STAR-TREK-LICENSE.txt. The historical Microsoft/MITS BASIC runtime is separate: no open redistribution license has been established for it. See SD/IMSAI/BASSRC.TXT. Kill the Lights and the historical interpreters are not automatically covered by licenses for our core or framework. Original source and provenance notices are retained.

Controls on the MEGA65 keyboard

KeyFunction
F1Toggle RUN / STOP
Shift+F1 (F2)Enter hexadecimal memory address while stopped
F3Prepare a hexadecimal byte while stopped
Shift+F3 (F4)Write the prepared byte to memory while stopped
F5Next memory address while stopped
Shift+F5 (F6)Previous memory address while stopped
F7Toggle combined terminal/front panel and enlarged front panel
ReturnFinish the current edit
HELPOpen / close the core menu

For Kill the Lights, keys 1–8 operate the input switches as in the previous version. The on-screen labels F2/F4/F6 refer to the shifted physical keys listed above. STEP is not an instruction-step feature.

Validation and limits

The integrated MEGA65 simulation checks boot, typed echo, LEDs, stopped-memory deposit, F7 in STOP and RUN, preserved terminal and RAM, visible RGB and blanking alignment, and panel scaling. Separate regression tests exercise the BIN loader and Tiny BASIC PRINT 6*7 = 42. The board-specific FPGA build, timing and core header/CRC have been checked; reports are included.

Version 0.3.0 has now been successfully tested on physical R3 hardware by a community user, including F7 zoom (27 October 2026). The R6 build separately passed short hardware checks on 23 October 2026. Simulated previews remain labelled as such. Complete game play and exhaustive HDMI/keyboard/SD coverage have not been established. The framework and existing menu firmware are unchanged; external I/O exceptions from its timing constraints remain.

R3 community hardware report — 27 October 2026

On 27 October 2026, a community user reported that version 0.3.0 works perfectly on a physical MEGA65 R3, explicitly including F7 zoom. This is a user-reported hardware result; no detailed per-function checklist was supplied. R3A was not separately identified or tested in this report.

This documentation update does not change the v0.3.0 FPGA core or program files. The illustrated views above remain simulation renders.

First hardware check

Check the boot text and terminal, HELP menu, BIN loading and a simple BASIC calculation. Use F1 to stop, read/edit a safe RAM address, then F7 twice; verify the same memory and terminal content return. Repeat F7 during normal execution and check the program continues. Keep the older core available as fallback.

Sources, component licenses and build reports accompany this package. The shared framework is MiSTer2MEGA65; the CPU is vm80a. See CREDITS.md and Sources/ for their original licenses. The front-panel artwork is a decorative recreation, not a claim that every physical IMSAI control is implemented.

Measured implementation results

Setup slack: +0.344 ns; hold slack: +0.049 ns; pulse-width slack: +0.264 ns.

ResourceUsedAvailableUse
Slice LUTs2031813460015.10%
Slice Registers127302692004.73%
Block RAM Tile137.536537.67%
DSPs587407.84%

The DRC report contains warnings, not a warning-free certification. The R3 warning summary matches the previous v0.2.1 R6 baseline (143 warnings across CHECK-3, DPIP-1, DPOP-1, DPOP-2, REQP-1580 and REQP-1839). Read the board-specific report for the actual list. Async RAM-control and framework pipelining warnings remain; further physical testing remains useful for broader compatibility coverage.