New PicoMite firmware release V5.07.06


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10169
Posted: 09:17am 08 Jan 2023      

  Quote  except for one problem I'm having.

  Quote  Also on VGA only PWM invert doesn't.


That will teach me to do last minute updates.

Geoff has uploaded fixed versions to his site. You will know you have the new versions as the copyright is also updated to show 2023

  Quote  2. The explanation of how sound works in the background is somewhat confusing.
Page 32-
Play Tone 500,500,2000
End
It makes some sense that this doesn't work.  You then add the pauses- this I guess is still "non blocking" or is it?


Sound commands are non-blocking. The issue is that when a program ends with an END command or Ctrl-C it stops the audio output so unless you wait before exiting you will never hear anything. Likewise executing PLAY TONE twice in rapid succession will replace the first tone with the second such that the first may never be heard.

Ending a program by "running off the end" without an explicit END statement will not stop the audio. Otherwise you would not be able to execute sound commands at the command prompt.
Edited 2023-01-08 19:27 by matherp