News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

ChipnSfx - Player routine

Started by beb, 16:52, 30 January 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

beb

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.
>> Oldskool Rules // Asic Suxx <<

Targhan

Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

beb

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)

>> Oldskool Rules // Asic Suxx <<

roudoudou

#3
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
My pronouns are RASM and ACE

beb

Nice !!!
Since it's the mood, does anyone want to optimize the size? ;)
>> Oldskool Rules // Asic Suxx <<

Targhan

Did you contact CngSoft to know what assembler he uses? I'm curious.
Targhan/Arkos

Arkos Tracker 2.0.1 now released! - Follow the news on Twitter!
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.1 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

beb

#6
AS80 http://www.kingswood-consulting.co.uk/assemblers/


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



>> Oldskool Rules // Asic Suxx <<

roudoudou

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]
My pronouns are RASM and ACE

beb

Thank you Edouard ;)...

We spent a lot of time on this player and tunes generator, last night.
>> Oldskool Rules // Asic Suxx <<

Powered by SMFPacks Menu Editor Mod