The collected works of omelett

mapesdhs wrote: My thanks to Jirka Tolvårige for helping with this (he supplied the modified kernel file).Ian.

Nice, I'm very happy this works. I buyed last week the same card off ebay.de for 6 €.
Mac Version Roms.
May be Fu can put the 3940UW to The O2 Hardware Aggregator?
omelett
recondas wrote: Nice work Ian!

O2 Hardware Aggregator is absolutely a good idea.

Ian, you might also consider asking Jirka Tolvårige if he'd allow you to post the specifics on how adp78.o was modified. It might prove helpful to someone trying a similar mod on yet another piece of hardware.


I've installed the GNOME Hexadecimal Editor ghex 1.2.1
Then I made a copy of the adp78.o file from the /usr/cpu/sysgen/IP32boot directory.
All files in there are read-only, so I modified it with the chmod command -

Code: Select all

chmod 666 Copy_of_adp78.o

Then in ghex - Open file - I choosed the Copy_of_adp78.o
Then I searched the Cipher 8178 and replaced it with 8278, like recondas says in the thread (Link below). (Edit-Find, then 8178 -search for hex-data) I had to do it twice, this Number appears at two places.
Then I saved the file, but I forgot to chmod it back to 444 /:) and send it to Ian.

viewtopic.php?f=3&t=17554

omellet
hehe, take yoko ono - money makes the world go 'round
best to You, omelett
http://www.siliconbunny.com/downloads/c ... t_disk.ksh

this working perfect since times .......
remember! this is k-shell script.
so :

Code: Select all

ksh

then there make this run like ......you know
best, omelett

P.S. edit that script before, if your drives have another 'dks/dsk' numbers
P.S.II. siliconbunny refreshed her site! nice!!!!!!!!!!!!!
must take a new look.
P.S.III-important- make sure You have prepared the 'to clone-disk' to have the same parameters-

Code: Select all

fx -x

there You go
the procedure to make a root disk & that one to re-size (if its not standard) the swap partition ;)
goood luck, its easy
hi there -
together with my silicon graphics computers, I'm now happy to have my first macbook pro (13inch model) - I like it much! - even if there is no way to run smoke on it :) - or pegamento...my favorite app on my O2

but there is a strangeness about the accounts on this box - I can change the account name easy in the system preferences - but in the Finder, beside of the 'house' icon, there remains the old name of the user. this I can't change! can someone help me on this? did someone made the same experience ?

thanks in advance and good luck in the new year!
omelett
thank you recondas!
It worked for me like a charm....
Have all files in the place with all permissions.

bye
omelett
Hi
I have an Sony GDM-FW900 CRT connected to my Octane 2, @1920x1200/76Hz.
The 'default' res of the monitor is 1920x1200 - 96Hz maximum (16 : 10).*
To get more workspace, I have now used the first vga input to connect my 2009 mbp 13 inch to it.
The highest resolution I can get there is 1920x1080/60Hz.
On the second monitor input (trere is normaly the Octane connected) the same.
Tried a shareware called x-something didn't work for me.
Is there any workaround to force the OS X to drive the CRT at that* resolution?
Help would be appreciate.

omelett

(octane 2, 2GB Ram, VPro12, IRIX 6.5.28 / mbp, 13", 2GB Ram, OSX10.6.3)
Hi fu,
thanks for reply!
If You find something, that would be great!
I don't know, why I cling on to that old stuff :)

omelett
I was happy to see how well this pd-0.37.4 performs on my O2.
In order to use this fine audio software more advanced, there is a set of pd-externals for download.
Included is also a makefile for IRIX.
First I've tried to compile with the systems own cc (installed from the cd's developer libraries and developer foundation). It didn't work. I installed then the fw_gcc3.3 and fw_gmake from sgi's webpage. It didn't work. It is possible, that I need a different version of gcc?
The helpfiles provided does not say anything about the version of a compiler.
here are the files I'm using:
pd http://sourceforge.net/projects/pure-data/files/pure-data/0.37-4/
pd-externals http://sourceforge.net/projects/pure-data/files/pd-externals/20030311/
here is the hinv / O2 http://forums.nekochan.net/viewtopic.php?f=14&t=16719990
IRIX version is 6.5.28
here is a screenshot showing at the very bottom left the console of the gcc and above the error of the cc. on the right the makefile/ nedit.
Can anyone help me with this? Thanks omelett
PymbleSoftware wrote:
install and try the neko_gmake package in nekoware.


R.



Hi R. Thank You for the hint!
It didn't work either. The same make error :
Code:
EA 3# /usr/nekoware/bin/gmake -f /pd-0.37/pd-externals/build/irix/makefile
gmake: *** No rule to make target `externals~.pd_irix6', needed by `pd_irix6'.  Stop.

After that, I have also installed the neko_gcc43_core, but it remains the same.
here is the makefile, provided with the sources :
Code:
NAME=externals~
CSYM=externals_tilde

current: pd_irix6

# ----------------------- NT -----------------------

pd_nt: $(NAME).dll

.SUFFIXES: .dll

PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
VC="C:\Program Files\Microsoft Visual Studio\Vc98"

PDNTINCLUDE = /I. /I\tcl\include /I\ftp\pd\src /I$(VC)\include

PDNTLDIR = $(VC)\lib
PDNTLIB = $(PDNTLDIR)\libc.lib \
$(PDNTLDIR)\oldnames.lib \
$(PDNTLDIR)\kernel32.lib \
\ftp\pd\bin\pd.lib

.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)

# ----------------------- IRIX 5.x -----------------------

pd_irix5: $(NAME).pd_irix5

.SUFFIXES: .pd_irix5

SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2

SGIINCLUDE =  -I../../src

.c.pd_irix5:
cc $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c
ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o
rm $*.o

# ----------------------- IRIX 6.x -----------------------

pd_irix6: $(NAME).pd_irix6

.SUFFIXES: .pd_irix6

SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip32

.c.pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o

# ----------------------- LINUX i386 -----------------------

pd_linux: $(NAME).pd_linux

.SUFFIXES: .pd_linux

LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch

LINUXINCLUDE =  -I../../src

.c.pd_linux:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
ld -export_dynamic  -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm -f $*.o ../$*.pd_linux
ln -s $*/$*.pd_linux ..

# ----------------------- Mac OSX -----------------------

pd_darwin: $(NAME).pd_darwin

.SUFFIXES: .pd_darwin

DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch

.c.pd_darwin:
cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
cc -bundle -undefined suppress  -flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o ../$*.pd_darwin
ln -s $*/$*.pd_darwin ..

# ----------------------------------------------------------

clean:
rm -f *.o *.pd_* so_locations


Any Help / Ideas , how to get it compiled?

omelett
vishnu wrote:
That's a make error not a compiler error. Which isn't to say that gcc will compile it once the make error is solved, but the first time you tried to compile it was with Irix make, not gmake?


Yes thats true, vishnu. It was IRIX make the very first time, then I installed the fw_gcc3.3 and fw_gmake from sgis freeware site. Finaly I tried the neko_make.
I got a hint pointing at some problems with makefile regarding "inconsistent line-breaks".
So I wrote part of the makefile in new file ( I let out the darwin, nt and linux parts) with nedit, but the make error remains the same.

I never compiled anything before, so my knowledge at this is near ground zero.
I have added the path for freeware and neko directories in my .login file.

Anyway, thank You for Your help!

omelett
Thanks R. !

I don't try to compile pd. I use the binary from sourceforge, for IRIX 6.5
I try to compile the pd-externals package, which provide some more functionality to pd.
Because the official support for pd on IRIX was dropped some years ago, You cannot download a recent pd-extended version which includes all the externals and is precompiled for linux, osx and w..
According to the "readme", You have only to 'make' it, no configure or autotools.
Code:
EA 2# /usr/nekoware/bin/gmake --debug=v /Desktop/pd-externals/build/irix/makefile
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for mips-sgi-irix6.5
Reading makefiles...
Updating goal targets....
Considering target file `/Desktop/pd-externals/build/irix/makefile'.
Finished prerequisites of target file `/Desktop/pd-externals/build/irix/makefile'.
No need to remake target `/Desktop/pd-externals/build/irix/makefile'.
gmake: Nothing to be done for `/Desktop/pd-externals/build/irix/makefile'.


I opened the 'makefile' with vi. there are no ^M. There is only the text I can see with nedit too.
Nedit doesn't say nothing about DOS.

So what I'm missing? gmake doesn't like the makefile... :(
edited makefile:
Code:
NAME=choice
CSYM=choice

current: pd_irix6


# ----------------------- IRIX 6.x -----------------------

#pd_irix6: $(NAME).pd_irix6

#.SUFFIXES: .pd_irix6

SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip32

pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o


# ----------------------------------------------------------

clean:
rm -f *.o *.pd_* so_locations

I removed the DOT before pd_irix6 (like "fred" in Your example)

gmake output :
Code:
EA 15# /usr/nekoware/bin/gmake --debug=v
GNU Make 3.81
This program built for mips-sgi-irix6.5
Reading makefiles...
Reading makefile `makefile'...
Updating goal targets....
Considering target file `current'.
File `current' does not exist.
Considering target file `pd_irix6'.
File `pd_irix6' does not exist.
Finished prerequisites of target file `pd_irix6'.
Must remake target `pd_irix6'.
cc -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip32  -o .o -c .c
cc WARNING:  Unrecognized -Ofast value 'ip32': defaulting to 'ip25' (R10000 Power Challenge)
cc ERROR:  file does not exist:  .c
gmake: *** [pd_irix6] Error 2


I don't understand, but ....

Anyway, thanks a lot R.!

omelett
hi there,
@ vishnu - thanks for Your hint vishnu!
Code:
EA 18# cd /Desktop/pd-externals/aenv~
EA 19# cc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip25 aenv~.c -o aenv~.o
No such feature exists (-5,116)

The MIPSpro C Compiler
(license FEATURE string = cc)
requires a license password.

For license installation and trouble shooting
information visit the web page:

http://www.sgi.com/Support/Licensing/install_docs.html

To obtain a Permanent license (proof of purchase
required) or an Evaluation license please
visit our license request web page:

http://www.sgi.com/Products/license.html

or send a blank email message to:

[email protected]

In North America, Silicon Graphics' customers may request
Permanent licenses by sending a facsimile to:

(650) 932-0537

or by calling our technical support hotline

1-800-800-4SGI

If you are Outside of North America or you are not a Silicon
Graphics support customer then contact your local support provider.

cc ERROR:  cannot exec /usr/lib32/cmplrs/fec
EA 20# gcc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip25 aenv~.c -o aenv~.o
gcc: cannot specify -o with -c or -S and multiple compilations
EA 21#


so far I "understand" is that makefile for the MIPS PRO compiler..?

@R. - thank You R.!
here is the modified makefile and the console output
Code:
NAME=choice
CSYM=choice

current: pd_irix6


# ----------------------- IRIX 6.x -----------------------

#pd_irix6: $(NAME).pd_irix6

#.SUFFIXES: .pd_irix6
OBJS=aenv~.o ann.o ann_som.o arbran.o arraysize.o ascseq.o ascwave.o atan2~.o average.o bandpass.o bangfilt2.o bangfilt.o beat.o beta.o bfilt2.o bfilt.o bilex.o binshift.o borax.o button.o catch13~.o cauchy.o cdplayer.o chord.o counter.o cxavgdev.o cxmean.o cxstddev.o delta.o delta~.o dist.o dist_normal.o divide.o divmod.o edge.o envgen.o equalizer.o expo.o fifo.o filesize.o ftos.o gauss.o gestalt.o henon.o hex2dec.o highpass.o highshelf.o history.o hlshelf.o ignore.o ikeda.o image.o inv.o iso.o ixprint.o kalashnikov.o lifo.o limit.o linear.o listfunnel.o lorenz.o lowpass.o lowshelf.o mandelbrot.o mandelbrot~.o match.o mean.o mean~.o microtime.o minus.o mixer~.o mlife.o moog~.o multi.o netclient.o netdist.o netrec.o netserver.o notch.o nroute.o oggamp~.o oggcast~.o oggread~.o oggwrite~.o openpatch.o ossmixer.o piperead~.o pipewrite~.o pitch.o plugin~.o plus.o poisson.o pong.o prepend.o proc.o promiscous~.o proxy.o pulse.o qread.o random1.o randomix.o random_fl.o random_icg.o random_tw.o receive13.o receive13~.o remote.o reson.o reson~.o rhythm.o rhythm_ioi_histogram.o rhythm_quantum.o rhythm_slave_metro.o rl.o rossler.o rtin~.o scale.o score.o scramble~.o send13.o send13~.o serialctl.o serialize.o serial_bird.o serial_ms.o sfread~.o sfwrite13~.o sfwrite~.o shell.o sigdelta.o sinh.o slider.o sl.o speedlim.o sprinkler.o state.o step.o streamin13~.o streamin~.o streamout13~.o streamout~.o stripdir.o strippath.o subst.o susloop~.o svf~.o temperature.o throw13~.o ticker.o tilt.o toddle.o triang.o unserialize.o utime.o vbap.o velocity.o vst.o wavinfo.o weibull.o zhzxh~.o

#SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip25

pd_irix6: $(OBJS)
#   cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o abc.pd_irix6 $(OBJS)
rm $*.o


# ----------------------------------------------------------

clean:
rm -f *.o *.pd_* so_locations

Code:
EA 15# cd /Desktop/pd-externals/build/irix
EA 16# /usr/nekoware/bin/gmake --debug=v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for mips-sgi-irix6.5
Reading makefiles...
Reading makefile `makefile'...
Updating goal targets....
Considering target file `current'.
File `current' does not exist.
Considering target file `pd_irix6'.
File `pd_irix6' does not exist.
Considering target file `aenv~.o'.
File `aenv~.o' does not exist.
Finished prerequisites of target file `aenv~.o'.
Must remake target `aenv~.o'.
gmake: *** No rule to make target `aenv~.o', needed by `pd_irix6'.  Stop.
EA 17#


here is the link to the source of the pd-externals
http://sourceforge.net/projects/pure-data/files/pd-externals/20030311/
here a link to the "newest" binary of pd - thanks to Olaf
http://www.nullmedium.de/dev/irix/

Any Ideas?

omelett
Thanks vishnu & R.
@vishnu - so that means, there are different makefiles for different compilers? is that true?
@R. - sorry R., but it still don't make a difference.

omelett
@ vishnu - thanks much for Your hint vishnu!
here the output from console:
Code:
EA 5# cd /Desktop/pd-externals/arraysize
EA 6# gcc -c arraysize.c -o arraysize.o
arraysize.c:15:18: m_pd.h: No such file or directory
arraysize.c:17: error: parse error before '*' token
arraysize.c:17: warning: data definition has no type or storage class
arraysize.c:20: error: parse error before "t_object"
arraysize.c:20: warning: no semicolon at end of struct or union
arraysize.c:21: warning: data definition has no type or storage class
arraysize.c:22: error: parse error before '}' token
arraysize.c:22: warning: data definition has no type or storage class
arraysize.c:24: error: parse error before '*' token
arraysize.c: In function `arraysize_set':
arraysize.c:26: error: `x' undeclared (first use in this function)
arraysize.c:26: error: (Each undeclared identifier is reported only once
arraysize.c:26: error: for each function it appears in.)
arraysize.c:26: error: `s' undeclared (first use in this function)
arraysize.c: At top level:
arraysize.c:29: error: parse error before '*' token
arraysize.c: In function `arraysize_bang':
arraysize.c:31: error: `t_garray' undeclared (first use in this function)
arraysize.c:31: error: `garray' undeclared (first use in this function)
arraysize.c:33: error: parse error before ')' token
arraysize.c: At top level:
arraysize.c:40: error: parse error before '*' token
arraysize.c: In function `arraysize_new':
arraysize.c:42: error: `x' undeclared (first use in this function)
arraysize.c:42: error: parse error before ')' token
arraysize.c:46: error: `s' undeclared (first use in this function)
arraysize.c: In function `arraysize_setup':
arraysize.c:53: error: `t_newmethod' undeclared (first use in this function)
arraysize.c:53: error: parse error before "arraysize_new"
arraysize.c:55: error: `t_method' undeclared (first use in this function)
arraysize.c:55: error: parse error before "arraysize_set"

I've tried some other options like "-n32" but gcc claims "unrecognized option '-n32' ".

The file 'm_pd.h'
Attachment:
image2.jpg
image2.jpg [ 24.05 KiB | Viewed 627 times ]

another attempt :
Code:
EA 13# cd /Desktop/pd-externals/maxlib
EA 14# gcc -c maxlib.c maxlib.o
gcc: maxlib.o: No such file or directory
maxlib.c:28:18: m_pd.h: No such file or directory
maxlib.c:37: error: parse error before "t_object"
maxlib.c:37: warning: no semicolon at end of struct or union
maxlib.c:38: warning: data definition has no type or storage class
maxlib.c:40: error: parse error before '*' token
maxlib.c:40: warning: data definition has no type or storage class
maxlib.c:100: error: parse error before '*' token
maxlib.c: In function `maxlib_new':
maxlib.c:102: error: `x' undeclared (first use in this function)
maxlib.c:102: error: (Each undeclared identifier is reported only once
maxlib.c:102: error: for each function it appears in.)
maxlib.c:102: error: parse error before ')' token
maxlib.c: In function `maxlib_setup':
maxlib.c:108: error: `t_newmethod' undeclared (first use in this function)
maxlib.c:108: error: parse error before "maxlib_new"

I do not have any idea now.
Is there a way to get rid off these errors? ('x' 's' 't_method' etc.) or not?
Could someone with MIPSPRO give it a try?

regards

omelett