Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:08 23 Dec 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 V6.00.01 release candidates - please test thoroughly

     Page 20 of 20    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9283
Posted: 10:45am 22 Dec 2024
Copy link to clipboard 
Print this post

Harm

Please check this

PicoMite.zip
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1301
Posted: 11:19am 22 Dec 2024
Copy link to clipboard 
Print this post

Hi Peter,
I think there is a problem with "Autosave append" and the heap memory.
If I cancel "autosave append" with CTRL-C, I only have 3328k heap memory instead of 183kB. Only after a "NEW" do I have 183KB again
> memory
Program:
  3K ( 1%) Program (162 lines)
177K (99%) Free

Saved Variables:
 16K (100%) Free

RAM:
  0K ( 0%) 0 Variables
  0K ( 0%) General
228K (100%) Free
> ? mm.info(heap)
183808
> autosave append
> ? mm.info(heap)
3328
> memory
Program:
  3K ( 1%) Program (162 lines)
177K (99%) Free

Saved Variables:
 16K (100%) Free

RAM:
  0K ( 0%) 0 Variables
176K (77%) General
 52K (23%) Free
> new
> ? mm.info(heap)
183808
> autosave append
> ? mm.info(heap)
3328
> autosave append
Error : Not enough Heap memory
>

I think this is a low priority issue. I just wanted you to know about it.
If you don't know the reason and the problem suddenly occurs, it's confusing.
Regards
Michael
Edited 2024-12-22 21:25 by twofingers
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9283
Posted: 12:21pm 22 Dec 2024
Copy link to clipboard 
Print this post

Michael: thanks for the report - easily fixed

Note to Harm

BAD
If MM.Device$ = "PicoMiteVGA" Then


GOOD
if instr(MM.Device$, "PicoMiteVGA") Then

Edited 2024-12-22 22:23 by matherp
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 379
Posted: 02:21pm 22 Dec 2024
Copy link to clipboard 
Print this post


> option list
PicoMiteHDMI MMBasic USB RP2350A Edition V6.00.01RC9
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION SYSTEM I2C GP20,GP21
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION CPUSPEED (KHz) 315000
OPTION DISPLAY 30, 53
OPTION SDCARD GP22, GP26, GP27, GP28
OPTION AUDIO GP10,GP11', ON PWM CHANNEL 5
OPTION RTC AUTO ENABLE
OPTION MODBUFF ENABLE  192
OPTION PLATFORM HDMIUSB
> files
A:/
  <DIR>  .
  <DIR>  ..
15:12 22-12-2024      19340  book.txt
14:44 22-12-2024          4  bootcount
14:57 22-12-2024      22542  fm.bas
15:12 22-12-2024      38216  picochess4.bas
15:12 22-12-2024      28854  small.bmp
2 directories, 5 files, 2260992 bytes free
> Sprite Loadbmp 1, "small.bmp",x,y,18,18
Error : Could not find the file
>


Is this possibly a bug?
I have added .bmp, I have copied it to "a:" and I have also tried 'a:small.bmp' and 'a:/small.bmp'...
I came across this in ‘picochess4.bas’.

Matthias
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9283
Posted: 03:30pm 22 Dec 2024
Copy link to clipboard 
Print this post

bug - will fix
 
     Page 20 of 20    
Print this page


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

© JAQ Software 2024