New 1bit PWM music engine for the COCO

A place to discuss everything Dragon related that doesn't fall into the other categories.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

New 1bit PWM music engine for the COCO

Post by zephyr »

Something interesting from Simon Jonassen at the CoCo mailing list:
Simon Jonassen wrote: 1 bit revisited......

I hooked up with the LEGENDARY SOCKMASTER to work out this 1 bit routine....

I provided him with some z80 sourcecode which he quickly converted to
6809.... we tried it and it sounded shite, so we set about some
debugging.... (over 2 days)....

now we have a decent 1 bit music player for the coco - you can use the zx
spectrum program (beepola) to make music... (choose the engine called THE
MUSIC STUDIO).......

then export the data as an.asm file ( junk the z80 code and grab the song
data)....

sound of this engine here ( any funky sounds are lag on my old laptop):
http://www.roust-it.dk/coco/coco1bit.wav

https://www.youtube.com/watch?v=1_0TOZxOzn4
http://www.youtube.com/watch?v=WDIdBKCgSKg

REMEMBER THIS IS 1 BIT PWM.......

/Simon :-)
Last edited by zephyr on Wed Nov 27, 2013 2:41 am, edited 1 time in total.
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: New 1bit PWM music engine for the COCO

Post by Rink »

Sounds great - nice work!
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: New 1bit PWM music engine for the COCO

Post by zephyr »

I would like to see this converted for use on the Dragon 32/64. But, AFAIK there is no source or executable code available for download. :o
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: New 1bit PWM music engine for the COCO

Post by Rink »

zephyr wrote:I would like to see this converted for use on the Dragon 32/64. But, AFAIK there is no source or executable code available for download. :o
Really? Ack.

Maybe drop him a line and say that the lovely folks over at World of Dragon want to enjoy his engine.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: New 1bit PWM music engine for the COCO

Post by zephyr »

Rink wrote: Really? Ack.

Maybe drop him a line and say that the lovely folks over at World of Dragon want to enjoy his engine.
Done. :)
simon
Posts: 163
Joined: Wed Nov 27, 2013 8:56 pm

Re: New 1bit PWM music engine for the COCO

Post by simon »

source with music data has been posted to steve....

also a .wav file (cloadm/exec &h3f00)

/Simon Jonassen :-)
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: New 1bit PWM music engine for the COCO

Post by zephyr »

Thanks, Simon. :) Full source code, executable demo, and Beepola are now in the Uploads section.
simon
Posts: 163
Joined: Wed Nov 27, 2013 8:56 pm

Re: New 1bit PWM music engine for the COCO

Post by simon »

@zephyr

another thing u need 2 watch out for when modifying the code would be that it runs DP at $3f......

alot of pointers/counters get modified (self modding code).... so stray beyond the 256 byte boundry and nasty things happen

/Simon :-)
simon
Posts: 163
Joined: Wed Nov 27, 2013 8:56 pm

Re: New 1bit PWM music engine for the COCO

Post by simon »

Hooked up with a guy from the spectrum 1 bit scene (UTZ - Irrlicht Project) http://irrlichtproject.de/

heres a new 1 bit tune for the coco /dragon 1bit engine

this one was tailor made for my demo !!!! so no using it pls....

/Simon :-)
Attachments
studd.zip
new 1 bit tune
(199.17 KiB) Downloaded 182 times
User avatar
tormod
Posts: 416
Joined: Sat Apr 27, 2013 12:06 pm
Location: Switzerland
Contact:

Re: New 1bit PWM music engine for the COCO

Post by tormod »

Amazing piece of 1-bit music on the Dragon!

Just a note: The .bin file does not correspond to the .asm file (e.g. starts with a JSR), and it doesn't have the correct exec address.
Post Reply