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 : PicoMite/PicoMiteVGA V5.07.04 release candidate(s)
Page 2 of 3 | |||||
Author | Message | ||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3532 |
Hi Peter, That is what I also understood from the user manual. Hence my question if it is possible to add fractions of ms to the result. Maybe this is not possible, in case the timer is 16 bit and operates at a 1ms tick. But if it runs at higher rate, and you do some math to translate it to ms, than you may remove resolution that I could use. Using pulsein is possible, but it is blocking. Lowest frequency is 1100hz, a pulse is half period is 450us, and the starting edge can be anywhere between 0-900us after starting this command. Worst case the command blocks the program for 1.35ms that is more than 1ms per pixel. So sstv cannot use that approach. Appart from measuring, you also have to calculate the pixel from the data, and put it onscreen. Anyway, thanks for your suggestions, I will have to look into other solutions for the challenge.... Volhout PicomiteVGA PETSCII ROBOTS |
||||
crez Senior Member Joined: 24/10/2012 Location: AustraliaPosts: 152 |
Hi Peter I have noticed the frequency of 'play tone 50,50' drops by about 1% while doing a fair bit of writing to VGA graphics. Is this unavoidable? using V5.07.04RC2 Picomite VGA David Edited 2022-04-24 12:11 by crez |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3532 |
Peter, Is there a simple POKE to make the Period measurement run at a tick of 10us? Something like clock divider that is adapted? I have no idea about the hardware mapping under the hood, but I am currently using GP6 as input. Running the last official release 5.07.03 Thanks in advance for your help, Volhour Edited 2022-04-24 15:54 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8583 |
There is nothing you can peek, prod, or poke to change the behaviour of the system. The period functionality works the same way in all MMbasic variants. To change it to do as you wish would involve a significant re-write which would likely be different for each port. |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3845 |
Hi Peter, On the PicoMiteVGA I had a (possibly false) recollection of you posting that it was possible to use the EDITor with the VGA screen, Mode 2 and Font 8 so we get colours and small font, but I can't make it work or find mention of it in the manual. Did I make it up ? Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3532 |
Actually, with the colour support in mode 1 we should be able to use colour in the editor in mode 1. We can change colour for each block of 2 charaters, but keywords are separated bij a space, s changing colour per 2 character field should work. PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5729 |
I'm sure Peter would let you rewrite the editor display routines to handle that. ;) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8583 |
OPTION DEFAULT MODE 2 OPTION LCDPANEL CONSOLE 8 OPTION COLOURCODE ON |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8583 |
V5.07.04RC3 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Fixes an interaction between setpin FIN/PIN/CIN and PS2 keyboard usage Fixes an interaction between interrupts and error messages Edited 2022-04-28 03:16 by matherp |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3845 |
Thanks Peter, I think I will forgive myself for not remembering. Was there also something about synching with the VGA screen output / "racing the beam" which isn't in the current manual ? Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8583 |
getscanline |
||||
disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 844 |
Peter, The latest updates on github appear to have the updated files uploaded to the root directory rather than under the Picomite sub directory. Gerry Latest F4 Latest H7 |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3845 |
Thank you. Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 329 |
I have tried to colors on the VGA, but w/o success. Tried with 2 different Picos with the same result. /Fred |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8583 |
See the first post on the thread |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 329 |
OPTION COLOUR VGA ON|OFF replaced by OPTION DEFAULT MODE 2|1 solved my problems. Thanks Peter! /Fred |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3532 |
Peter, What is the implemented way to read the PIO fifo's? Do I need to peek a memory adres? Or is there a variable name assigned to each of the 4 fifo's per PIO? Thanks, Volhout Edited 2022-05-02 16:50 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 329 |
OPTION KEYBOARD language: -Several languages are mentioned in the manual for PicoMiteVGA, but not (yet) for "SW" (Nordic/Swedish) keyboards. -For MMB4W the "SW" keyboard was successfully included. -Is there a plan to include the "SW" into PicoMiteVGA? -I have several "SW" PS2 keyboards, but none for the other languages. Started to relabel one of the keyboards, but ">"and "<" were completely missing. /Fred |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3532 |
Peter, Geoff, I noticed that the VGA picomite does not have the option gui controls. Where as the normal picomite has. I understand that the lack of touch and mouse on the VGA picomite may have driven to that decission, but the user manual of the VGA picomite contains some remainders of the CMM2 (graphics pages) and gui commands (search for GUI). Reason I discovered it was that I was developing on the VGA pico for a pico with ILI9341 display. Both feature 320x240 color graphics, so I thought... this is easy. Once you have everything running on the desktop version with SD card and larger screen, just port it to the embedded platform. I still think the gui controls could be a nice addition to the VGA mite, but I will solve it to write my own controls using the normal drawing commands. PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8583 |
PIO READ pio, state_machine, count, data%() |
||||
Page 2 of 3 |
Print this page |