Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:31 02 Dec 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Colour Maximite on FPGA (Karabas Go)

Author Message
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 11:36am 29 Nov 2026
Copy link to clipboard 
Print this post

Hello everybody!

The Colour Maximite core is released for my FPGA boards (Karabas Go). It is not an emulator: the FPGA runs a RISC-V soft CPU (VexRiscv, 75 MHz), and on it runs the original MMBasic 4.5 of the Colour Maximite, compiled from the sources for RISC-V. I wrote a thin layer that plays the parts of the PIC32 that MMBasic uses (the timers, the keyboard pins, the video channels, the SD card, the RTC, the sound PWM), and the video and sound hardware are reimplemented in the FPGA. MMBasic behaves as on the real machine: the logo and copyrights at start-up, the editor, graphics, MODE 4, files on A: and B:, TONE / SOUND / PLAYMOD. BASIC speed is about 0.84 of the original Maximite. The changes to MMBasic itself are small, scripted build fixes plus two optional speed-ups (a line-number lookup cache and a temp-string high-water mark).

More info about the project: https://www.karabas.uk  and https://github.com/andykarpov/karabas-go/

The core sources: https://github.com/andykarpov/karabas-go-core-maximite/

Feel free to port this core to other platforms :)

Best regards,
Andy.
 
Batteryman
Newbie

Joined: 05/04/2016
Location: United Kingdom
Posts: 32
Posted: 12:33pm 29 Nov 2026
Copy link to clipboard 
Print this post

Hi Andy,

I just looked at your FPGA projects on your website, absolutely amazing,  great work. I did not know that you can get the Z80 as an SMD! I like to explore this project.

Regards

Peter
 
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 01:23pm 29 Nov 2026
Copy link to clipboard 
Print this post

  Batteryman said  
I just looked at your FPGA projects on your website, absolutely amazing,  great work. I did not know that you can get the Z80 as an SMD! I like to explore this project.


Thank you, Peter! Regarding the SMD Z80 - yep. As you may know, the SMD packaging are not only QFP. Toshiba did their own packaging for Z80 - T84C00. Available on aliexpress, by the way: https://www.aliexpress.com/item/4001120806362.html
(still cheap enough comparing to DIP / QFP versions)

Best, Andy.
 
Wölfi

Regular Member

Joined: 14/10/2026
Location: Germany
Posts: 66
Posted: 01:52pm 29 Nov 2026
Copy link to clipboard 
Print this post

Your projects are really impressive, but they’re still a bit too complex for me to dive into just yet. Still, this feels like the future, and I’d love to explore it more deeply once I’m ready. Keep up the great work!

 
Batteryman
Newbie

Joined: 05/04/2016
Location: United Kingdom
Posts: 32
Posted: 02:40pm 30 Nov 2026
Copy link to clipboard 
Print this post

  Wölfi said  Your projects are really impressive, but they’re still a bit too complex for me to dive into just yet. Still, this feels like the future, and I’d love to explore it more deeply once I’m ready. Keep up the great work!



Yes, they are a bit complex! But now we have Andy to guide us into the new promise land...!  .

I have a couple of FPGA's here, Sorry about the large photos!! I did cover FPGA's on my degree course back in the early 90's but forgot all about it now as never used for homebrew projects! I bought these this year to get back into it. Andy you may tell me more about these ones I have. I have downloaded the software as well to program (setup, configure etc), but only got it to flash an LED at the moment (a HELLO WORLD! start). I've bookmarked your site (https://www.karabas.uk ) and I'll pop into your github soon.

The ALTERA Cyclone IV  EP4CE6E22C8N board (OMDAZZ):-





and

TANG NANO 9K





Rs

Peter
 
darthvader
Senior Member

Joined: 31/01/2020
Location: France
Posts: 108
Posted: 06:17pm 30 Nov 2026
Copy link to clipboard 
Print this post

I see you use a Tang Nano 9k , i got 2 or 3 Tang Nano 20k , your project can normally work on this board too  

On the page it's sait that mmbasic work on the RiscV core ...
I wonder if it will also work on the new ESP32 P4x (rev 3.2) , the official espressif ESP32-P4X-Function-EV-Board board with 7" display  + audio + wifi (tough esp32 c6) + sd card and 32mb psram in chip cost very little amount of money and it's dual core RiscV at 400Mhz
I wait for the board (originally for testing old console emulation) , but will test any mmbasic on it if needed    

Regards.
Edited 2026-12-01 04:19 by darthvader
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 06:28pm 30 Nov 2026
Copy link to clipboard 
Print this post

@Batteryman, I guess the design will not fit into the Altera EP4CE6 nor GoWin 9k, it requires more LEs than 6k or 9k. But, I think, it will fit into the Tang Nano 20k.

Also you'll need to make your own simple peripheral layer, like ps/2 keyboard handling and direct SD access.
On my boards there is a RP2040 MCU that handles the USB keyboard/mouse/gamepads as well as SD card image interface.

@darthvader, yeah, I think - Tank 20k will be enough :)
But ESP32 P4x could be a cheaper solution maybe and it will be easy to port the code to this chip as well. I've used a Claude AI to make this port possible (from PIC32 to Risc-V).

Best, Andy.
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1210
Posted: 08:14pm 30 Nov 2026
Copy link to clipboard 
Print this post

I have a MIST, a MISTICA (a MIST clone), and a MISTER here. Is there any chance I could get a version for one of these devices?

Frank
 
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 08:29pm 30 Nov 2026
Copy link to clipboard 
Print this post

@Frank, I guess yes, it will be easy to port this core to Mist, Mister and Mistica.
I don't have those boards, so better to ask somebody who is responsive to perform such port.
What I know exactly - the cores from Karabas Go is easy to port to Mister :)
My Spec256 core has been ported from Karabas to Mister in 1 (one) day after publication (with Claude Code, I think, or with other AI agents) ;)
 
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 08:38pm 30 Nov 2026
Copy link to clipboard 
Print this post

I will try to make a blind port to Mist and Mistica, I have a Quartus 13 for their FPGA families. Mister requires a bit more fresh Quartus, I don't have it.
Let's see what will be done :)
 
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 10:36pm 30 Nov 2026
Copy link to clipboard 
Print this post

I made a port to Mist, please try:

https://github.com/andykarpov/karabas-go-core-maximite/tree/master/src/mist

There are files you need to put on your SD card:
1) maximite.rbf
2) MAXIMITE.ROM
3) MAXIMITE.HD1 (an empty drive A:)
4) MAXIMITE.HD0 (optional, you can rename our sd.img for drive B: and put it as this file)

This build is blind, never tested on real hardware.
The README also extended with some info about the MIST build: https://github.com/andykarpov/karabas-go-core-maximite/blob/master/README.md
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1210
Posted: 12:38pm 01 Dec 2026
Copy link to clipboard 
Print this post

Thank you very much! I'll give that a try!
  andykarpov said  4) MAXIMITE.HD0 (optional, you can rename our sd.img for drive B: and put it as this file)

You mean I should rename "MAXIMITE.HD1"  so that I get drive B:?

Frank
 
andykarpov
Newbie

Joined: 29/11/2026
Location: Ukraine
Posts: 7
Posted: 12:56pm 01 Dec 2026
Copy link to clipboard 
Print this post

you can create you own empty FAT16 image, for example 64MB image in linux:

mkfs.fat -C -F 16 -n MAXIMITE MAXIMITE.HD0 65536

or you can leave it empty, it's optional.
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1210
Posted: 01:11pm 01 Dec 2026
Copy link to clipboard 
Print this post

Thanks! I've created a file and will give it a try.

Frank
 
mclout999

Guru

Joined: 05/07/2020
Location: United States
Posts: 539
Posted: 05:00pm 01 Dec 2026
Copy link to clipboard 
Print this post

Next we need a CMM2. With The 8.XXXX Firmware. Running on Mister FPGA. That would be a wonderful solution for those of us that have an investment in the Mr FPGA project. It could easily run on that. Even with many acceleration levels. I've got 30 different computers I can run. On my. Mister FPGA, even some, really. The esoteric. 80s computers. That never made it in the market, but. Are sitting on my. Tiny little Mister FBGA. I'm pretty sure they could. Make a core. For the. Picomite 3 computer. As well. I wish I had the skills to Program for FPGAs.
Edited 2026-12-02 03:06 by mclout999
They call me Shai-Hulud (The maker)
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 9420
Posted: 05:10pm 01 Dec 2026
Copy link to clipboard 
Print this post

You'd find it hard work to put the CMM2's STM chip onto a FPGA and get any level of performance out of it. It's a very fast chip to start with and the M version is seriously optimised. You may be able to get something that *looks like* a CMM2 but it might still be hard work.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1210
Posted: 06:27pm 01 Dec 2026
Copy link to clipboard 
Print this post

@mclout999:

It works! It feels a little sluggish, but it works. I can't access the drives - I always get a message saying there's no SD card inserted. It doesn't make any difference whether I type A: or B:. Wasn't there already an “OPTION KEYBOARD GR” back then? At any rate, this OPTION isn't recognized. The keyboard's auto-repeat feature doesn't work either.

Frank
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026