I had a request for a version of Pico BBC BASIC that used a USB console for program entry and editing, but was still able to display text and graphics on a VGA monitor.
I have implemented an experimental version to do this: bbcbasic_pkv.zip (Zipped UF2 file).
Output is controlled by the *output command:
*output 0 sends output to the USB console
*output 14 sends output to the VGA display
*output 15 sends output to bothe the console and the VGA display
Remember that BBC BASIC implements plotting via VDU commands, so output must be directed to the VGA display in order to run any of the plotting commands. The console driver ignores the plotting commands.
The attached build has no support for UART console, SD card or Sound. This leaves all the Pico pins not used for VGA output free for use. In particular the three ADC pins are free.
The Makefile for this build is in the console/pico_v folder.
I had a request for a version of Pico BBC BASIC that used a USB console for program entry and editing, but was still able to display text and graphics on a VGA monitor.
I have implemented an experimental version to do this: bbcbasic_pkv.zip (Zipped UF2 file).
Output is controlled by the
*output
command:*output 0
sends output to the USB console*output 14
sends output to the VGA display*output 15
sends output to bothe the console and the VGA displayRemember that BBC BASIC implements plotting via VDU commands, so output must be directed to the VGA display in order to run any of the plotting commands. The console driver ignores the plotting commands.
The attached build has no support for UART console, SD card or Sound. This leaves all the Pico pins not used for VGA output free for use. In particular the three ADC pins are free.
The Makefile for this build is in the
console/pico_v
folder.