Soundbox by Pam D'Arcy

Use this forum to submit new files for the download section of the archive. I will check each submission and upload it to the archive on a regular basis.
Post Reply
g0blinish
Posts: 5
Joined: Mon Mar 09, 2015 7:10 am

Soundbox by Pam D'Arcy

Post by g0blinish »

Soundbox.zip
(10.41 KiB) Downloaded 171 times
Soundbox.zip
(10.41 KiB) Downloaded 171 times
I found an interesting article in "198504 dragon user.pdf" - "The Dragon Roars"

All my attempts to assemble listings failed. I made a dump from page and type a Basic listing.
Attachments
soundbox.gif
soundbox.gif (3.97 KiB) Viewed 3134 times
User avatar
robcfg
Posts: 1350
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden

Re: Soundbox by Pam D'Arcy

Post by robcfg »

Hi, and welcome to the forum!

At first sight, the program you uploaded is incomplete, as the strings of the menu aren't present on the binary file.

I'm going to take a look at the Dragon User article.

Regards,
Rob
g0blinish
Posts: 5
Joined: Mon Mar 09, 2015 7:10 am

Re: Soundbox by Pam D'Arcy

Post by g0blinish »

sound2.zip
(1.28 KiB) Downloaded 161 times
robcfg wrote:Hi, and welcome to the forum!
At first sight, the program you uploaded is incomplete, as the strings of the menu aren't present on the binary file.
hi,
article differs from binary - BASIC loader+binary playing routines. Disassembly attached, one differs from listing.
devo
Posts: 30
Joined: Mon May 13, 2013 10:19 am
Location: Canberra, Australia

Re: Soundbox by Pam D'Arcy

Post by devo »

I found same problem when I tried to assemble the listing a while ago. I notice some differences within the first 16 bytes assembled compared to the hex listing in the article. In the end, I gave up trying to figure it out and typed in the hex listing - it worked. Hopefully the attached XRoar snapshot works on your setup. Otherwise I will try to convert it into a bin file. It would be good to know what the problem was.
Attachments
sndbx_final.sna.zip
(2.87 KiB) Downloaded 135 times
g0blinish
Posts: 5
Joined: Mon Mar 09, 2015 7:10 am

Re: Soundbox by Pam D'Arcy

Post by g0blinish »

I think .vdk works OK. but I tried to assemble attached source with two cross-assemblers - lwtools and asm6809.
lwtools+DragonTools had produced working binary, I just added BASIC from article's listing.
Then I assemble source with -D option binary file not works:(
I have no idea why, my level is beginner in Dragon32 and 6809.
pser1
Posts: 1416
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Soundbox by Pam D'Arcy

Post by pser1 »

Hello

I isolated the two parts of the program:
A Basic program (the menu)
A ML small routine
I attach both as cas and wav files to load into XRoar and inside an VDK
Carefull. The Basic program has been slightly modified so that it loads the machine code.
Right now it looks for it in the disk system, you can modify line 30 and substitute LOAD for CLOADM
if you wish to test it without drives

cheers
pere
Attachments
Sound (Pam d'Arcy).zip
the VDK
(1.14 KiB) Downloaded 136 times
Sound.ZIP
The VAW and CAS files
(8.33 KiB) Downloaded 137 times
Last edited by pser1 on Tue Mar 10, 2015 5:55 pm, edited 2 times in total.
pser1
Posts: 1416
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Soundbox by Pam D'Arcy

Post by pser1 »

If anyone would like to have a look at the source code, here is the disassembled listing for the ML routine(s)

cheers
pere
Attachments
ASM Source.zip
(1.44 KiB) Downloaded 132 times
g0blinish
Posts: 5
Joined: Mon Mar 09, 2015 7:10 am

Re: Soundbox by Pam D'Arcy

Post by g0blinish »

Code: Select all

6D78 0053       NEG   <$53		; $6DCB = $6D78 + $ 53
6D7A 0063       NEG   <$63		; $6DDB = $6D78 + $ 63
6D7C 007E       NEG   <$7E		; $6DF6 = $6D78 + $ 7E
6D7E 008D       NEG   <$8D		; $6E05 = $6D78 + $ 8D
6D80 00AA       NEG   <$AA		; $6E22 = $6D78 + $ AA
6D82 00D2       NEG   <$D2		; $6E4A = $6D78 + $ D2
looks different:

Code: Select all

** SOUND ROUTINE TABLE
SNDTAB
 FDB LASER-SNDTAB ; 0-BPARAM
 FDB PHASER-SNDTAB ;1
 FDB ROAR-SNDTAB   ;2
 FDB EXPLOD-SNDTAB ;3
 FDB GUN-SNDTAB    ;4
 FDB FREQ-SNDTAB   ;5
see disassembled file I posted. Still interesting why binary won't run
pser1
Posts: 1416
Joined: Sun Mar 25, 2012 7:32 pm
Location: Barcelona (SPAIN)

Re: Soundbox by Pam D'Arcy

Post by pser1 »

the BIN I uploaded as CAS and WAV work right for me.
The same applies to the VDK with it and the basic loader.

Test in a Dragon 32 and Dragon64 with and without drives

cheers
pere
Post Reply