CPCWiki forum

General Category => Programming => Topic started by: beb on 16:52, 30 January 18

Title: ChipnSfx - Player routine
Post by: beb on 16:52, 30 January 18
Ola,


Did someone find the way to compile the source code of the ChipnSfx player ?
(tried with Winape / Rasm / Sjasm... As80 didn't work with win7 x64 ? I got plenty errors...)


It's possible to have a working version of source code running on CPC ? ( under Dams / Orgams or Maxam ?)


Thanks.
Title: Re: ChipnSfx - Player routine
Post by: Targhan on 13:12, 31 January 18
Maybe Pasmo / Vasm?
Title: Re: ChipnSfx - Player routine
Post by: beb on 17:25, 31 January 18
Krusty has already tried with pasmo, without any success.
I hope to see a easy working player for this tracker.  (maybe like yours or the BSC-Soundtrakker)

Title: Re: ChipnSfx - Player routine
Post by: roudoudou on 19:11, 31 January 18
Here is a RASM compliant version of the player


As there where macros, parenthesis formulas and conditionnal code, it's a Rasm version only


You will have to set CHIPNSFX_FLAGS, CHIPNSFX and CHIPNSFX_BSS variables to the correct values (i have no doc about that player...) and make a correct WritePSG function instead of a single RET


The source has the correct announced size of 776 bytes + 1 byte for my WritePSG ret


Hope it will help
Title: Re: ChipnSfx - Player routine
Post by: beb on 11:45, 08 February 18
Nice !!!
Since it's the mood, does anyone want to optimize the size? ;)
Title: Re: ChipnSfx - Player routine
Post by: Targhan on 12:16, 08 February 18
Did you contact CngSoft to know what assembler he uses? I'm curious.
Title: Re: ChipnSfx - Player routine
Post by: beb on 13:22, 08 February 18
AS80 http://www.kingswood-consulting.co.uk/assemblers/ (http://www.kingswood-consulting.co.uk/assemblers/)


A bit hard to reach Cngsoft ;)  (it seem someone is happy about that :) )



Title: Re: ChipnSfx - Player routine
Post by: roudoudou on 10:01, 09 February 18
Hicks told me there is many errors in the CNG source because AS80 still has bugs





AS80 Assembler for i8080 [1.42].                                     Page    1
----------------------------- ..\rasm\dbtest.asm -----------------------------


9 lines read, no errors in pass 1.
                         code
0000 =                   org 0
0000 : 00                nop
0001 : 010101            db $,$,$
0004 : 04                db $
0005 : 05                db $
0006 : 06                db $
0007 : 00                nop
                         end


No errors in pass 2.
Wrote binary from address $0000 through $0007.
Total size 8 bytes.
[size=78%]


When AS80 assemble db using $, the reference is the db, not the byte outputed...
So a single db with multiple values does not assemble like multiple db
It seems there is also rounding bugs in frequencies calculations


Below the Hicks version fixed for Rasm[/size]
Title: Re: ChipnSfx - Player routine
Post by: beb on 14:30, 09 February 18
Thank you Edouard ;)...

We spent a lot of time on this player and tunes generator, last night.
Powered by SMFPacks Menu Editor Mod