emulator performance on embedded cpu
Re: emulator performance on embedded cpu
Better than 5x performance penalty is very good indeed!
Re: emulator performance on embedded cpu
I'm not sure if we have a topic for listing dev boards which are suitable for embedded 6502 simulation, so I'll put this here: there's a pair of new versions of the Teensy boards being kickstarted now, so for under $30 you get a 48 pin DIL-format ARM board with 5V tolerance at 120MHz, or without 5V tolerance and running at 180MHz. Lots of I/Os, lots of RAM, lots of performance, and on-board SD card too. And USB, and ethernet MAC.


Comparing to previous Teensy boards:

As Teensy is now a long-running and viable product family, I see no special risk in this kickstarter.


Comparing to previous Teensy boards:

As Teensy is now a long-running and viable product family, I see no special risk in this kickstarter.
Last edited by BigEd on Sat Jul 13, 2019 5:05 pm, edited 1 time in total.
Re: emulator performance on embedded cpu
I see the Teensy boards are now a stock item, although they do seem to sell out quickly! The 3.5 is the 5V-tolerant one; the 3.6 has the faster CPU and costs a little more:
https://www.pjrc.com/store/teensy35.html
https://www.sparkfun.com/categories/267
http://www.hobbytronics.co.uk/teensy-boards
https://shop.pimoroni.com/products/teensy-3-5-3-6
https://www.pjrc.com/store/teensy35.html
https://www.sparkfun.com/categories/267
http://www.hobbytronics.co.uk/teensy-boards
https://shop.pimoroni.com/products/teensy-3-5-3-6
Re: emulator performance on embedded cpu
We've had a couple of mentions in other threads of Cypress' PSOC4 devices: it turns out they do a £3 dev board, with lots of I/O, a USB interface, and a 48MHz ARM on board. If powered at 5V it's 5V tolerant too. Although 48MHz isn't the fastest, the chip also has a small amount of programmable logic: four byte-wide(?) chunks of logic suitable for interface hardware, programmable in Verilog.
But, it has just 4k of SRAM, and the toolchain is Windows-only (probably runs OK in Wine.)
[Edit: on reflection, 4k is plenty, as there's lots of flash ROM where application and OS can live.]

Quote:
Four programmable logic blocks called universal digital blocks, (UDBs), each with 8 Macrocells and data path.
There are two PLDs in each UDB; each with eight PTs and four macrocells.
[In a PLD] there are 12 inputs which feed across eight product terms (PTs) in the AND array. In each PT, either the true or complement of the input can be selected. The outputs of the PTs are inputs into the OR array. The outputs of the OR gates are fed to macrocells (MC). Macrocells are flip-flops with additional combinatorial logic.
There are two PLDs in each UDB; each with eight PTs and four macrocells.
[In a PLD] there are 12 inputs which feed across eight product terms (PTs) in the AND array. In each PT, either the true or complement of the input can be selected. The outputs of the PTs are inputs into the OR array. The outputs of the OR gates are fed to macrocells (MC). Macrocells are flip-flops with additional combinatorial logic.
[Edit: on reflection, 4k is plenty, as there's lots of flash ROM where application and OS can live.]

Re: emulator performance on embedded cpu
Nearby some 5V tolerant ARM offerings:
gbm wrote:
STM32 Nucleo-64 boards cost ca. USD 11, 90% pins are 5V-tolerant. BluePill costs USD 1.7, over 20 5 V tolerant pins. Chinese STM32F407VET board (over 100 pins) is USD 9. :)
We've got plenty of choices when it comes to implementing any retro computer logic in a microcontroller. Note that all these have USB interfaces, which may be used for controlling the device from a PC (status
display, loading HEX files to memory etc.). That's what I did in my SDC design.
We've got plenty of choices when it comes to implementing any retro computer logic in a microcontroller. Note that all these have USB interfaces, which may be used for controlling the device from a PC (status
display, loading HEX files to memory etc.). That's what I did in my SDC design.
- Mike Naberezny
- Site Admin
- Posts: 295
- Joined: 30 Aug 2002
- Location: Northern California
- Contact:
Re: emulator performance on embedded cpu
BigEd wrote:
Nearby some 5V tolerant ARM offerings:
You can see a photo of my board below. I've got the MKE06Z128VLD4 soldered to a PA0093 breakout. At almost USD $11, the PA0093 is far too expensive. Next time I'll use a cheap no-name breakout from eBay. There are only a few connections to wire up (5V power, optional external oscillator, debug connector). There's a cross-platform (Eclipse-based) IDE called Kinetis Design Studio. I used it to get started but now I'm just using GCC on the command line. I'm flashing and debugging using a Segger J-Link EDU (non-commerical use only).
- Mike Naberezny (mike@naberezny.com) http://6502.org
Re: emulator performance on embedded cpu
Actual 5V ARM - a good find!