Re: How to output a square wave to PC speaker (DOSBOX + x86 ASM) (SOLVED)
Posted on 2016-11-11, 23:33
OK the problem came from the _wait procedure. Replacing it by something simpler works perfectly : Copy code to clipboard 1 _wait: 2 mov cx, 10000 3 delay_loop: 4 loop delay_loop This is of course CPU frequency dependent, but it's not a problem for what I want.