Search found 31 matches

by badmai
Mon Sep 09, 2024 6:27 am
Forum: Libraries and Examples
Topic: Virtual PCM channels [Prog8]
Replies: 7
Views: 3451

Re: Virtual PCM channels [Prog8]

ok, it does what I want now...

Streams a ZSM file with 4 Virtual PCM channels...
or
Streams a PCM file with 3 Virtual PCM channels...

*note installed a custom keyboard handler so you can press multiple keys to trigger sounds


Try It Now!






.
by badmai
Mon Aug 26, 2024 9:40 pm
Forum: Misc Apps
Topic: Compression Unpackers (Prog8)
Replies: 9
Views: 5188

Re: Compression Unpackers (Prog8)

Speed, LZSA1-m5 is alot faster to unpack and I wanted to test the fastest I currently have.
The ROM routine would work fine, just not the fastest option.
by badmai
Mon Aug 26, 2024 1:33 am
Forum: Misc Apps
Topic: Compression Unpackers (Prog8)
Replies: 9
Views: 5188

Re: Compression Unpackers (Prog8)

revisiting some compression tests... I compressed some 64x64 @4bit sprite frames trying to decompress real time Original: 2048 bytes per frame or 16K for all most frames compressed to under 600 bytes 16384 to 3704 bytes for all frames Decompress seems to take about 1/2 a frame for a single sprite no...
by badmai
Mon Apr 08, 2024 2:35 am
Forum: Works In-Progress Discussion
Topic: Chess
Replies: 1
Views: 1546

Chess

I ported the chess engine from Code Monkey King (link below) to Prog8.... Just a project to test his algo with visual output (source code included) *CPU vs CPU so just a visual demo *mate is not checked, and may crash when it happens :) for fun I tried to randomize the "depth" so each game...
by badmai
Tue Apr 02, 2024 7:38 am
Forum: Libraries and Examples
Topic: Virtual PCM channels [Prog8]
Replies: 7
Views: 3451

Re: Virtual PCM channels [Prog8]

Yeah, when I say "*I hope to make it compatible with zsmkit" just not step on it's toes so to speak, no plans to use it's PCM playback system or specific files zsm playback is great, but pcm is limited, and talking to MooingLemur this is a "niche" application, which I understand ...
by badmai
Sat Mar 30, 2024 2:22 am
Forum: Libraries and Examples
Topic: Virtual PCM channels [Prog8]
Replies: 7
Views: 3451

Virtual PCM channels [Prog8]

tldr; example shows how to have 4 virtual pcm channels without mixing samples This is just a quick proof of concept, and is NOT OPTIMIZED (yet) Since we only have 1 pcm channel, how to mix multiple pcm sound effects? first thought was to just combine the samples, clip, fill buffer w/e a lot of compu...
by badmai
Tue Mar 26, 2024 2:14 pm
Forum: X16 Feature Requests
Topic: Alpha
Replies: 4
Views: 1994

Alpha

4 unused bits in each palette color, why not used for alpha?
at-least make sprites use alpha

*yes I know 0 is "transparent" for layer/sprite...not needed if we used alpha bits!

idk, some way of blending sprites or layers
by badmai
Tue Dec 05, 2023 1:32 pm
Forum: Works In-Progress Discussion
Topic: Video Playback Tests
Replies: 16
Views: 20594

Re: Video Playback Tests

Please try the original post video, I've updated the Deadpool trailer with my encoder improvements.

I do plan to release my tools and code after I have fixed them up so others can improve my methods.

EDIT: here is the Link to try :)

Try It Now!
by badmai
Sun Dec 03, 2023 4:01 am
Forum: Works In-Progress Discussion
Topic: Video Playback Tests
Replies: 16
Views: 20594

Re: Video Playback Tests

BAD APPLE METAL

I remember 8bitguy asking about this one and fixing for composite...and wanting to include with the sdcard?

I've increased the resolution (and works with hardware?), same audio quality...in composite mode

Try It Now!
by badmai
Sun Dec 03, 2023 12:14 am
Forum: Works In-Progress Discussion
Topic: Video Playback Tests
Replies: 16
Views: 20594

Re: Video Playback Tests

@voidstar

I couldn't upload this test in the PM, it seems to have a 5mb limit.
I added a video output mode selection, let me know the one that should be used.
I added 4 different video sizes to be tested on hardware, 1 - 192 seems to hit the bandwidth limit without audio glitches.

Try It Now!