FPGA Releases

From F256 Foenix
Jump to navigationJump to search
  1. move the FG & BG Text LUT to:

Important:

Most users will want to consume the "Firmware package relases" (taken from here: https://github.com/FoenixRetro/f256-firmware/releases. ) which contain both the latest of the FPGA releases seen here on this page, and the kernel/base programs intended for the flash memory. The page you're ready here is meant for power user who would want to test back compatibility or attempt some roll-backs in case bugs are found, and for readers who want to learn about the release notes of each new FPGA version.


(* "Purple" refers to the official 2025+ release of the K2; "Black" refers to the first run of K2B boards sent out to the original F256K owners in late 2024)

Latest FPGA core files for all platforms

F256Jr2

F256K2

Core Link Notes Core Link Notes
6502 MMU 08-Jan-2025 OPL3 added 6502 MMU Black*: 02-Feb-2025

Purple*: n/a

fix Onboard Access to a SPI Flash

LCD Splash Screen

65816 Ext 21-Dec-2025 Implementation of the 256Bytes

Copy from Flash to RAM before booting.

65816 Ext Black*: 07-Jan-2025

Purple*: n/a

Updated access to WS6100

UART for the VS1053B

65816 Ext 2x Buy Here 2x CPU speed

layer of 16 bit colored text

hardware line drawing

64 more sprites.

65816 Ext 2x Buy Here 2x CPU speed

layer of 16 bit colored text

hardware line drawing

64 more sprites.

6809 15-Jun-2025 WIFI Speed and Interface (added TX_Empty & RX_Empty Flag) 6809 N/A yet N/A yet

F256Jr

F256K

Core Link Notes Core Link Notes
6502 MMU 26-Jan-2025 fixes Overlay FONT on top of graphic

with Background Color Enabled

6502 MMU 26-Jan-2025 fixes Overlay FONT on top of graphic

with Background Color Enabled

65816 Ext 2x 24-Jun-2025 Fixed bugs with register 0x0000 and 0x0001 65816 Ext 2x 23-Jun-2025 Fixed bugs with register 0x0000 and 0x0001

Previous FPGA core files for all platforms

Use these for testing out older softwares and snooping around for persistant issues.

Previous F256Jr2 Cores

Core Link Notes
6809 13-Jun-2025 Move the FG & BG Text LUT to:

$18_3800        $18_383F            TEXT_LUT_FG

$18_3840        $18_387F            TEXT_LUT_BG

6809 11-Jun-2025 big Wishlist

full access to write back the onboard flash

6809 17-Jan-2025 Fix for the manual Reset

Fix for the readback of Multiplication Values

Endianess

Changes to: Line/Pixel Position

Previous F256K2 Cores

Core Link Notes
6502 MMU Black*: 08-Jan-2025

Purple*: n/a

OPL3 implemented
6502 MMU Black*: 07-Jan-2025

Purple*: n/a

Instantiation of the UART for the VS1053B @ $DDB0
6809 N/A yet N/A yet

Previous F256Jr Cores

Core Link Notes
6502 MMU 23-Dec-2023 Tiles fix; shifted by one towards the left.

(0100 = Serial RAM/Flash Select)

6502 MMU 18-Nov-2023 In light of decision to dump the big ticket items and the accessories from the store...
  • Removed the very SPI core introduced yesterday to drive the FNXNET51 module.
  • Removed the DP memory for the MMU and replace it back with simple Registers, which means that when you reset the system, the MMU, Page0 will be reset back to the way it was. However, the caveat is that if you change between RAM to FLASH MMU default value, you need to do a reset, either a debug reset or General Reset because the MMU is now only 32bytes in Size, so, 4 pages of 8 values.
6502 MMU 17-Nov-2023
  • No Write Allowed when Debug Port writes in the MMU Memory Zone
  • Incorporation of a new SPI Controller to interface with the FNXNET51 module using the NES/SNES MiniDin9 Connector
  • ReSync of the Debug Generated RDY to stop the CPU. (untested)
6502 MMU various older
65816 Ext 2x 16-Jun-2025 CPU runs at 2x speed at 12 MHz

MUST use a 65816 cpu chip,

will not work with the 6502

6809 n/a n/a

Previous F256K Cores

Core Link Notes
6502 MMU 23-Dec-2023 Tiles fix; shifted by one towards the left.
6502 MMU 09-Dec-2023
  • Fixes a problem with Interrupt from timer0 that was working on the Jr.
  • Resolves a discrepancy between the F256Jr interrupt block and the F256K.
6502 MMU 19-Nov-2023 Corrects the issue with no-response from command $20 & $21 (not being processed in the early parser). The Jr doesn't have the issue.
6502 MMU various older
65816 Ext 2x 18-Jun-2025 CPU runs at 2x speed at 12 MHz

MUST use a 65816 cpu chip,

will not work with the 6502

6809 N/A yet N/A yet


---old version will be kept at the bottom for a while in case errors are found above---


FPGA Upgrade Guide

How to Upgrade the F256K FPGA (and F256Jr)

Note that the below Video Guide applies to both the F256K & F256Jr, despite it just being titled F256K.

You will need to download Quartus Prime Lite 18.1 Edition, since you are going to target a EP4CE15 FPGA (Cyclone 4).

Do not update to the latest version of Quartus Prime Lite, as the latest version doesn’t support that family of FPGA anymore and the software is very big.

Also, one might want to download only the "Intel® Quartus® Prime Programmer and Tools" as opposed to download the whole software by clicking on "Additional Software"

Intel Quartus Prime Lite Edition 18.1 for Windows

Intel Quartus Prime Lite Edition 18.1 for Linux

How to Upgrade the FPGA for the F256K2

It is possible that there will be more graceful methods in the future, but for now, the easiest is to pop off the uSD card found on the left side of the board marked "uSD Card / FPGA Load" and to replace the .bin files inside the directory of the root of that uSD card, using a modern computer.

This will of course imply that you open up your case. There is a guide on how to do so for the original F256K enclosure. Perhaps the F256K2 enclosure will be similar.

For those unfamiliar with the process of removing the uSD card from these slide-operation holders here is the process:

1) very gently press down on the middle metal locking slider that goes across on top of the uSD card and slide it towards the left.

2) the uSD card and its locking slider will now open up by rotating towards the left with a hinge on the left side

Inside the root of this uSD card, there are four folders marked as CNTX# where # is a number from 1 to 4. Simply replace the .bin file therein to update any one given core. You may completely ignore .prm files since they do not affect the F256K2.

Folder FPGA Core description CPU in the FPGA
CNTX1 F256 Classic mode with a memory management unit (MMU), where the CPU sees 64k at once 65816 acting as 6502
CNTX2 F256 Extended mode with a flat memory map all accessible at once 65816
CNTX3 F256 with the 6809 core 6809
CNTX4 ??? To be determined later

How to Upgrade the FPGA for the F256Jr. the 2nd

Go look at this guide here in the wiki.

Suggested USB Blaster (K and Jr. only)

Earth People Technology [1] [2]

Terasic USB Blaster (low cost version) [3] [4]

Chinese Knockoff (please avoid if possible)

Open Source blaster software (K and Jr. only)

For those who are struggling to program the FPGA with Linux or Apple, Stef found this great tool:

https://github.com/trabucayre/openFPGALoader/releases