Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:17 12 May 2025 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.03 release candidates

     Page 3 of 9    
Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2401
Posted: 05:14pm 03 Jan 2022
Copy link to clipboard 
Print this post

that seems to have fixed it, tested on an 82k basic file.

the stuttering i was seeing before consisted of random pauses of up to 360ms.

with the version you just posted, pauses greater than 10ms are ALL between 37ms and 40ms. there is no longer any visible stuttering  

for an MX170: pauses greater than 10ms are all between 20ms and 40ms.


cheers,
rob   :-)
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10068
Posted: 05:15pm 03 Jan 2022
Copy link to clipboard 
Print this post

  Quote  I tried the new zip, but no success.


Not related to your issue. One possible cause is duplicate function or subroutine names
 
wolfme
Newbie

Joined: 26/10/2021
Location: Germany
Posts: 31
Posted: 05:21pm 03 Jan 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  I tried the new zip, but no success.


Not related to your issue. One possible cause is duplicate function or subroutine names


ok, thanks, i've checked that again. No duplicates.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10068
Posted: 05:27pm 03 Jan 2022
Copy link to clipboard 
Print this post

Please post your file and I'll try it
 
wolfme
Newbie

Joined: 26/10/2021
Location: Germany
Posts: 31
Posted: 05:38pm 03 Jan 2022
Copy link to clipboard 
Print this post

  matherp said  Please post your file and I'll try it


i think i have figured it out:

I use more than 255 labels to jump the read command to the correct data line with restore <label> like this:


_H01:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H01
_H02:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H02
_H03:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H03
_H04:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H04
_H05:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H05
_H06:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H06
_H07:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H07
_H08:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H08
_H09:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H09
_H0A:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0A
_H0B:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0B
_H0C:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0C
_H0D:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0D
_H0E:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0E
_H0F:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0F
_H10:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H10
_H11:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H11
_H12:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H12
_H13:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H13
_H14:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H14
_H15:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H15
_H16:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H16
_H17:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H17
_H18:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H18
_H19:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H19
_H1A:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1A
_H1B:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1B
_H1C:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1C
_H1D:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1D
_H1E:  Data 6, &H0F,&H02,&H94,&HDF,&HB0,&H90 ' &H1E NZ Sign
_H1F:  Data 6, &H00,&H08,&H9F,&HD1,&HB0,&H90 ' &H1F SZ Sign
_H20:  Data 4, &H00,&H00,&H00,&H00           ' &H20 space
_H21:  Data 5, &H00,&H06,&H5F,&H06,&H00      ' &H21 !
_H22:  Data 6, &H00,&H07,&H03,&H00,&H07,&H03 ' &H22 "
_H23:  Data 6, &H00,&H24,&H7E,&H24,&H7E,&H24 ' &H23 #
_H24:  Data 6, &H00,&H24,&H2B,&H6A,&H12,&H00 ' &H24 $
_H25:  Data 6, &H00,&H63,&H13,&H08,&H64,&H63 ' &H25 %
_H26:  Data 6, &H00,&H36,&H49,&H56,&H20,&H50 ' &H26 &
_H27:  Data 4, &H00,&H07,&H03,&H00           ' &H27 '
_H28:  Data 4, &H00,&H3E,&H41,&H00           ' &H28 (
_H29:  Data 4, &H00,&H41,&H3E,&H00           ' &H29 )
_H2A:  Data 6, &H00,&H08,&H3E,&H1C,&H3E,&H08 ' &H2A *
_H2B:  Data 6, &H00,&H08,&H08,&H3E,&H08,&H08 ' &H2B +

...

...

_HFF:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &HFF


In RC1 this worked, in RC6 not.
If i read all this data into an array, then it works.
 
wolfme
Newbie

Joined: 26/10/2021
Location: Germany
Posts: 31
Posted: 05:47pm 03 Jan 2022
Copy link to clipboard 
Print this post

reducing labels works...
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10068
Posted: 06:13pm 03 Jan 2022
Copy link to clipboard 
Print this post

  Quote  reducing labels works...


I've put labels into a hash table from RC5. Previously they were very inefficient - sequential search through the code. There is now a limit of a total of 192 labels and subroutines/functions. I perhaps should have mentioned this

However, Filling the table should not die in such a bad way. Please post your full list of labels and data so I can use it to fix the code to die more gracefully.

Thanks
 
wolfme
Newbie

Joined: 26/10/2021
Location: Germany
Posts: 31
Posted: 06:24pm 03 Jan 2022
Copy link to clipboard 
Print this post

  matherp said  
  Quote  reducing labels works...


I've put labels into a hash table from RC5. Previously they were very inefficient - sequential search through the code. There is now a limit of a total of 192 labels and subroutines/functions. I perhaps should have mentioned this

However, Filling the table should not die in such a bad way. Please post your full list of labels and data so I can use it to fix the code to die more gracefully.

Thanks


oh, ok.

Here we go :

'June / december solistic
'Sommer- / Wintersonnwende 2020 - 2149

_solistic:
Data 2020,20,21,2021,21,21,2022,21,21,2023,21,22,2024,20,21,2025,21,21,2026,21,21,2027,21,22,2028,20,21,2029,21,21
Data 2030,21,21,2031,21,22,2032,20,21,2033,21,21,2034,21,21,2035,21,22,2036,20,21,2037,21,21,2038,21,21,2039,21,22
Data 2040,20,21,2041,21,21,2042,21,21,2043,21,22,2044,20,21,2045,21,21,2046,21,21,2047,21,22,2048,20,21,2049,20,21
Data 2050,21,21,2051,21,21,2052,20,21,2053,20,21,2054,21,21,2055,21,21,2056,20,21,2057,20,21,2058,21,21,2059,21,21
Data 2060,20,21,2061,20,21,2062,21,21,2063,21,21,2064,20,21,2065,20,21,2066,21,21,2067,21,21,2068,20,21,2069,20,21
Data 2070,21,21,2071,21,21,2072,20,21,2073,20,21,2074,21,21,2075,21,21,2076,20,21,2077,20,21,2078,20,21,2079,21,21
Data 2080,20,21,2081,20,21,2082,20,21,2083,21,21,2084,20,20,2085,20,21,2086,20,21,2087,21,21,2088,20,20,2089,20,21
Data 2090,20,21,2091,21,21,2092,20,20,2093,20,21,2094,20,21,2095,21,21,2096,20,20,2097,20,21,2098,20,21,2099,21,21
Data 2100,21,21,2101,21,22,2102,21,22,2103,22,22,2104,21,21,2105,21,22,2106,21,22,2107,22,22,2108,21,21,2109,21,22
Data 2110,21,22,2111,21,22,2112,21,21,2113,21,22,2114,21,22,2115,21,22,2116,21,21,2117,21,22,2118,21,22,2119,21,22
Data 2120,21,21,2121,21,21,2122,21,22,2123,21,22,2124,21,21,2125,21,21,2126,21,22,2127,21,22,2128,21,21,2129,21,21
Data 2130,21,22,2131,21,22,2132,21,21,2133,21,21,2134,21,22,2135,21,22,2136,21,21,2137,21,21,2138,21,22,2139,21,22
Data 2140,20,21,2141,21,21,2142,21,22,2143,21,22,2144,20,21,2145,21,21,2146,21,22,2147,21,22,2148,20,21,2149,21,21

_H01:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H01
_H02:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H02
_H03:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H03
_H04:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H04
_H05:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H05
_H06:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H06
_H07:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H07
_H08:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H08
_H09:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H09
_H0A:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0A
_H0B:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0B
_H0C:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0C
_H0D:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0D
_H0E:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0E
_H0F:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H0F
_H10:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H10
_H11:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H11
_H12:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H12
_H13:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H13
_H14:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H14
_H15:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H15
_H16:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H16
_H17:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H17
_H18:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H18
_H19:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H19
_H1A:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1A
_H1B:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1B
_H1C:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1C
_H1D:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &H1D
_H1E:  Data 6, &H0F,&H02,&H94,&HDF,&HB0,&H90 ' &H1E NZ Sign
_H1F:  Data 6, &H00,&H08,&H9F,&HD1,&HB0,&H90 ' &H1F SZ Sign
_H20:  Data 4, &H00,&H00,&H00,&H00           ' &H20 space
_H21:  Data 5, &H00,&H06,&H5F,&H06,&H00      ' &H21 !
_H22:  Data 6, &H00,&H07,&H03,&H00,&H07,&H03 ' &H22 "
_H23:  Data 6, &H00,&H24,&H7E,&H24,&H7E,&H24 ' &H23 #
_H24:  Data 6, &H00,&H24,&H2B,&H6A,&H12,&H00 ' &H24 $
_H25:  Data 6, &H00,&H63,&H13,&H08,&H64,&H63 ' &H25 %
_H26:  Data 6, &H00,&H36,&H49,&H56,&H20,&H50 ' &H26 &
_H27:  Data 4, &H00,&H07,&H03,&H00           ' &H27 '
_H28:  Data 4, &H00,&H3E,&H41,&H00           ' &H28 (
_H29:  Data 4, &H00,&H41,&H3E,&H00           ' &H29 )
_H2A:  Data 6, &H00,&H08,&H3E,&H1C,&H3E,&H08 ' &H2A *
_H2B:  Data 6, &H00,&H08,&H08,&H3E,&H08,&H08 ' &H2B +
_H2C:  Data 4, &H00,&H60,&HE0,&H00           ' &H2C ,
_H2D:  Data 6, &H00,&H08,&H08,&H08,&H08,&H08 ' &H2D -
_H2E:  Data 4, &H00,&H60,&H60,&H00           ' &H2E .
_H2F:  Data 6, &H00,&H20,&H10,&H08,&H04,&H02 ' &H2F /
_H30:  Data 6, &H00,&H3E,&H51,&H49,&H45,&H3E ' &H30 0
_H31:  Data 6, &H00,&H00,&H42,&H7F,&H40,&H00 ' &H31 1
_H32:  Data 6, &H00,&H62,&H51,&H49,&H49,&H46 ' &H32 2
_H33:  Data 6, &H00,&H22,&H49,&H49,&H49,&H36 ' &H33 3
_H34:  Data 6, &H00,&H18,&H14,&H12,&H7F,&H10 ' &H34 4
_H35:  Data 6, &H00,&H2F,&H49,&H49,&H49,&H31 ' &H35 5
_H36:  Data 6, &H00,&H3C,&H4A,&H49,&H49,&H30 ' &H36 6
_H37:  Data 6, &H00,&H01,&H71,&H09,&H05,&H03 ' &H37 7
_H38:  Data 6, &H00,&H36,&H49,&H49,&H49,&H36 ' &H38 8
_H39:  Data 6, &H00,&H06,&H49,&H49,&H29,&H1E ' &H39 9
_H3A:  Data 4, &H00,&H6C,&H6C,&H00           ' &H3A :
_H3B:  Data 4, &H00,&HEC,&H6C,&H00           ' &H3B ;
_H3C:  Data 6, &H00,&H08,&H14,&H22,&H41,&H00 ' &H3C <
_H3D:  Data 6, &H00,&H24,&H24,&H24,&H24,&H24 ' &H3D =
_H3E:  Data 5, &H00,&H41,&H22,&H14,&H08      ' &H3E >
_H3F:  Data 6, &H00,&H02,&H01,&H59,&H09,&H06 ' &H3F ?
_H40:  Data 6, &H00,&H3E,&H41,&H5D,&H55,&H1E ' &H40 @
_H41:  Data 6, &H00,&H7E,&H11,&H11,&H11,&H7E ' &H41 A
_H42:  Data 6, &H00,&H7F,&H49,&H49,&H49,&H36 ' &H42 B
_H43:  Data 6, &H00,&H3E,&H41,&H41,&H41,&H22 ' &H43 C
_H44:  Data 6, &H00,&H7F,&H41,&H41,&H41,&H3E ' &H44 D
_H45:  Data 6, &H00,&H7F,&H49,&H49,&H49,&H41 ' &H45 E
_H46:  Data 6, &H00,&H7F,&H09,&H09,&H09,&H01 ' &H46 F
_H47:  Data 6, &H00,&H3E,&H41,&H49,&H49,&H7A ' &H47 G
_H48:  Data 6, &H00,&H7F,&H08,&H08,&H08,&H7F ' &H48 H
_H49:  Data 5, &H00,&H41,&H7F,&H41,&H00      ' &H49 I
_H4A:  Data 6, &H00,&H30,&H40,&H40,&H40,&H3F ' &H4A J
_H4B:  Data 6, &H00,&H7F,&H08,&H14,&H22,&H41 ' &H4B K
_H4C:  Data 6, &H00,&H7F,&H40,&H40,&H40,&H40 ' &H4C L
_H4D:  Data 6, &H00,&H7F,&H02,&H04,&H02,&H7F ' &H4D M
_H4E:  Data 6, &H00,&H7F,&H02,&H04,&H08,&H7F ' &H4E N
_H4F:  Data 6, &H00,&H3E,&H41,&H41,&H41,&H3E ' &H4F O
_H50:  Data 6, &H00,&H7F,&H09,&H09,&H09,&H06 ' &H50 P
_H51:  Data 6, &H00,&H3E,&H41,&H51,&H21,&H5E ' &H51 Q
_H52:  Data 6, &H00,&H7F,&H09,&H09,&H19,&H66 ' &H52 R
_H53:  Data 6, &H00,&H26,&H49,&H49,&H49,&H32 ' &H53 S
_H54:  Data 6, &H00,&H01,&H01,&H7F,&H01,&H01 ' &H54 T
_H55:  Data 6, &H00,&H3F,&H40,&H40,&H40,&H3F ' &H55 U
_H56:  Data 6, &H00,&H1F,&H20,&H40,&H20,&H1F ' &H56 V
_H57:  Data 6, &H00,&H3F,&H40,&H3C,&H40,&H3F ' &H57 W
_H58:  Data 6, &H00,&H63,&H14,&H08,&H14,&H63 ' &H58 X
_H59:  Data 6, &H00,&H07,&H08,&H70,&H08,&H07 ' &H59 Y
_H5A:  Data 6, &H00,&H71,&H49,&H45,&H43,&H00 ' &H5A Z
_H5B:  Data 5, &H00,&H7F,&H41,&H41,&H00      ' &H5B [
_H5C:  Data 6, &H00,&H02,&H04,&H08,&H10,&H20 ' &H5C \
_H5D:  Data 5, &H00,&H41,&H41,&H7F,&H00      ' &H5D ]
_H5E:  Data 6, &H00,&H04,&H02,&H01,&H02,&H04 ' &H5E ^
_H5F:  Data 6, &H80,&H80,&H80,&H80,&H80,&H80 ' &H5F _
_H60:  Data 4, &H00,&H03,&H07,&H00           ' &H60 `
_H61:  Data 6, &H00,&H20,&H54,&H54,&H54,&H78 ' &H61 a
_H62:  Data 6, &H00,&H7F,&H44,&H44,&H44,&H38 ' &H62 b
_H63:  Data 6, &H00,&H38,&H44,&H44,&H44,&H28 ' &H63 c
_H64:  Data 6, &H00,&H38,&H44,&H44,&H44,&H7F ' &H64 d
_H65:  Data 6, &H00,&H38,&H54,&H54,&H54,&H08 ' &H65 e
_H66:  Data 6, &H00,&H08,&H7E,&H09,&H09,&H00 ' &H66 f
_H67:  Data 6, &H00,&H18,&HA4,&HA4,&HA4,&H7C ' &H67 g
_H68:  Data 6, &H00,&H7F,&H04,&H04,&H78,&H00 ' &H68 h
_H69:  Data 4, &H00,&H7D,&H40,&H00           ' &H69 i
_H6A:  Data 6, &H00,&H40,&H80,&H84,&H7D,&H00 ' &H6A j
_H6B:  Data 6, &H00,&H7F,&H10,&H28,&H44,&H00 ' &H6B k
_H6C:  Data 5, &H00,&H00,&H7F,&H40,&H00      ' &H6C l
_H6D:  Data 6, &H00,&H7C,&H04,&H18,&H04,&H78 ' &H6D m
_H6E:  Data 6, &H00,&H7C,&H04,&H04,&H78,&H00 ' &H6E n
_H6F:  Data 6, &H00,&H38,&H44,&H44,&H44,&H38 ' &H6F o
_H70:  Data 6, &H00,&HFC,&H44,&H44,&H44,&H38 ' &H70 p
_H71:  Data 6, &H00,&H38,&H44,&H44,&H44,&HFC ' &H71 q
_H72:  Data 6, &H00,&H44,&H78,&H44,&H04,&H08 ' &H72 r
_H73:  Data 6, &H00,&H08,&H54,&H54,&H54,&H20 ' &H73 s
_H74:  Data 6, &H00,&H04,&H3E,&H44,&H24,&H00 ' &H74 t
_H75:  Data 6, &H00,&H3C,&H40,&H20,&H7C,&H00 ' &H75 u
_H76:  Data 6, &H00,&H1C,&H20,&H40,&H20,&H1C ' &H76 v
_H77:  Data 6, &H00,&H3C,&H60,&H30,&H60,&H3C ' &H77 w
_H78:  Data 6, &H00,&H6C,&H10,&H10,&H6C,&H00 ' &H78 x
_H79:  Data 6, &H00,&H9C,&HA0,&H60,&H3C,&H00 ' &H79 y
_H7A:  Data 6, &H00,&H64,&H54,&H54,&H4C,&H00 ' &H7A z
_H7B:  Data 6, &H00,&H08,&H3E,&H41,&H41,&H00 ' &H7B {
_H7C:  Data 4, &H00,&H00,&H77,&H00           ' &H7C |
_H7D:  Data 5, &H00,&H41,&H41,&H3E,&H08      ' &H7D }
_H7E:  Data 6, &H00,&H02,&H01,&H02,&H01,&H00 ' &H7E
_H7F:  Data 6, &H00,&H3C,&H26,&H23,&H26,&H3C ' &H7F
_H80:  Data 6, &H00,&H1E,&HA1,&HE1,&H21,&H12 ' &H80
_H81:  Data 6, &H00,&H3D,&H40,&H20,&H7D,&H00 ' &H81
_H82:  Data 6, &H00,&H38,&H54,&H54,&H55,&H09 ' &H82
_H83:  Data 6, &H00,&H20,&H55,&H55,&H55,&H78 ' &H83
_H84:  Data 6, &H00,&H20,&H55,&H54,&H55,&H78 ' &H84
_H85:  Data 6, &H00,&H20,&H55,&H55,&H54,&H78 ' &H85
_H86:  Data 6, &H00,&H20,&H57,&H55,&H57,&H78 ' &H86
_H87:  Data 6, &H00,&H1C,&HA2,&HE2,&H22,&H14 ' &H87
_H88:  Data 6, &H00,&H38,&H55,&H55,&H55,&H08 ' &H88
_H89:  Data 6, &H00,&H38,&H55,&H54,&H55,&H08 ' &H89
_H8A:  Data 6, &H00,&H38,&H55,&H55,&H54,&H08 ' &H8A
_H8B:  Data 5, &H00,&H01,&H7C,&H41,&H00      ' &H8B
_H8C:  Data 5, &H00,&H01,&H7D,&H41,&H00      ' &H8C
_H8D:  Data 5, &H00,&H01,&H7C,&H40,&H00      ' &H8D
_H8E:  Data 6, &H00,&H70,&H29,&H24,&H29,&H70 ' &H8E
_H8F:  Data 6, &H00,&H78,&H2F,&H25,&H2F,&H78 ' &H8F
_H90:  Data 6, &H00,&H7C,&H54,&H54,&H55,&H45 ' &H90
_H91:  Data 6, &H00,&H34,&H54,&H7C,&H54,&H58 ' &H91
_H92:  Data 6, &H00,&H7E,&H09,&H7F,&H49,&H49 ' &H92
_H93:  Data 6, &H00,&H38,&H45,&H45,&H39,&H00 ' &H93
_H94:  Data 6, &H00,&H38,&H45,&H44,&H39,&H00 ' &H94
_H95:  Data 6, &H00,&H39,&H45,&H44,&H38,&H00 ' &H95
_H96:  Data 6, &H00,&H3C,&H41,&H21,&H7D,&H00 ' &H96
_H97:  Data 6, &H00,&H3D,&H41,&H20,&H7C,&H00 ' &H97
_H98:  Data 6, &H00,&H9C,&HA1,&H60,&H3D,&H00 ' &H98
_H99:  Data 6, &H00,&H3D,&H42,&H42,&H3D,&H00 ' &H99
_H9A:  Data 6, &H00,&H3C,&H41,&H40,&H3D,&H00 ' &H9A
_H9B:  Data 6, &H80,&H70,&H68,&H58,&H38,&H04 ' &H9B
_H9C:  Data 6, &H00,&H48,&H3E,&H49,&H49,&H62 ' &H9C
_H9D:  Data 6, &H00,&H7E,&H61,&H5D,&H43,&H3F ' &H9D
_H9E:  Data 6, &H00,&H22,&H14,&H08,&H14,&H22 ' &H9E
_H9F:  Data 6, &H00,&H40,&H88,&H7E,&H09,&H02 ' &H9F
_HA0:  Data 6, &H00,&H20,&H54,&H55,&H55,&H78 ' &HA0
_HA1:  Data 5, &H00,&H00,&H7D,&H41,&H00      ' &HA1
_HA2:  Data 6, &H00,&H38,&H44,&H45,&H39,&H00 ' &HA2
_HA3:  Data 6, &H00,&H3C,&H40,&H21,&H7D,&H00 ' &HA3
_HA4:  Data 6, &H00,&H7A,&H09,&H0A,&H71,&H00 ' &HA4
_HA5:  Data 6, &H00,&H7A,&H11,&H22,&H79,&H00 ' &HA5
_HA6:  Data 6, &H00,&H08,&H55,&H55,&H55,&H5E ' &HA6
_HA7:  Data 6, &H00,&H4E,&H51,&H51,&H4E,&H00 ' &HA7
_HA8:  Data 6, &H00,&H30,&H48,&H4D,&H40,&H20 ' &HA8
_HA9:  Data 6, &H3E,&H41,&H5D,&H4B,&H55,&H3E ' &HA9
_HAA:  Data 6, &H04,&H04,&H04,&H04,&H04,&H1C ' &HAA
_HAB:  Data 6, &H00,&H17,&H08,&H4C,&H6A,&H50 ' &HAB
_HAC:  Data 6, &H00,&H17,&H08,&H34,&H2A,&H78 ' &HAC
_HAD:  Data 5, &H00,&H30,&H7D,&H30,&H00      ' &HAD
_HAE:  Data 6, &H00,&H08,&H14,&H00,&H08,&H14 ' &HAE
_HAF:  Data 6, &H00,&H14,&H08,&H00,&H14,&H08 ' &HAF
_HB0:  Data 6, &H44,&H11,&H44,&H11,&H44,&H11 ' &HB0
_HB1:  Data 6, &HAA,&H55,&HAA,&H55,&HAA,&H55 ' &HB1
_HB2:  Data 6, &HBB,&HEE,&HBB,&HEE,&HBB,&HEE ' &HB2
_HB3:  Data 6, &H00,&H00,&H00,&HFF,&H00,&H00 ' &HB3
_HB4:  Data 6, &H08,&H08,&H08,&HFF,&H00,&H00 ' &HB4
_HB5:  Data 6, &H00,&H70,&H28,&H25,&H29,&H70 ' &HB5
_HB6:  Data 6, &H00,&H70,&H29,&H25,&H29,&H70 ' &HB6
_HB7:  Data 6, &H00,&H70,&H29,&H25,&H28,&H70 ' &HB7
_HB8:  Data 6, &H3E,&H41,&H5D,&H55,&H41,&H3E ' &HB8
_HB9:  Data 6, &H0A,&HFB,&H00,&HFF,&H00,&H00 ' &HB9
_HBA:  Data 6, &H00,&HFF,&H00,&HFF,&H00,&H00 ' &HBA
_HBB:  Data 6, &H0A,&HFA,&H02,&HFE,&H00,&H00 ' &HBB
_HBC:  Data 6, &H0A,&H0B,&H08,&H0F,&H00,&H00 ' &HBC
_HBD:  Data 6, &H00,&H18,&H24,&H66,&H24,&H00 ' &HBD
_HBE:  Data 6, &H00,&H29,&H2A,&H7C,&H2A,&H29 ' &HBE
_HBF:  Data 6, &H08,&H08,&H08,&HF8,&H00,&H00 ' &HBF
_HC0:  Data 6, &H00,&H00,&H00,&H0F,&H08,&H08 ' &HC0
_HC1:  Data 6, &H08,&H08,&H08,&H0F,&H08,&H08 ' &HC1
_HC2:  Data 6, &H08,&H08,&H08,&HF8,&H08,&H08 ' &HC2
_HC3:  Data 6, &H00,&H00,&H00,&HFF,&H08,&H08 ' &HC3
_HC4:  Data 6, &H08,&H08,&H08,&H08,&H08,&H08 ' &HC4
_HC5:  Data 6, &H08,&H08,&H08,&HFF,&H08,&H08 ' &HC5
_HC6:  Data 6, &H00,&H20,&H56,&H55,&H56,&H79 ' &HC6
_HC7:  Data 6, &H00,&H70,&H2A,&H25,&H2A,&H71 ' &HC7
_HC8:  Data 6, &H00,&H0F,&H08,&H0B,&H0A,&H0A ' &HC8
_HC9:  Data 6, &H00,&HFE,&H02,&HFA,&H0A,&H0A ' &HC9
_HCA:  Data 6, &H0A,&H0B,&H08,&H0B,&H0A,&H0A ' &HCA
_HCB:  Data 6, &H0A,&HFA,&H02,&HFA,&H0A,&H0A ' &HCB
_HCC:  Data 6, &H00,&HFF,&H00,&HFB,&H0A,&H0A ' &HCC
_HCD:  Data 6, &H0A,&H0A,&H0A,&H0A,&H0A,&H0A ' &HCD
_HCE:  Data 6, &H0A,&HFB,&H00,&HFB,&H0A,&H0A ' &HCE
_HCF:  Data 6, &H00,&H5D,&H22,&H22,&H22,&H5D ' &HCF
_HD0:  Data 6, &H00,&H22,&H55,&H59,&H30,&H00 ' &HD0
_HD1:  Data 6, &H00,&H08,&H7F,&H49,&H41,&H3E ' &HD1
_HD2:  Data 6, &H00,&H7C,&H55,&H55,&H55,&H44 ' &HD2
_HD3:  Data 6, &H00,&H7C,&H55,&H54,&H55,&H44 ' &HD3
_HD4:  Data 6, &H00,&H7C,&H55,&H55,&H54,&H44 ' &HD4
_HD5:  Data 6, &H00,&H00,&H00,&H07,&H00,&H00 ' &HD5
_HD6:  Data 6, &H00,&H00,&H44,&H7D,&H45,&H00 ' &HD6
_HD7:  Data 6, &H00,&H00,&H45,&H7D,&H45,&H00 ' &HD7
_HD8:  Data 6, &H00,&H00,&H45,&H7C,&H45,&H00 ' &HD8
_HD9:  Data 6, &H08,&H08,&H08,&H0F,&H00,&H00 ' &HD9
_HDA:  Data 6, &H00,&H00,&H00,&HF8,&H08,&H08 ' &HDA
_HDB:  Data 6, &HFF,&HFF,&HFF,&HFF,&HFF,&HFF ' &HDB
_HDC:  Data 6, &HF0,&HF0,&HF0,&HF0,&HF0,&HF0 ' &HDC
_HDD:  Data 6, &H00,&H00,&H00,&H77,&H00,&H00 ' &HDD
_HDE:  Data 6, &H00,&H00,&H45,&H7D,&H44,&H00 ' &HDE
_HDF:  Data 6, &H0F,&H0F,&H0F,&H0F,&H0F,&H0F ' &HDF
_HE0:  Data 6, &H00,&H3C,&H42,&H43,&H3D,&H00 ' &HE0
_HE1:  Data 6, &H00,&HFE,&H4A,&H4A,&H34,&H00 ' &HE1
_HE2:  Data 6, &H00,&H3C,&H43,&H43,&H3D,&H00 ' &HE2
_HE3:  Data 6, &H00,&H3D,&H43,&H42,&H3C,&H00 ' &HE3
_HE4:  Data 6, &H00,&H32,&H49,&H4A,&H31,&H00 ' &HE4
_HE5:  Data 6, &H00,&H3A,&H45,&H46,&H39,&H00 ' &HE5
_HE6:  Data 6, &H00,&HFC,&H20,&H20,&H1C,&H00 ' &HE6
_HE7:  Data 6, &H00,&HFE,&HAA,&H28,&H10,&H00 ' &HE7
_HE8:  Data 6, &H00,&HFF,&HA5,&H24,&H18,&H00 ' &HE8
_HE9:  Data 6, &H00,&H3C,&H40,&H41,&H3D,&H00 ' &HE9
_HEA:  Data 6, &H00,&H3C,&H41,&H41,&H3D,&H00 ' &HEA
_HEB:  Data 6, &H00,&H3D,&H41,&H40,&H3C,&H00 ' &HEB
_HEC:  Data 6, &H00,&H9C,&HA0,&H61,&H3D,&H00 ' &HEC
_HED:  Data 6, &H00,&H04,&H08,&H71,&H09,&H04 ' &HED
_HEE:  Data 6, &H00,&H00,&H02,&H02,&H02,&H00 ' &HEE
_HEF:  Data 6, &H00,&H00,&H07,&H03,&H00,&H00 ' &HEF
_HF0:  Data 6, &H00,&H00,&H08,&H08,&H08,&H00 ' &HF0
_HF1:  Data 6, &H00,&H00,&H24,&H2E,&H24,&H00 ' &HF1
_HF2:  Data 6, &H00,&H24,&H24,&H24,&H24,&H24 ' &HF2
_HF3:  Data 6, &H05,&H17,&H0A,&H34,&H2A,&H78 ' &HF3
_HF4:  Data 6, &H00,&H06,&H09,&H7F,&H01,&H7F ' &HF4
_HF5:  Data 6, &H00,&H22,&H4D,&H55,&H59,&H22 ' &HF5
_HF6:  Data 6, &H00,&H08,&H08,&H2A,&H08,&H08 ' &HF6
_HF7:  Data 6, &H00,&H00,&H08,&H18,&H18,&H00 ' &HF7
_HF8:  Data 6, &H00,&H06,&H09,&H09,&H06,&H00 ' &HF8
_HF9:  Data 6, &H00,&H00,&H08,&H00,&H08,&H00 ' &HF9
_HFA:  Data 6, &H00,&H00,&H08,&H00,&H00,&H00 ' &HFA
_HFB:  Data 6, &H00,&H02,&H0F,&H00,&H00,&H00 ' &HFB
_HFC:  Data 6, &H00,&H09,&H0F,&H05,&H00,&H00 ' &HFC
_HFD:  Data 6, &H00,&H09,&H0D,&H0A,&H00,&H00 ' &HFD
_HFE:  Data 6, &H00,&H3C,&H3C,&H3C,&H3C,&H00 ' &HFE
_HFF:  Data 6, &H00,&H00,&H00,&H00,&H00,&H00 ' &HFF


and - of course - many subs and functions...
 
dMajo

Newbie

Joined: 18/05/2020
Location: Italy
Posts: 27
Posted: 03:59am 04 Jan 2022
Copy link to clipboard 
Print this post

@matherp

as I have understood now the VGA version uses the second core for its video output and this perhaps implies that on the non-VGA version the second core is unused.

I have one feature request if possible, for the non-VGA version:

if the 'comspec$' can change from
"COMn: baud, buf, int, int-trigger, EVEN/ODD, S2, 7BIT"
to
"COMn: baud, buf, int, int-trigger, EVEN/ODD/USR, S2, 7BIT/8BIT, BRI"
for both the ports COM1 and COM2

The BRI should indicate bridge mode.

The COM2 will fire a second CDC virtual serial port bridged to the COM2 pins.

The COM1 will do the same over the existing CDC. The physical port should use the comspec$ specified baudrate (and other params) but it should also listen to the CDC baudrate:
- if it have for example 1200 baudrate the traffic goes to the console
- if it have any other baud setting it goes to the physical COM1 port.
This could allow for easy flashing of other sub-modules connected to the picomite (other mcu with serial bootloader, gps/gsm modules, ...)
Here there is an 2-port usb2uart bridge example for the RP2040


USR (user defined) parity
This is a minor wish. When programming in assembly and thus having full control over the in-built UART it happens to do serial masters on MCUs that do not support 9bit communication for addressing.
In this case I do not use fifo and I toggle the parity register on the fly between the transmitted bytes based upon the byte I have to transmit and thus using the parity as the 9th bit. The stripped parity (9th bit in this case) on the master's receiver is not a problem in an single-master bus where only the queried slave is allowed to send traffic.
So perhaps:
TGLPAR            'toggle parity register
PRINT #1, BYTE1   'transmit byte1
PRINT #1, BYTE2   'transmit byte2
TGLPAR            'toggle parity register
PRINT #1, BYTE3   'transmit byte3
TGLPAR            'toggle parity register
PRINT #1, BYTE4   'transmit byte4
PRINT #1, BYTE5   'transmit byte5
...
or better
PRINTTGL #1, BYTE1  'transmit byte 1 after toggling the Parity
PRINT #1, BYTE2     'no need to toggle
PRINTTGL #1, BYTE3  'transmit byte 3 after toggling the Parity
PRINTTGL #1, BYTE4  'transmit byte 4 after toggling the Parity
PRINT #1, BYTE5     'no need to toggle
...
This of course implies that the slaves have 9bit support in their UARTs configured without parity.
ALLdataEE.com  EDU Promos
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9492
Posted: 06:01am 04 Jan 2022
Copy link to clipboard 
Print this post

Can't download any of the latest betas posted by matherp.
Anyone else seeing this?

Clicking on the link results in nothing happening.
Right-clicking/Save linked content as.... results in 100% download, but the download never completes, and I can only pause or cancel.  Pause does nothing, cancel deletes the download thus far.

Anyone else seeing this?

EDIT: The links to Geoff's website are the ones that won't work(for me).  There was a ZIP that matherp uploaded to the thread in page two after Rob(robert.rozee) posted some comments - that downloads fine, but any link to Geoff's website fails.
Edited 2022-01-04 16:05 by Grogster
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6221
Posted: 06:31am 04 Jan 2022
Copy link to clipboard 
Print this post

  Grogster said  Can't download any of the latest betas posted by matherp.
Anyone else seeing this?

No problems here. Firefox complains about not safe but "download anyway" fixes that.
(I think that is because it's http instead of https.)

Jim
VK7JH
MMedit
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2419
Posted: 07:14am 04 Jan 2022
Copy link to clipboard 
Print this post

Going to Geoff's website in a new tab and downloading from there always works.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10068
Posted: 08:17am 04 Jan 2022
Copy link to clipboard 
Print this post

  Quote  The BRI should indicate bridge mode.


To do what you want the USB would have to be a CDC host. The code you linked is for a CDC device which wouldn't do the job.

  Quote  USR (user defined) parity

The RP2040 H/W does not support 9-bits of data, only 8 bits + specific parity. To do what you want it is trivial to modify the Pico PIO UART example. Check the Pico SDK or Pico RP2040 manual to see how simple this is.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10068
Posted: 08:58am 04 Jan 2022
Copy link to clipboard 
Print this post

http://geoffg.net/Downloads/picomite/PicoMite_Beta.zip

PicoMite/PicoMiteVGA

V5.07.03RC7

New command FLUSH [#]filenumber
This causes any outstanding writes to a file to be written to disk or waits for serial output to be complete on an open com port

Fixed error handling for too many labels and/or functions and subroutines (max 224)
Improved USB console receive algorithm

For those having problems with Geoff's site


PicoMite_Beta.zip
Edited 2022-01-04 19:43 by matherp
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7513
Posted: 10:04am 04 Jan 2022
Copy link to clipboard 
Print this post

I've just tried another browser that's happy on Geoff's site: Ungoogled Chromium. Google will hate this. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 374
Posted: 11:00am 04 Jan 2022
Copy link to clipboard 
Print this post

With Google Chrome this works for me:
1. copy the address: http://geoffg.net/Downloads/picomite/PicoMite_Beta.zip
2. open a new tab in Crome
3. paste the address and insert an "s": http:// -> https://
4. enter...and the download starts
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2401
Posted: 11:20am 04 Jan 2022
Copy link to clipboard 
Print this post

all working well with RC7. spotted one small cosmetic:

>
> flash save 9
Error : 9 is invalid (valid is 1 to 0)
>

(at end of error message - should be 7, not 0)


cheers,
rob   :-)

addendum: this is with the NON-VGA version
Edited 2022-01-04 21:21 by robert.rozee
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 11:49am 04 Jan 2022
Copy link to clipboard 
Print this post

Peter
When posting the links could you change the http to https please? that will solve everyones issues with various browsers

http://geoffg.net/Downloads/picomite/PicoMite_Beta.zip
to
https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip

to https please? that will solve everyones issues with various browsers

The issue is some browsers will only allow access/downloads for https
You can turn it off in settings, or allow downloads from http as well it actually makes sense to use the https link seeing it works.
Edited 2022-01-04 21:49 by lew247
 
Calli
Regular Member

Joined: 20/10/2021
Location: Germany
Posts: 74
Posted: 11:57am 04 Jan 2022
Copy link to clipboard 
Print this post

So Mouse fixed! Thanks!

I have one thing which bugs me but is maybe a feature request:

After an error the cursor is placed at the line where the error occured. Great!

Would it be possible to always go to the line where the cursor was when leaving the editor? Be it run or save. That would avoid scrolling too much after a quick change in longer programs.

Cheers,
Carsten
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3271
Posted: 01:08pm 04 Jan 2022
Copy link to clipboard 
Print this post

  Calli said  After an error the cursor is placed at the line where the error occured. Great!
Would it be possible to always go to the line where the cursor was when leaving the editor?

I'm confused.  You like the fact that the cursor is placed on an error... but then you ask for something different!

Just to be clear, the behaviour on starting the editor should be:
- If an error occurred the cursor is placed on the line with the error.
- Otherwise the cursor is placed on the last line edited.
- If the editor has not been used since start up, the cursor is placed at the start.

Geoff
Edited 2022-01-04 23:11 by Geoffg
Geoff Graham - http://geoffg.net
 
     Page 3 of 9    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025