flat assembler
Message board for the users of flat assembler.

Index > DOS > does any one know where i can find a copy of MKWAV.exe?

Author
Thread Post new topic Reply to topic
connor



Joined: 07 Jun 2016
Posts: 56
Location: sj ca
connor
does any one know where i can find a copy of MKWAV.exe for dos?

its a .bin to .wav converter

_________________
9518741
Post 25 Apr 2019, 06:21
View user's profile Send private message Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 233
Ali.Z
is it shipped with ms-dos? idk, i have 5.0 version and could not find MKWAV.EXE

_________________
Asm For Wise Humans
Post 25 Apr 2019, 17:51
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7494
Location: Kraków, Poland
Tomasz Grysztar
Or is this one?
https://github.com/EvansWinner/mkwav.c
You could probably compile it with some DOS C compiler.
Post 25 Apr 2019, 18:35
View user's profile Send private message Visit poster's website Reply with quote
connor



Joined: 07 Jun 2016
Posts: 56
Location: sj ca
connor
its dosnt compile in borland c; to many errors , what will do it?
Post 27 Apr 2019, 10:30
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16901
Location: In your JS exploiting you and your system
revolution
All it does is this:
Code:
        db      "RIFF"
        dd      .data_end - .head_start
    .head_start:
        db      "WAVEfmt "
        dw      16,0,1,1,44100,0,22664,1,2,16
        db      "data"
        dd      .data_end - .data_start
    .data_start:
        file    'mydata.dat'
    .data_end:    
Just replace 'mydata.dat' with your file name and assemble to 'mydata.wav'

I haven't tested it, maybe it doesn't work. Try it.

You could probably also use the command line -D option to define the source data file name. Then you could "encode" many different files without having to edit the source code.
Post 27 Apr 2019, 12:34
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
connor wrote:
its dosnt compile in borland c; to many errors , what will do it?


Looks like he compiled atop "Fedora Core 3 linux", so that most likely means GCC (so use DJGPP??). Nah, that may not work either. You probably want "rb" and "wb" in fopen calls (and/or setmode(O_BINARY) or whatever, I'm no expert).
Post 28 Apr 2019, 03:41
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.