Part of the official Quark firmware for the Agon series of microcomputers
Agon is a modern, fully open-source, 8-bit microcomputer and microcontroller in one small, low-cost board. As a computer, it is a standalone device that requires no host PC: it puts out its own video (VGA), audio (2 identical mono channels), accepts a PS/2 keyboard and has its own mass-storage in the form of a µSD card.
https://www.thebyteattic.com/p/agon.html
The VPD is a serial graphics terminal that takes a BBC Basic text output stream as input. The output is via the VGA connector on the Agon.
It will process any valid BBC Basic VDU commands (starting with a character between 0 and 31).
For example:
VDU 25, mode, x; y;
is the same as PLOT mode, x, y
The ESP32 is programmed via the USB connector at the top of the board using the standard Arduino IDE. I’m currently using version 1.8.19.
In order to add the ESP32 as a supported board in the Arudino IDE, you will need to add in this URL into the board manager:
Select Preferences from the File menu
In the Additional Board Manager URLs text box, enter the following URL:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
In the Board Manager (from the Tools menu), select the esp32 board, making sure version 2.0.4 is installed.
Now the board can be selected and configured:
- Board: “ESP32 Dev Module”
- Upload Speed: “921600”
- CPU Frequency: “240Mhz (WiFi/BT)”
- Flash Frequency: “80Mhz”
- Flash Mode: “QIO”
- Flash Size: “4MB (32Mb)”
- Partition Scheme: “Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- Core Debug Level: “None”
- PSRAM: “Enabled”
Bernado writes:
Although I am using 4MB for the PSRAM coupled to the ESP32 (the FabGL assumption), that memory actually has 8MB, so if you find a way to use the extra 4MB, please change the configuration to 8MB.
And for the Port, you will need to determine the Com port that the Agon Light is assigned from your OS after it is connected.
Now the third party libraries will need to be installed from the Library Manager in the Tools menu
- FabGL version 1.0.8