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

From: Michele Andreoli (m.andreoli@tin.it)
Date: Tue Apr 25 2000 - 08:54:50 CEST


On Mon, Apr 24, 2000 at 10:49:21PM +0200, Miguel Angel nicely wrote:
>
> > I noticed another strange problem about IRQ. The Miguel's scripts
> > convert irq in octal: for example, irq=9 is converted in irq=10, but
> > after some test I noticed this is not really required. I removed
> > the AWK row relative to octal conversion, and it work.
>
> 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.

> ...
> > Does someone remember the POKE function in the Commodore 64?
>
> Really nice!
> I'm feeling 14 years younger, sitting in front of my Amstrad CPC464, typing
> peeks and pokes in basic again! ;-)))

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

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
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