flat assembler
Message board for the users of flat assembler.
Index
> DOS > Error in wav player |
Author |
|
revolution 04 May 2014, 22:59
What do you mean by not working? Crashes? No sound? Displays unicorns instead? Which OS are you using?
|
|||
04 May 2014, 22:59 |
|
sid123 05 May 2014, 00:14
Code: mov ax, [freq] mov al, 0 mov ah, 0 Wow........... _________________ "Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X XD |
|||
05 May 2014, 00:14 |
|
freecrac 05 May 2014, 05:16
mov ax, [freq] ; load AL with the value in DS:freq + load AH with the value in DS:sound
freq db 0 sound: file 'test.wav' mov si, sound+44 ; this location contains ? Missing to load the wav-file. Dirk |
|||
05 May 2014, 05:16 |
|
DOS386 22 May 2014, 08:31
Code: mov byte [freq], al ; Why ??? mov al, 0 mov ax, [freq] ; ERROR - operand size mismatch F**K F**K F**K What the hell is ^^^ this supposed to do? Here you can see working code: http://board.flatassembler.net/topic.php?p=158576#158576 If it doesn't work for you, then you either don't have DOS, or your PC does not have any speaker. |
|||
22 May 2014, 08:31 |
|
prostyle4444 24 Oct 2021, 09:28
Sorry, hadn't learnt about FFT back then. Would love to give it a try again when I can.
|
|||
24 Oct 2021, 09:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.