Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:41 26 Nov 2024 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 : a couple of notes regarding picomite VGA

Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 01:51pm 30 Dec 2023
Copy link to clipboard 
Print this post

just had occasion to get a picomite set up to output VGA, and was pleasantly surprised at how easy it was. i did, however strike a small oddity when experimenting with
OPTION LCDPANEL CONSOLE font

it appears that if you select font #5 or #6, ie type:
OPTION LCDPANEL CONSOLE 5
or
OPTION LCDPANEL CONSOLE 6
you can not change the font again. the only thing that works is:
OPTION RESET

i suspect it is something to do with the VGA screen's width (with font #5 or #6 selected) being too narrow to allow entering the full command. but this is of little consolation when you get stuck!


btw, i see that when VGA output is enabled OPTION DISPLAY lines [,chars] is disabled. it would be rather handy if, at least, OPTION DISPLAY lines was allowed, provided that the number of lines specified was less than or equal to the number of lines available on the VGA with the currently selected font. the editor could then be limited to just using the number of lines specified. useful when running both a 80x24 terminal emulator and VGA screen at the same time.

a 8x16 font would also be rather handy, allowing a 80 column by 30 line display. an 8x20 font would allow 80x24. the reason: 40 lines is way too much on a tiny (7") 16:9 widescreen monitor.


cheers,
rob   :-)
 
pwillard
Senior Member

Joined: 07/06/2022
Location: United States
Posts: 292
Posted: 05:11pm 30 Dec 2023
Copy link to clipboard 
Print this post

It confuses me that you are using OPTION LCDPANEL CONSOLE when the output device is not an LCD but is a VGA display.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 09:05pm 30 Dec 2023
Copy link to clipboard 
Print this post

  pwillard said  OPTION LCDPANEL CONSOLE when the output device is not an LCD but is a VGA display.
The Option existed long before VGA output and was retained as it still does the same thing.

  robert.rozee said  when running both a 80x24 terminal emulator and VGA screen at the same time.

OPTION LCDPANEL NOCONSOLE allows you to have OPTION DISPLAY lines [,chars].
  Quote  This will disable the console output to the VGA display.
If used at the command prompt this option is permanent, both print output
and console output will be disabled and only graphics commands will
output to the VGA screen
If used in a program this is a temporary option (useful for debugging
graphical programs with a USB/serial console) and disables PRINT output
to the VGA display. Graphics commands will continue to work.

OPTION RESET isn't too painful if you keep older .ODF files with standard Options.
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 04:38am 31 Dec 2023
Copy link to clipboard 
Print this post

  pwillard said  It confuses me that you are using OPTION LCDPANEL CONSOLE when the output device is not an LCD but is a VGA display.


there appears (from the 5.07.07 manual) that there is no OPTION VGA .... i agree, OPTION LCDPANEL ... is both confusing and ungainly. but that can be said of much of OPTION ..., MM.INFO(...), and MM.INFO$(...). these commands and functions have been added to piecemeal over a number of years.

i guess my main point is that, for a beginner, it is easy to type:
OPTION LCDPANEL CONSOLE 5
or
OPTION LCDPANEL CONSOLE 6
into your brand new picomite VGA, and if you don't know about OPTION RESET effectively brick it. especially true if you have already set up keyboard and sd card configuration which will all be cleared by OPTION RESET.

simple solution would be to lock out fonts #5 and #6 from being selected at the prompt. or to bite the bullet and move all persistant options into a config.ini file on the internal flash drive.


cheers,
rob   :-)
Edited 2023-12-31 14:39 by robert.rozee
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 06:36am 31 Dec 2023
Copy link to clipboard 
Print this post

why not just use Mode 1 and Mode 2 on PicomiteVGA
without the options?
I just use OPTION LCDPANEL NOCONSOLE, if I want to Monitor things via the Terminal without writing it to vgaMonitor.
Edited 2023-12-31 18:18 by Martin H.
'no comment
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6792
Posted: 09:58am 31 Dec 2023
Copy link to clipboard 
Print this post

I've never found the need for OPTION LCDPANEL CONSOLE. All my crashes are good, well-behaved ones. ;)
Mick

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

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 10:00am 31 Dec 2023
Copy link to clipboard 
Print this post

  robert.rozee said  i guess my main point is that, for a beginner, it is easy to type:
OPTION LCDPANEL CONSOLE 5
or
OPTION LCDPANEL CONSOLE 6
into your brand new picomite VGA, and if you don't know about OPTION RESET effectively brick it

Even then they can just load Clear_Flash.uf2

(Or ask on TBS...)

John
 
Print this page


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

© JAQ Software 2024