Commander X16 on Teensy 4.0 and 320x240 LCD

gertk

New Member
Oct 7, 2019
4
9
3
Hi,
Just toying around with the modified X16 emu code on the Teensy 4.0 and a SPI 320x240 LCD screen.

So far I have the 65(C)02 emulator running and I have implemented VERA text mode.
Basic is working already, no LOAD and SAVE yet.
All rom banks are available, since RAM memory is limited on the Teensy I settled for 256k HIGH RAM for now.

Keyboard is USB and it is inserting characters into the X16 input buffer.

A screenshot (colors are OK in real life):

photo_2019-10-08_01-03-02.jpg
Next step is implementing the other VERA functions

Gert
 

Swift34

New Member
Oct 2, 2019
5
0
1
VA, US
Hi,
Just toying around with the modified X16 emu code on the Teensy 4.0 and a SPI 320x240 LCD screen.

So far I have the 65(C)02 emulator running and I have implemented VERA text mode.
Basic is working already, no LOAD and SAVE yet.
All rom banks are available, since RAM memory is limited on the Teensy I settled for 256k HIGH RAM for now.

Keyboard is USB and it is inserting characters into the X16 input buffer.


Gert
Wow...I likey...I have a few teensy's...and have done just a few simple things...I don't have a 4.0, but I do have a 3.5 would the emulator fit on one of those?

Very impressive...thank you!
 

gertk

New Member
Oct 7, 2019
4
9
3
The new Teensy 4.0 is miles ahead of any other microcontroller board, it runs @600 MHz and has 1 MB RAM and 2 MB flash onboard, all on a 30x18 mm footprint and it uses about 100mA max.

The Teensy 3.5 has 256k and that is not even enough (at the moment) to run the emulator let alone the extra RAM banks of the X16.
The code is quite rough since it is based on the available X16 emu sources on GitHub. I already trimmed the code down a bit but the emulated framebuffer for VERA takes already 128kB. Most of the fixed stuff like tables and ROM's are already placed in Flash still all the libraries and variables take up more than 200kB..
 
  • Like
Reactions: Swift34