Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:36 28 Nov 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.07.08 betas

     Page 6 of 11    
Author Message
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 158
Posted: 04:00pm 24 Aug 2023
Copy link to clipboard 
Print this post

Thanks for your continued efforts.

I can confirm that the PIN(TEMP) functionality is as expected and there appears to be no need to close the free running ADC's before the PIN(TEMP).

  matherp said  Implements

OPTION WEB MESSAGES ON/OFF ' defaults ON

This is a temporary option reset whenever a program is run. When set to OFF messages like "Connecting to nnn port" will not appear


Some clarity please.

My understanding is that OPTION WEB MESSAGES ON/OFF is included in the program, similar to OPTION ESCAPE.

I have tried OPTION WEB MESSAGES OFF in the program and at the command prompt. It has no effect at the command prompt, option list does not reflect it and in the program it appears to have no effect as the status messaging associated with the WEB OPEN TCP CLIENT ipaddress$, port is reflecting on the console.

You guidance please.
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 511
Posted: 04:04pm 24 Aug 2023
Copy link to clipboard 
Print this post

Hi Peter,
Unfortunately still the same for mm.watchdog.
I did double check the date and time of the files in the ZIP and they were 24th Aug at 16:13 for standard or 16:31 for VGA.
Regards, Kevin.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 04:28pm 24 Aug 2023
Copy link to clipboard 
Print this post

dunno what happened there - please try again. If this doesn't work it will have to wait until I have time to test properly
 
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 158
Posted: 04:57pm 24 Aug 2023
Copy link to clipboard 
Print this post

Hi Peter

Unfortunately the WEB MESSAGES OFF still has no effect.

File information is
WebMiteV5.07.08b12
2 111 488 bytes (2,1 MB on disk)
Created: 24 August 2023 at 10:45
Modified: 24 August 2023 at 17:25

But I'm sitting in UTC-6 9local time is 10:56 as I type this)at the moment so those times could mean anything.

Guidance will be appreciated.
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 158
Posted: 04:57pm 24 Aug 2023
Copy link to clipboard 
Print this post

Hi Peter

Unfortunately the WEB MESSAGES OFF still has no effect.

File information is
WebMiteV5.07.08b12
2 111 488 bytes (2,1 MB on disk)
Created: 24 August 2023 at 10:45
Modified: 24 August 2023 at 17:25

But I'm sitting in UTC-6 (local time is 10:56 as I type this) at the moment so those times could mean anything.

Guidance will be appreciated.
Edited 2023-08-25 03:01 by carlschneider
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 05:08pm 24 Aug 2023
Copy link to clipboard 
Print this post

  Quote  Unfortunately the WEB MESSAGES OFF still has no effect.


Try OPTION WEB MESSAGES ON think I have the logic upside down - negative logic always confuses me  
 
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 158
Posted: 06:06pm 24 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  Try OPTION WEB MESSAGES ON think I have the logic upside down - negative logic always confuses me  


Thanks Peter, the NOT(OFF) being ON worked :)

So for now OPTION WEB MESSAGES ON suppresses the TCP status messages.

Many thanks for your efforts, they are appreciated.
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 511
Posted: 07:01pm 24 Aug 2023
Copy link to clipboard 
Print this post

Hi Peter,
Sorry to say mm.watchdog still not working as expected.
This was using the VGA uf2 in latest zip date 24 Aug 17:25.
Thanks for your help.
Regards, Kevin.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6100
Posted: 09:40pm 24 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  V5.07.08b12

Implements interlock to stop other ADC use while ADC DMA is running.


This causes:
[7] Print n;" "; Pin(temp)
Error : ADC in use

I can get around it by setting a flag when ADC START is run and reset at the completion (or ON ERROR SKIP) but is there a MM.INFO() flag that does the job?

Jim
VK7JH
MMedit   MMBasic Help
 
carlschneider
Senior Member

Joined: 04/08/2023
Location: South Africa
Posts: 158
Posted: 10:52pm 24 Aug 2023
Copy link to clipboard 
Print this post

Hi TassyJim

I use the print pin(temp) inside the ADCInterrupt sub routine, then you know the ADC has completed and is idle.
Cheers Carl                                                        
Retirement is tough on Hobbies without a day job
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4247
Posted: 06:37pm 26 Aug 2023
Copy link to clipboard 
Print this post

@Peter,

small formatting issue in the PIO compiler. Maybe you can fix it.

PIO assemble 1,"mov ISR ,!x"


does compile, but

PIO assemble 1,"mov ISR,!x"


does not compile.

The reserved keyword ISR always needs a space after it.
I remember seeing something in earlier versions with the similar OSR.

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 09:17am 27 Aug 2023
Copy link to clipboard 
Print this post

small formatting issue in the PIO compiler.


Will fix
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 01:41pm 27 Aug 2023
Copy link to clipboard 
Print this post

V5.07.08b12

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

Fixes bug in PIO assemble
Corrects sense of OPTION WEB MESSAGES
Corrects MM.WATCHDOG (I hope)
Fixes bugs in BLIT WRITE when target overlaps the screen

New functionality for all
MM.INFO(ADC DMA) 'returns true is the ADC is in use for DMA access (ADC START or ADC RUN)

New functionality for PicoMite and WebMite

BLIT WRITE [#]b, x, y [,mode]

Will copy the memory buffer '#b' to the display. The destination coordinate
is 'x' and 'y' and the width/height of the buffer to copy is 'w' and 'h'. The
optional 'mode' parameter defaults to 0 and specifies how the stored image
data is changed as it is written out. It is the bitwise AND of the following
values:
&B001 = mirrored left to right
&B010 = mirrored top to bottom
&B100 = don't copy transparent pixels

Demo program
Box 0,0,50,50,3,RGB(green),RGB(red)
Line 0,0,49,49
Text 3,3,"hello"
Sprite read 1,0,0,50,50
CLS RGB(blue)
Sprite write 1,100,-20,6
Sprite write 1,100,220,4
Sprite write 1,-10,100,7
Sprite write 1,300,100,5
Box 0,0,70,70,6,RGB(red),0
Sprite read 2,0,0,70,70
Sprite write 2,290,90,4
Sprite write 2,-20,90,5
Do
Loop
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 02:30pm 27 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  V5.07.08b12


Thanks for this, but doesn't appear to include webMite.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 02:35pm 27 Aug 2023
Copy link to clipboard 
Print this post

Should do now
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 03:21pm 27 Aug 2023
Copy link to clipboard 
Print this post

Thanks much. BLIT WRITE mirroring successfully tested with the sprites from Martin H.'s PI*Bert thread.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4043
Posted: 03:24pm 27 Aug 2023
Copy link to clipboard 
Print this post

The demo program doesn't actually use BLIT WRITE ???

Thank you Peter, I'm glad to see that my tactic of not pushing for this has paid off and look forward to making use of it on the Game*Mite.

Best wishes,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 03:26pm 27 Aug 2023
Copy link to clipboard 
Print this post

As in all versions the commands blit and sprite are interchangeable

Blit write with transparency uses two temporary memory buffers of w*h*4
without transparency it uses one of w*h*4

so beware of memory use
Edited 2023-08-28 01:30 by matherp
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4043
Posted: 03:30pm 27 Aug 2023
Copy link to clipboard 
Print this post

  matherp said  As in all versions the commands blit and sprite are interchangeable


OK, thanks.

What about the documented width & height parameters of BLIT WRITE, are they still present, what is the ordering now there is an optional 5th parameter ?

  User Manual - MMBasic Ver 5.07.07 said  BLIT WRITE [#]b, x, y[, w] [, h]


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

Joined: 11/12/2012
Location: United Kingdom
Posts: 9128
Posted: 03:31pm 27 Aug 2023
Copy link to clipboard 
Print this post

  Quote  New functionality for PicoMite and WebMite

BLIT WRITE [#]b, x, y [,mode]


no other parameters, w and h are taken from the read
 
     Page 6 of 11    
Print this page
© JAQ Software 2024