another video demo

All aspects of programming on the Commander X16.
Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

another video demo

Post by Ed Minchau »



On 8/18/2022 at 8:12 AM, ZeroByte said:




It looks like it's not advancing the audio clip counter / frame counter and just repeating the same audio clip over and over.



I think you're right about the video but the audio might be ok; the first several seconds of the video sound like that, and the audio isn't triggered the same way as video.  

Has anyone who downloaded this tried it on the emulator?

ZeroByte
Posts: 714
Joined: Wed Feb 10, 2021 2:40 pm

another video demo

Post by ZeroByte »


I've run it on the emulator just fine.

Can't recall whether it was using SD card image or host FS though. (that makes a huge difference)

 

Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

another video demo

Post by Ed Minchau »



On 8/18/2022 at 2:55 PM, ZeroByte said:




I've run it on the emulator just fine.



Can't recall whether it was using SD card image or host FS though. (that makes a huge difference)



 



Ok, that helps narrow it down, then, it wasn't a problem with the upload. @Wavicle is the BOND folder and BOND.PRG in the root directory of the SD card?

Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

another video demo

Post by Ed Minchau »


Another possibility is that the hardware is still slightly slower than the emulator, and perhaps only 12 fps is possible. But then that would show just the left side of the image changing...

Wavicle
Posts: 288
Joined: Sun Feb 21, 2021 2:40 am

another video demo

Post by Wavicle »




Looks like moving the files to the root was one thing that needed to get fixed. Now it only updates the left side of the display as you'd mentioned it would do if it couldn't keep up.

Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

another video demo

Post by Ed Minchau »



On 8/19/2022 at 8:54 PM, Wavicle said:




Looks like moving the files to the root was one thing that needed to get fixed. Now it only updates the left side of the display as you'd mentioned it would do if it couldn't keep up.



I'm going to try again soon, using @ZeroByte's suggestion of using MACPTR. That will get the number of files down to 3 - a PRG and two SEQs - and perhaps I'll also lower the video frame rate to 12 fps.

The sound seems to work, except loading the audio into low RAM and then pushing it to VERA is taking too long and it occasionally runs our of PCM data, hence the pops. Hopefully MACPTR  fixes that too.

Wavicle
Posts: 288
Joined: Sun Feb 21, 2021 2:40 am

another video demo

Post by Wavicle »



On 8/20/2022 at 10:29 AM, Ed Minchau said:




I'm going to try again soon, using @ZeroByte's suggestion of using MACPTR. That will get the number of files down to 3 - a PRG and two SEQs - and perhaps I'll also lower the video frame rate to 12 fps.



The sound seems to work, except loading the audio into low RAM and then pushing it to VERA is taking too long and it occasionally runs our of PCM data, hence the pops. Hopefully MACPTR  fixes that too.



One other thing that I forgot to mention and just tested - the demo appears to depend on memory being cleared to zero, which it isn't on hardware. @MooingLemur wrote me a raminit program that clears memory and when I run it before bond.prg, the audio is a little bit better (the video is still stuck though).

Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

another video demo

Post by Ed Minchau »



On 8/22/2022 at 12:06 PM, Wavicle said:




One other thing that I forgot to mention and just tested - the demo appears to depend on memory being cleared to zero, which it isn't on hardware. @MooingLemur wrote me a raminit program that clears memory and when I run it before bond.prg, the audio is a little bit better (the video is still stuck though).



I suppose I should share the code I used to make this. No, it doesn't depend on anything being set to zero, except for the one tile that is used in the top two and bottom two rows on the screen (it's 8 rows by 20 columns).

Are you using an actual VERA?

Wavicle
Posts: 288
Joined: Sun Feb 21, 2021 2:40 am

another video demo

Post by Wavicle »



On 8/22/2022 at 11:06 PM, Ed Minchau said:




I suppose I should share the code I used to make this. No, it doesn't depend on anything being set to zero, except for the one tile that is used in the top two and bottom two rows on the screen (it's 8 rows by 20 columns).



Are you using an actual VERA?



Yep, I have a real VERA. The rest of my hardware is compatible of my own design, but my VERA is a VERA.

Post Reply