Skip to content
BK-0010 Emulator on STM32F407
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
Drivers
Inc
Main
Middlewares/ST/STM32_USB_Device_Library
Src
doc
startup
.cproject
.gitignore
.mxproject
.project
LICENSE
README.md
m4vga-stm32f4xx.ld
stm32f407-bkEmu Debug.cfg
stm32f407-bkEmu Release.cfg
stm32f407-bkEmu Run.cfg
stm32f407-bkEmu.ioc
stm32f407-bkEmu.xml
stm32f407-z80emu.xml

README.md

stm32f407-bkEmu

BK-0010 Emulator (using STM32F407 microcontroller)

Breadboard

Screenshot

What it can do

  • Emulate BK-0010
  • Load file in .BIN format from SD card

Installation

If you want to try my project, this is the only part that you need.

Hardware Qty
Black F407VET6 board 1
VGA connector 1
PS/2 Keyboard 1
Power supply 5V DC for keyboard 1
Resistors 470 Ohm 3
Resistors 680 Ohm 3
Resistors 2.2 KOhm 2
Resistors 3.3 KOhm 2
Breadboard 1
Jumper wires 18
ST-Link v2 or clone 1

Software: Install free IDE System Workbench for STM32. I am using Windows 10, however STMicroelectronics claims that it also supports Linux and Mac.

How to connect wires:

PIN Description Connect To Output
PE8 Red 1 Resistor 470 Ohm VGA red (1)
PE9 Red 2 Resistor 680 Ohm VGA red (1)
PE10 Green 1 Resistor 470 Ohm VGA green (2)
PE11 Green 2 Resistor 680 Ohm VGA green (2)
PE12 Blue 1 Resistor 470 Ohm VGA blue (3)
PE13 Blue 2 Resistor 680 Ohm VGA blue (3)
PD15 HSync VGA HSync (13)
PD14 VSync VGA VSync (14)
PB14 CLK Resistor 2K2 to keyboard CLK and resistor 3K3 to GND
PB13 DATA Resistor 2K2 to keyboard DATA and resistor 3K3 to GND
G Ground VGA Ground (5,6,7,8,10), '-' of passive speaker

Third party software

This project uses several libraries (in addition to HAL drivers from STMicroelectronics):

Plans for the future / issues

  • Load / save files in .COD format
  • Save snapshot
  • Measure emulation speed and see if it needs a slowdown
  • Sound
You can’t perform that action at this time.