Ym stream dump support in steem

A forum for anything about the Steem Engine STE emulator, comments, problems, bug reports etc. Steven Seagal regularly provides updated versions of the original STEem code.

Moderators: Mug UK, Steem Authors, Moderator Team

wietze
Captain Atari
Captain Atari
Posts: 185
Joined: Fri Mar 01, 2013 10:52 pm

Ym stream dump support in steem

Postby wietze » Wed Jul 26, 2017 6:19 am

I found out only recently that hatari has the feature of capturing the ym registers (sound output) and writing it to a ym file.

Does steem have a similar feature? If not, could I be so bold as to do this feature request?

Steem has a per frame step through capability, which would rock in combination of ym stream capturing!

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Wed Jul 26, 2017 9:08 pm


wietze
Captain Atari
Captain Atari
Posts: 185
Joined: Fri Mar 01, 2013 10:52 pm

Re: Ym stream dump support in steem

Postby wietze » Wed Jul 26, 2017 9:59 pm

As far as I know, YM3 is the most basic standard, straight up mapping of the register values of the ym chip, without added snazz. (14 bytes per vbl).

Hatari outputs YM3 files.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Wed Aug 09, 2017 7:56 pm

In fact, finding the official description for YM3 has become difficult. The page I linked is for YM6.
There's a compressed version of YM3 (smaller files). Are the files output by Hatari compressed?

FedePede04
Atari Super Hero
Atari Super Hero
Posts: 936
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Ym stream dump support in steem

Postby FedePede04 » Wed Aug 09, 2017 8:25 pm

Hi
I had this on my HD, i don't know if it can help you.


YMFORMAT.TXT
You do not have the required permissions to view the files attached to this post.
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Wed Aug 09, 2017 8:40 pm

In fact I found it somewhere else, but you will admit it's rather confusing :)

FedePede04
Atari Super Hero
Atari Super Hero
Posts: 936
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Ym stream dump support in steem

Postby FedePede04 » Wed Aug 09, 2017 8:54 pm

it is many years since i read it, but i do recall that i had some trouble with it, as i recall it ym4 and ym5 just add extra fx to ym3b, but Leonard is still on this forum, you could ask him, he must know :)
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Wed Aug 09, 2017 9:10 pm

Identify this ;)
You do not have the required permissions to view the files attached to this post.

FedePede04
Atari Super Hero
Atari Super Hero
Posts: 936
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Ym stream dump support in steem

Postby FedePede04 » Wed Aug 09, 2017 9:17 pm

i hear it before, but i can't remember :(
but it work
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

wietze
Captain Atari
Captain Atari
Posts: 185
Joined: Fri Mar 01, 2013 10:52 pm

Re: Ym stream dump support in steem

Postby wietze » Thu Aug 10, 2017 3:21 pm

Steven Seagal wrote:In fact, finding the official description for YM3 has become difficult. The page I linked is for YM6.
There's a compressed version of YM3 (smaller files). Are the files output by Hatari compressed?


The output files by hatari are not compressed. I will do some homework this weekend and post my findings. I'll also contact leonard to ask for ym3 spec.

FedePede04
Atari Super Hero
Atari Super Hero
Posts: 936
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Ym stream dump support in steem

Postby FedePede04 » Thu Aug 10, 2017 3:32 pm

Hi wietze i think Mr Seagal have figure out the format, if you try to load test2.
the ym files are normal compressed by lha or is it lhz (can't remember) so to make the file be compressed better, Leonard change in later version(i think it was from YM3), the way he arranges the file. i think it was what S Seagal was talking about.
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Thu Aug 10, 2017 3:42 pm

Yes I figured it out but it's a bit confusing. As it is, Steem reorders data as indicated (registers/frames instead of the more natural frames/registers).
You can use Lha-1.14i to compress the file, but this too is obscure:

Code: Select all

LHA c -g -0 compressed.ym output.ym

wietze
Captain Atari
Captain Atari
Posts: 185
Joined: Fri Mar 01, 2013 10:52 pm

Re: Ym stream dump support in steem

Postby wietze » Thu Aug 10, 2017 5:27 pm

test2.zip is the exact output I would expect from a ym3 dump.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Fri Aug 11, 2017 1:10 pm

It's very short, just a test, so not very fair to ask to identify.
Here's a longer version, but compressed with LHA so it's only 2K.
You do not have the required permissions to view the files attached to this post.

FedePede04
Atari Super Hero
Atari Super Hero
Posts: 936
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Ym stream dump support in steem

Postby FedePede04 » Fri Aug 11, 2017 2:15 pm

Hi
i work fine. but i have to unlha it first to use in my program :lol:
i still don't remember title of the game, but it was a shooting up game....
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1898
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: Ym stream dump support in steem

Postby Steven Seagal » Fri Aug 11, 2017 3:44 pm

Yes, a space shooter with distinctive music and nice disintegration effect.


Social Media

     

Return to “Steem”

Who is online

Users browsing this forum: No registered users and 2 guests