Re: [mu TECH] Runtime sound driver (DMA16)

From: Miguel Angel (maacruz@navegalia.com)
Date: Tue Apr 25 2000 - 21:21:08 CEST


On Tue, 25 Apr 2000, Michele Andreoli <m.andreoli@tin.it> kindly wrote:
> On Mon, Apr 24, 2000 at 10:49:21PM +0200, Miguel Angel nicely wrote:
...
>> Strange, be careful! I used "echo -ne" to do the conversion between numbers
>> and bytes, and it is documented to convert octal, not decimal. (I think your
>> example really says irq=9 > irq=11). I think you will have trouble for
>> irq>=10 (decimal)
>
> Yes: 10(oct) is 8(dec) :-) About your "echo": I can't see the scope of "-e"
> switch, because no escape sequence found in string.

On soundcfg you can see:

PATCHSTR="$PORTADDR 220 $PORT \n$IRQADDR 5 $IRQ\n$DMAADDR 1 $DMA"

where i use the '\n' escape secuence.
And on binpatch:

        byte=\\$oldbyte;

where i put a scape character '\' to the octal value previously read on
standard input.

> This remember me the first program I saw, typed by vendor itself as
> demo:
> 10 print "Tony HI-FI"
> 20 goto 10
> RUN

And my first program :-DDD
        10 print "Hola"
        20 goto 10
        RUN

--
Don't see the world trought a window, be open{source}minded, and be free :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:14 CET