Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 05:33 21 May 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 V5.09.00 betas: Sorting out SPRITE and BLIT + USB variants

     Page 9 of 9    
Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3591
Posted: 06:16pm 11 Mar 2024
Copy link to clipboard 
Print this post

@Peter,

V050900b6:
If I have a "CSUB name" in the main program, I cannot retrieve the start address with

address%=PEEK(CFUNADDR name).

This works okay in V050800

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8609
Posted: 08:57am 12 Mar 2024
Copy link to clipboard 
Print this post

Thanks - omission in the move to 16-bit command tokens - will fix
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3591
Posted: 09:50am 12 Mar 2024
Copy link to clipboard 
Print this post

Ahaaaaaa,

You where tired of the 127+127 limit for commands/functions. Constantly squeezing, and packing functionality where it did not exactly fit...

Good move, maybe you could ask Tom to run the automatic test sequence again to see if there are more places in the code where the change corrupted previous functionality.

Regards,

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8609
Posted: 10:10am 12 Mar 2024
Copy link to clipboard 
Print this post

The test code was run before I posted b6 but it didn't pick up a couple of things including this one and the comment bug. It is only the commands that are 16-bit, functions/operators are a whole different ballgame
Edited 2024-03-12 20:33 by matherp
 
okwatts
Regular Member

Joined: 27/09/2022
Location: Canada
Posts: 52
Posted: 04:26pm 16 Mar 2024
Copy link to clipboard 
Print this post

I have been playing with one of the PicoVGAUSB 1.0 boards from lizby and have been trying keyboards, game controllers etc. I loaded a few of my older programs and most work just fine under beta3. Finally got a male A to Male A USB cable and upgraded to beta6. One of my test programs now fails with a complaint about 0 being invalid in a string print statement (line with "printit"). I enclose the program for testing by others.

mmandel2.zip
Edit: I realize this is an older version which runs fine on 5.08 but has extra spaces at the beginning of comment lines which is a known issue in beta6. If edited it still causes a problem in the string index though.
Edited 2024-03-17 02:28 by okwatts
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8609
Posted: 04:36pm 16 Mar 2024
Copy link to clipboard 
Print this post

okwatts

I'm away from home at the moment so can't do a proper release but this works for me


PicoMiteVGAUSB.zip


Please confirm
Edited 2024-03-17 02:37 by matherp
 
okwatts
Regular Member

Joined: 27/09/2022
Location: Canada
Posts: 52
Posted: 05:35pm 16 Mar 2024
Copy link to clipboard 
Print this post

Yes that works, Thanks Peter.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3591
Posted: 12:37pm 20 Mar 2024
Copy link to clipboard 
Print this post

@Peter,

Suggestion: MASK the kHz in OPTION CPUSPEED XXXXXX.
I tried OPTION CPUSPEED 131072 to be able to run PIO outputting exactly 32.768MHz (yes: MHz) for an FPGA.
This bricks the pico (no CDC connection anymore), and you need to nuke flash.
Apparently not all CPU speeds result in a working USB interface.

Regards,

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8609
Posted: 05:38pm 23 Mar 2024
Copy link to clipboard 
Print this post

  Quote  
Suggestion: MASK the kHz in OPTION CPUSPEED XXXXXX.


That doesn't work as some values are invalid (e.g.301MHz). I'll put a proper validation into the next beta
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 414
Posted: 06:11pm 23 Mar 2024
Copy link to clipboard 
Print this post

Hi Peter,
If you add some CPU speed validation, please don't rule out 378Mhz as all of my Picomites will run at this speed quite happily, I only have one Picomite LCD that tops out at 376Mhz, I am currently able to run both my VGA Picos (a standard one I built & the USB version I got from you) reliably at 378Mhz by hacking the saved options file.
Regards Kevin.
 
     Page 9 of 9    
Print this page


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

© JAQ Software 2024