Fast AY Player

edited July 2012 in Development
This is player for ay register dump stream (compiler for PC included).
Speed: 980..1067t / 1200..1287t (without pattern change/with pattern change)

Discuss on russian community board (zx.pk.ru)
Download from zx.pk.ru

speccy forever!
Post edited by tmk79 on

Comments

  • edited November 2010
    Been briefly following this on zx.pk.ru, and think that this version is better than the first _release you posted there, however, I have some questions...

    On the first _release, I was unable to get the PC compiler to accept anything without crashing, and didn't know the file format that it processed. This release is better - at least it now accepts the files it opens (eg: pt3)... However, when I use sjasmplus.exe to process the PLAYER.asm, I keep getting the "RAM limit exceeded 65536" error message, for every file I try... What am I doing wrong?... Do I manually need to be moving the ORG addresses for this to work?... Do I need to be changing some setting in the PC Compile.exe file when processing my music?... Is the PLAYER fixed in assuming a certain address, is there a limit to the song size that this will process, or can the compile.exe be made to automatically calculate the best address positions to place the data to avoid this error message?... Could you give us some tips and instructions on how to use this and how to get the best out of using it?... It clearly has MUCH potential, and will obviously be a great tool for demo users (who will likely understand this better than me!), but some instructions for ordinary users would expand the usage of this tool for a wider audience!!!!...

    This IS a great tool, and has great potential - Thank you for working on it!... I look forward to seeing this develop and come out of beta !!!

    For English speakers, Iv taken this blurb from the website using google translate:

    "I present to you a versatile player and a compiler that does not depend on the type of tracker, and compiles a dump AY registers, and the size of a compiled module in about half as much, and sometimes even less than the original
    eats 980 .. 1067t / 1200 .. 1287t cycles (the first band - if there is no change of pattern, the second - if available)"
  • edited November 2010
    Figured it out, my mistake - it was me doing something stupid!!!...

    After selecting the file, before you click Compile, next to the compile button is an entry saying maximum block size... It is normally set to 192... Before clicking compile, change its value to something lower, like 64, or 32, and then you increase your chances of avoiding the out of ram message when compiling the PLAYER.asm...
  • edited November 2010
    Actually compilation process consists of three steps:
    1. Open file
    Support raw ay dump file (*.raw? *.bin and all files supported by ayfly.dll)
    2. Setup the maximum size of block = minimum size of pattern in the track multiplied by the speed of track playing.
    For example:
    In the archieve you may find a ay-dump-file, called "AYDUMP.BIN"
    this module use pattern minimum size = 16, track speed = 3... Setup maximum size of block 16*3=48
    Press "Compile ay dump" button.

    First, compiler calculates the value taken for the registers r0,r1,r8 (Channel A variants)/r2,r3,r9 (Channel B variants)/r4,r5,r10 (Channel C variants)/r6,r7 (Channel Reg variants)/r11,r12,r13 (Channel Env variants)
    If more than 256 options, the compilation is not possible!!!

    Secondly, the compiler calculates the size of the compiled track, with a block size: selected, selected/2, selected/4...

    3.See the listing of sizes, obtained by compiling tracks
    Select Optimal size of block fo you; Select address and the type of compilation and save compiled module.

    Compile flag (type):
    - together all - compile player, tables, track, and patterns in one-piece block.
    - separately all - compile player, tables, track, and patterns in separate blocks (each is given its own address)

    If you getting the "RAM limit exceeded 65536" error message - Check the address of the end of the compiled block (in PC compiler), and change addresses for compilation!!!
  • edited November 2010
    Thanks!... that info will help a lot!.. Im not in front of an emulator yet (Im at work), but will try these ideas out later today when I have time...Thanks especially for explaining the formula for where you get the "maximum size of block" number from!... Will try altering the compile addresses in the examples Iv been playing with and see if that helps... Thanks again for taking the time to explain it all to us. I look forward to seeing the continued development of this fine tool in the future!
  • edited November 2010
    Thanks for updating this TmK... just noticed that we're now up to version 1, build 9... thanks... ;)
  • edited June 2012
    Thanks for that!... I noticed that on the Russian forums awhile back... I still find the parameters a little confusing, especially the whole merge thing, but the video does help a bit... Its a decent tool, and I like the fact that it can import a wide range of formats... very nice!... All it needs now is some way of automating the process of merging and compressing the music without the user having to work all that out manually, and then it would be perfect!
  • edited July 2012
    Awesome player. I have tried it together with my code ( compiled with pasmo) and it plays just fine but after a while the sound starts to stutter or go to fast.

    Anyone else experience this?
  • edited July 2012
    micken wrote: »
    Awesome player. I have tried it together with my code ( compiled with pasmo) and it plays just fine but after a while the sound starts to stutter or go to fast.

    Anyone else experience this?

    Ok might have been because of tune end :)

    So I am new to the AY world and needs to know how to turn sound off completely. Right now if I do some playing and exits the computer chimes on ..:/
Sign In or Register to comment.