This is my AI driven hobby project to implement a device driver for the MNT VA2000 RTG graphics card running under Commodore Amiga UNIX (AMIX), System V Release 4.0.
This project is my first proper vibe-coding adventure. I started it after reading Michael Ditton's Commodore DevCon documents and wondering the very (un)reasonable question: would it be possible to create a driver for a "modern" Amiga RTG card? ....Without programming skills.
The motivation for this project is not world domination or achieving enlightenment through driver development. This exists mostly out of curiosity, and fascination to the forgotton and obscure Amiga Unix operating system. The goal is to explore, and poke things with a stick, and see how far the combination of old hardware, old Unix, modern AI tools can go.
This project builds on groundwork by Commodore Amix team, MNT Research, Klaus Burckert and his X11R5 package from Gateway Volume 2 CD and Cirrus Logic graphics card support.
This is a hobby project developed out of curiosity. Use it at your own risk.
Before installing the kernel driver, make a full backup of your AMIX system
disk. Patching kernel source files and rebuilding the kernel carries a real
risk of leaving your system unbootable. The install script creates .orig
backups of all modified files and the TROUBLESHOOTING.md file documents
recovery procedures, but these are not a substitute for a proper backup.
A few things worth knowing before you proceed:
- This has been tested on one specific machine (Amiga 3000, AMIX 2.1p2a) with two VA2000 firmware versions, Zorro II and Zorro III. Other configurations may behave differently.
- The kernel driver patches are applied to vanilla AMIX 2.1 source files. If your installation has already been modified — for example by Klaus Burkert's X11R5 package — the patch patterns may not match and manual intervention will be required.
- If the kernel fails to boot after installation, you will need an AMIX boot floppy to recover. Make sure you have one before you start.
- This project is not affiliated with MNT Research, Commodore, or any other organization. It is an independent experiment.
Tested on: Amiga 3000, AMIX SVR4 2.1p2a.
Zorro III firmware: 68060 (2026-08-19) and 68040 (2026-09-07), both on the 68040/68060 port kernel.
Zorro II, fw1.9.0b2, 68030: tested before the Zorro III work. That path is unchanged here — without
VA2000_KVA the register base is the AutoConfig address exactly as before — but it has not been
re-run on this version.
- Kernel driver installs and loads in vanilla AMIX 2.1
- Board detection via
autocon()at boot time - Register access via
open()andread() - Framebuffer mmap — direct pixel access from user space
- Display mode setting — 800x600 16-bit, 1024x768, 1280x720 confirmed also 8-bit modes are now supported
- Passthrough control — switch between Amiga native and RTG mode
- CPU pixel fill — direct framebuffer writes
- Hardware blitter — fast rectangle fill confirmed working
- Zorro III — address-agnostic: the register base is a kernel mapping with an explicit cache class, and the aperture size comes from AutoConfig (4 MB Zorro II, 32 MB Zorro III)
- Reading the whole framebuffer in one pass (
xwd -rootat 1280x720) wedged the machine twice out of two attempts on a Zorro III board. Cause not attributed and the driver is not implicated; see ISSUE-70 in the 68040/68060 port. - Byte-width register access is untested. Every access this driver makes is an aligned 16-bit store. The one time byte writes did reach a Zorro III register window — from a kernel write-back replay, not from here — the odd byte was refused.
- Amiga with Zorro II or Zorro III slots (tested on Amiga 3000)
- MNT VA2000 graphics card, firmware 1.9.0 beta 2 or later
- Either Zorro II or Zorro III firmware. The driver reads the board address and aperture size from AutoConfig, so the same binary serves both (4 MB in Zorro II, 32 MB in Zorro III)
- Manufacturer ID: 0x6D6E, Product ID: 0x01
- Amiga UNIX (AMIX) System V Release 4.0, version 2.1p2a
| Mode | Clock | Status |
|---|---|---|
| 800x600 16-bit | 40MHz | Working |
| 1024x768 16-bit | 75MHz | Working |
| 1280x720 16-bit | 75MHz | Working |
| 640x480 | 40MHz | Monitor rejects signal |
| 1280x1024 | 100MHz | Monitor rejects signal |
src/
va2000.c Kernel device driver (major 68, /dev/va2000 c 68 0)
va2000.h Driver header, SVGA ioctl definitions
tools/
va2000_test.c Mode set and solid color fill test
va2000_blit.c Hardware blitter test — color bars, quadrants
va2000_restore.c Restore Amiga passthrough video
amix_zp1_scan.c Zorro bus scanner
amix_zp3_mmap.c Zorro mmap test
KERNEL_CHANGES.md Required changes to AMIX kernel source files
install-va2000-driver.sh Experimental install script — copies driver and patches kernel sources
Run the install script from /usr/sys. The script copies va2000.c and
va2000.h, patches amiga/driver/Makefile, scrdev.c, c0.c, screen.c,
and master.d/kernel.c, then prints rebuild instructions.
cd /usr/sys
sh /path/to/install-va2000-driver.sh /path/to/va2000-amixThis can be done before rebooting:
mknod /dev/va2000 c 68 0
chmod 666 /dev/va2000cd /usr/sys
make install
sync; sync; sync
rebootcc tools/va2000_blit.c -o va2000_blit
cc tools/va2000_xinit.c -o va2000_xinit
cc tools/va2000_restore.c -o va2000_restore
cc tools/va2000_spy.c -o va2000_spy./va2000_blit
# Should show red screen, then color quadrants at 800x600Following Piccolo driver pattern:
return (int)((va2000_boards[mindev] + offset) >> 11);Not phystopfn() which was tried but did not improve behavior.
MIT License. See LICENSE file.
-Antti Sokero 2026