Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:53 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : VGA _text_mode_ on pico

Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 12:53pm 08 Feb 2022
Copy link to clipboard 
Print this post

browsing around i happened upon the following:
https://opencloudware.com/raspberry-pi-pico-retro-up-with-picovga/
showing the same picture of a pico displaying "Duck on a Pond" in 640x480 VGA that we've all seen before. supposedly just a nice demo, but not much use for anything else...

but following the link to the author's website:
http://www.breatharian.eu/hw/picovga/index_en.html
and the key piece of information in revealed,

"ScreenSegmAText(sSegm* segm, const void* data, const void* font, u16 fontheight, const void* pal, int wb) ... Attribute text (GF_ATEXT). In attribute text, each character is a pair of bytes. The first byte is the ASCII value of the character, the second byte is the color attribute. The higher 4 bits of the attribute represent the background color, the lower 4 bits of the attribute represent the foreground color. The colors are translated from a palette table of 16 colors."

it looks awfully like this gentleman has figured out how to create a genuine text mode, where the frame buffer is a measly 2 x width x height bytes long. this opens up the opportunity to having a text mode that displays in high resolution on a wide-screen monitor without need for a graphics frame buffer. and with more than 80 columns/24 lines     his VGA library also seems to do mixed graphics and text on different areas of the screen (a la Apple II), but that part looks awfully complicated to drive.

he also has a few quite interesting other projects on his website, including a ZX80 work-a-like running on an ATMEGA8 and driving a VGA monitor:
http://www.breatharian.eu/hw/atx80/index_en.html
with just 1k of RAM, the ATMEGA8 is most definitely displaying the video from a text buffer.


cheers,
rob   :-)
Edited 2022-02-08 22:58 by robert.rozee
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 01:36pm 08 Feb 2022
Copy link to clipboard 
Print this post

I like his ZX80 board. Pity the ATmega 8 + crystal + ram chip will probably cost more than a Pico. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5091
Posted: 02:50pm 08 Feb 2022
Copy link to clipboard 
Print this post

The zx81 needs a 168 or 328.
PicomiteVGA PETSCII ROBOTS
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 03:03pm 08 Feb 2022
Copy link to clipboard 
Print this post

  robert.rozee said  browsing around i happened upon the following:
https://opencloudware.com/raspberry-pi-pico-retro-up-with-picovga/ ... following the link to the author's website:
http://www.breatharian.eu/hw/picovga/index_en.html ...

The 40+MB download put me off!!

John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025