Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 15:09 29 Apr 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 : PicoMite/PicoMiteVGA V5.07.04 release candidate(s)

     Page 2 of 3    
Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3532
Posted: 11:19am 23 Apr 2022
Copy link to clipboard 
Print this post

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: Australia
Posts: 152
Posted: 01:18pm 23 Apr 2022
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 3532
Posted: 05:52am 24 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8583
Posted: 10:17am 24 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3845
Posted: 03:21pm 27 Apr 2022
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 3532
Posted: 03:27pm 27 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 5729
Posted: 03:46pm 27 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8583
Posted: 04:11pm 27 Apr 2022
Copy link to clipboard 
Print this post

  Quote  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 ?

OPTION DEFAULT MODE 2
OPTION LCDPANEL CONSOLE 8
OPTION COLOURCODE ON
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8583
Posted: 05:10pm 27 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3845
Posted: 07:29pm 27 Apr 2022
Copy link to clipboard 
Print this post

Thanks Peter,

  matherp said  OPTION LCDPANEL CONSOLE 8


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 Kingdom
Posts: 8583
Posted: 09:40pm 27 Apr 2022
Copy link to clipboard 
Print this post

  Quote  Was there also something about synching with the VGA screen output / "racing the beam" which isn't in the current manual ?

getscanline
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 01:20am 28 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 3845
Posted: 09:12am 28 Apr 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  Was there also something about synching with the VGA screen output / "racing the beam" which isn't in the current manual ?

getscanline


Thank you.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 329
Posted: 10:33am 29 Apr 2022
Copy link to clipboard 
Print this post


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 Kingdom
Posts: 8583
Posted: 11:00am 29 Apr 2022
Copy link to clipboard 
Print this post

See the first post on the thread
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 329
Posted: 11:30am 29 Apr 2022
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 3532
Posted: 06:49am 02 May 2022
Copy link to clipboard 
Print this post

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: Finland
Posts: 329
Posted: 08:09am 02 May 2022
Copy link to clipboard 
Print this post

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: Netherlands
Posts: 3532
Posted: 04:28pm 07 May 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 8583
Posted: 04:50pm 07 May 2022
Copy link to clipboard 
Print this post

  Quote  What is the implemented way to read the PIO fifo's?


PIO READ pio, state_machine, count, data%()
 
     Page 2 of 3    
Print this page
© JAQ Software 2024