I, mobluse, started improving FabGL 1.0.9 on July 3 2023 and currently work on NetworkTerminal. I fixed a problem that Telnet reported the wrong number of rows. I got Graphics Controller to work in telnet, which is demoed in the second video. I got the scandinavian characters working in the Norwegian keyboard and added characters to that and to the German keyboard using AltGr and Shift+AltGr. There are still some elusive, keyboard related, bugs that I reported to the main repo, FabGL.
I use a LILYGO TTGO VGA32_V1.4 that costed 156 SEK (including shipping) i.e. about $15 or €15. If you already have a PS/2 keyboard and a PS/2 mouse (or USB devices that work with passive USB to PS/2 adapters) and a VGA screen, this can be a cheap system, and also if you can buy keyboard, mouse, and screen cheaply at e.g. a thrift store.
TeleBASIC with FabGL graphics, sprite, and sound on TTGO VGA32 v1.4 (ESP32) over telnet and WiFi (click for video):
The examples are at https://github.com/mobluse/telehack-basic. Scripts in TeleBASIC for Telehack.com. The scripts, except color.bas, are translations of the scripts of the same name in the file programs.h in MultitaskingCPM in FabGL.
The rest of this page is from the original FabGL 1.0.9.
ESP32 Display Controller (VGA, Color NTSC/PAL Composite, I2C and SPI displays), PS/2 Mouse and Keyboard Controller, Graphics Library, Sound Engine, Graphical User Interface (GUI), Game/Emulation Engine and ANSI/VT Terminal
Please look here for full API documentation
See also my youtube channel where you can find demos and tutorials
You can support development by purchasing my own development board and Serial Terminal. You may also support me donating hardware (boards, lab instruments, etc...).
=================================================================================
License terms:
Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - http://www.fabgl.com
Copyright (c) 2019-2022 Fabrizio Di Vittorio.
All rights reserved.
This library and related software is available under GPL v3.
Please contact fdivitto2013@gmail.com if you need a commercial license.
Please don't remove copyright and/or original author from FabGL examples (ie from screens, dialogs, etc..), even from derived works which use examples as base.
=================================================================================
FabGL is mainly a Graphics Library for ESP32. It implements several display drivers (VGA output, PAL/NTSC Color Composite, I2C and SPI displays). FabGL can also get input from a PS/2 Keyboard and a Mouse. FabGL implements also: an Audio Engine (DAC and Sigma-Delta), a Graphical User Interface (GUI), a Game Engine and an ANSI/VT Terminal.
This library works with ESP32 revision 1 or upper. See Compatible Boards.
VGA output requires a external digital to analog converter (DAC): it can be done by three 270 Ohm resistors to have 8 colors, or by 6 resistors to have 64 colors. Composite output doesn't require external components (maybe a 5Mhz low pass filter).
There are several fixed and variable width fonts embedded.
Unlimited number of sprites are supported. However big sprites and a large amount of them reduces the frame rate and could generate flickering.
When there is enough memory (on low resolutions like 320x200), it is possible to allocate two screen buffers, so to implement double buffering. In this case primitives are always drawn on the back buffer.
Except for double buffering or when explicitly disabled, all drawings are performed on vertical retracing, so no flickering is visible. If the queue of primitives to draw is not processed before the vertical retracing ends, then it is interrupted and continued at next retracing.
There is a graphical user interface (GUI) with overlapping windows and mouse handling and a lot of widgets (buttons, editboxes, checkboxes, comboboxes, listboxes, etc..).
Finally, there is a sound engine, with multiple channels mixed to a mono output. Each channel can generate sine waveforms, square, etc... or custom sampled data.