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 : Would SomeBody Try ........
Page 4 of 4 | |||||
Author | Message | ||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 713 |
RPi 400 ...... USB ........ Pico ...... VGA monitor ( known good ) RPi 400 ...... ( keyboard with built in RPi 4 B ) ..... HDMI .......HDMI monitor HDMI monitor shows faulty editor my site |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2141 |
It seems the manual is out of date and OPTION DISPLAY no longer works at all, even after OPTION LCDPANEL NOCONSOLE. OPTION LCDPANEL CONSOLE 2 may be more readable on the VGA screen, but don't know if it will make your terminal any better. |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 713 |
I do not understand why the console screen must use the same format as the display screen .... ( But there are many things I do not understand ) I will wait for a uPython VGA scheme or perhaps BBCBasic ? Evidently something with the RPi decludes the simplicity I want . my site |
||||
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2350 |
hi peter, is there any reason why the editor on the VGA screen can not accept OPTION DISPLAY height, width provided height and width are both equal to or less than the dimensions supported on the VGA screen? if either value were less than, the editor would just need to use a smaller area of the screen. ie, for a 24-line setting the editor would only use lines 9 to 32 on the VGA screen; for a 64-column setting the editor would only use columns 9 to 72 on the VGA screen. no matter what, the editor would still always use from the top left corner on the serial terminal. cheers, rob :-) Edited 2023-03-09 17:25 by robert.rozee |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3817 |
I'm now away but may be able to try it next week - snow allowing. My feeling is it will be to do with the TERM or X settings for your Pi console (the one shown on the HDMI). That is, I think it's nothing to do with the Pico or putty (or screen) but rather your console (terminal window). I use konsole & TERM=xterm or xterm-256color and then all just works. John Edited 2023-03-09 18:02 by JohnS |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4258 |
Hi Hitsware, Is it so hard to set the editor screen on the Pi4 to 80x40 (the terminal) ? When using Putty, the serial terminal automatically adjusts to size required. I feel you are trying to make sure the VGA screen and the terminal on the Pi4 show an identical picture. That will only happen when the terminal screen is adjusted to match the VGA screen. Regards, Volhout PicomiteVGA PETSCII ROBOTS |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2141 |
If I have understood @hitsware2 the VGA screen won't be used for console or editor, just graphic display. If OPTION DISPLAY preceded by OPTION LCDPANEL NOCONSOLE worked as described in the manual it would probably do the job. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9146 |
I will change the firmware so that AFTER you have set OPTION DISPLAY NOCONSOLE you can then set OPTION DISPLAY |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2141 |
Thank you, I think he and perhaps others would appreciate that. |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 713 |
I feel you are trying to make sure the VGA screen and the terminal on the Pi4 show an identical picture. ! N O ! I want to use the screen on the Pi4 to program what appears on the VGA screen . my site |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6818 |
You can write the PicoMite program on the RPi but you can't see its VGA output on the RPi. That has to go to a VGA-compatible display. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9146 |
I don't think any of us really understand what you are trying to achieve. The PicoMiteVGA is basically intended as a stand-alone device with a local keyboard and screen. However, it does also support a remote serial terminal. In this case it expects the terminal to be the same same character resolution as the screen and tries to help with this by sending the terminal the escape sequence that resizes it to match. If they don't match then editing on one or the other will go badly wrong (lines wrapping differently etc.) If you simply want to edit on a remote computer and use the Pico as an intelligent VGA display then if you wait for the next beta this will be easier. Setting NOCONSOLE means that command line I/O and edits and PRINT statements won't appear on the VGA display but all graphics commands (including TEXT) will. After disabling the console you will then, in the next beta, be able to set the terminal size to anything you want with OPTION DISPLAY. |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 713 |
I don't think any of us really understand what you are trying to achieve. Simply to use a VGA monitor in the same way as a LCD display is used with the non-VGA version . I . E ..... circle x , y , r On the PC ...... using the editor ( PC HDMI screen ) ( with same characteristics as non-VGA editor ) draws a circle on the VGA screen ... my site |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6818 |
From power-up: If your terminal is set up correctly you should be seeing the ">" prompt on both your terminal and on the VGA screen. The terminal is seeing the console output, the VGA screen is seeing the Mode 1 graphics screen in command mode. If you now give a simple graphics command like BOX 5,5,30,30 a box will appear on the VGA screen but not on the terminal as that isn't a graphics device. The terminal is sending keystrokes to the PicoMite which is decoding them and treating them in a similar (not identical) way to an attached PS/2 keyboard. The PicoMite does not send any graphics data back to the console. If you press F4 to enter the editor you will get the editor screen on both monitors. If you have OPTION COLOURCODE ON then command words appearing on the VGA monitor only will be in colour. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 713 |
If your terminal is set up correctly you should be seeing the ">" prompt on both your terminal and on the VGA screen. The terminal is seeing the console output, the VGA screen is seeing the Mode 1 graphics screen in command mode. If you now give a simple graphics command like BOX 5,5,30,30 a box will appear on the VGA screen but not on the terminal as that isn't a graphics device. The terminal is sending keystrokes to the PicoMite which is decoding them and treating them in a similar (not identical) way to an attached PS/2 keyboard. The PicoMite does not send any graphics data back to the console. If you press F4 to enter the editor you will get the editor screen on both monitors. If you have OPTION COLOURCODE ON then command words appearing on the VGA monitor only will be in colour. Thank You .... I will wait for the next version and hope the terminal works with it's default settings ( as it does now with the non - VGA version ) Sort of like using only 1 resistor ..... Call me a Purist my site |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6818 |
You can use a PicoMite VGA as its designed to be used, of course. It doesn't need a console terminal at all, just a VGA monitor and a PS/2 keyboard. If you happen to have a console with keyboard (a Raspberry Pi running terminal emulator software for example) connected then you can ignore that display as everything important will happen on the VGA display. The keyboard will act more or less as if it's connected directly to the PicoMite. Basically, it doesn't matter in the least what the console terminal displays, it's irrelevant. I say "more or less" as the terminal keyboard is slower than the PS/2 one. You can't get more pure than leaving the Raspberry Pi out of the loop and using a PS/2 keyboard. :) If you want to program using MMEdit then that's different. It runs on a computer that's connected to the PicoMite and is actually a terminal IDE in its own right. It effectively replaces the editor. Of course, if you wanted to be pure as the driven snow (which we had rather a lot of last night) then Design #3 would be nice, with surplus video resistors omitted if you insist. ;) I am completely unbiased, of course. :) Edited 2023-03-10 19:37 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3817 |
I don't think any of us really understand what you are trying to achieve. Simply to use a VGA monitor in the same way as a LCD display is used with the non-VGA version . I . E ..... circle x , y , r On the PC ...... using the editor ( PC HDMI screen ) ( with same characteristics as non-VGA editor ) draws a circle on the VGA screen ... That works OK for me. I have no idea why it doesn't work OK for you :( Well, I sort of do - it pretty much has to be what I posted before: some setting you have on the Pi4 that's out of step with what you need. Are you running your terminal emulator (putty?) from a "konsole"? What's your TERM setting when you do? John Edited 2023-03-10 22:03 by JohnS |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 713 |
> That works OK for me. On a RPi 4 ? > (putty?) from a "konsole"? SCREEN , but the result is the same with putty > What's your TERM setting when you do? 24 x 80 ( default ) ..... font 16 my site |
||||
Page 4 of 4 |
Print this page |