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 1 of 3 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
V5.07.04RC1 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip This brings together the minor 5.07.04 beta changes on the PicoMite thread and the major changes in the colour handling thread on the PicoMiteVGA This version will reset all flash and options so backup as required before loading Edited 2022-04-06 19:59 by matherp |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
IGNORE for the moment - error in upload |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
Should be OK to download now |
||||
Rickard5 Guru Joined: 31/03/2022 Location: United StatesPosts: 328 |
matherp, OK Here is the Dummest STFF question You will get all day, but is the uf2 file I've been using to play with Picomite while I'm waiting to Build my Picomite VGA 1.3 Board (Waiting on parts from Newerk) the same as the Picomite VGA uf3 file ? I turned the volume on the monitor to max and could hear sound. Thanks Stanleyella |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
No, there are two uf2 files in the download appropriately named |
||||
led-bloon Senior Member Joined: 21/12/2014 Location: AustraliaPosts: 202 |
@matherp Unable to build the code on github as MAXRESTORE is not defined anywhere. (temporarily placed #define MAXRESTORE 100 in Commands.h and all compiled OK) For interest: README for PicoMite VGA Edition still states PicoMiteVGA V5.07.03b3. Maybe remove this completely and rely on the main PicoMite README for version? led Miss you George |
||||
Rickard5 Guru Joined: 31/03/2022 Location: United StatesPosts: 328 |
Cool Thanks I turned the volume on the monitor to max and could hear sound. Thanks Stanleyella |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
V5.07.04RC2 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Fixes bug where the system would lock up on booting if OPTION RTC AUTO was enabled but the RTC was missing. Now a warning will be printed and the option disabled. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5645 |
That's a nice solution. Thanks, Peter. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
BishopXXL Newbie Joined: 13/01/2019 Location: GermanyPosts: 17 |
Hi Peter, I think there is still the older version RC1 from 06.04 |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
Should be OK now |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
I've just updated RC2 to fix a tiny bug Jim found in MM.INFO(FILESIZE Same bug was also in MM.INFO(MODIFIED No version change as it was just removing a spurious error check from a cut-and-paste |
||||
led-bloon Senior Member Joined: 21/12/2014 Location: AustraliaPosts: 202 |
@matherp V5.07.04RC2 (PicoMiteVGA) Font problems when doing certain tasks: Mode 1 has the default font of 1 - ok Change to mode 2 and font defaults to 1 - ok but BIG font for screen Change to font 7 - ok font now reasonable for screen Proceed into the editor and font reverts back to 1 Exit editor, font remains at 1 Now change font back to 7 - ok Type 'new' (program in memory or not) and font reverts to 1! Run any program and font reverts to 1. led Miss you George |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3807 |
Hi Peter, Is it possible for the PicoMite VGA to support KEYDOWN() on its PS/2 keyboard ? I think it's a pre-requisite to support multiple players on a single keyboard, unless there is another way I don't know about ? EDIT: Actually turns out I'm not that bothered, you can pick-up multiple keys being pressed consecutively but not released (subject to how naff your keyboard matrix is) by using INKEY$ and/or ON KEY - you just can't tell when they are released, which for my current use-case I don't think I need. Best wishes, Tom Edited 2022-04-22 00:41 by thwill Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3422 |
Dear Peter, Can I ask for one modification to the picomite software. Setpin xx, PIN measures period of the input signal. Based on the execution time of the associated value reading a=pin(xx) I assume this is reading the value from a hardware timer, and converting it to a value in ms. The request is: can this value be a float, not an integer ? For the programming challenge I am reading input signal in the range of 1200Hz....1900Hz and want to distinguish between them. The FIN function cannot do it becuase it uses minimal 10ms. And the PIN function response is an integer in ms. If it was a float that would not disconnect with earlier MMBasic implementations, but add the functionality I need. Regards, Volhout Edited 2022-04-23 05:22 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 1721 |
Would it be possible to adapt Peter's Pico CSUB LOG to do this? It records durations in uS. PS. CSUB LOG fills an array and generates a software interrupt. Rather than using a interrupt subroutine I use a DO loop to test for a change in the last element of the array. The reason for this is I found no way out of the interrupt subroutine other than ending the program from within the sub (as Peter does in his example program). When using LOG to measure the period of a cycle I get consistently accurate results when using the interval between falling edges. When using the rising edges there are occasional glitches of up to 16uS. Edited 2022-04-23 14:24 by phil99 |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3422 |
Hi Phil99, Maybe Csub log van be used but I may not have the time to do iT. Let me explain. I am investigating SSTV. Video pixels are sent over an audio channel. Similar to fax. In color sstv you have 1ms per pixel. The PIN mode readout is 0.04ms (het data from timer register). On the VGA pico painting a pixel is fast (not on the pico with LCD). So the minimal math required and the timing overhead could " just " make iT possible. May need CPU overclocking. But I need a readout of the fractions of ms from the period measurement. FYi the period measurement is non blocking, iT just returns the last value seen. And that is exactly what I need. PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
PIN is just the inverse of FIN. It does return a float but as per the manual What about using PULSIN? Edited 2022-04-23 17:13 by matherp |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 3422 |
Peter, Please advise. I apply a frequency of 1900Hz. 0.5ms. When I read the period of the pin every 2ms, then I would get the value of 0.5 each time I guess? Even if I read the value into pre defined float, I get 1 or 0 reading. What is going wrong.? Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8516 |
The PIN command is only accurate to the millisecond as specified Same as every other MMbasic port and the original MM2 Pulsin is accurate to the microsecond |
||||
Page 1 of 3 |
Print this page |