Recent Posts

Pages: [1] 2 3 4 5 6 7 8 9 10
1
I think I need to cut down on the caffeine.

Never! Great write up, lauland! :)
2
I think I need to cut down on the caffeine.
3
"Jabbernaut for m68k new attempts"
https://system7today.com/forums/index.php?topic=3802.msg16829;topicseen#msg16829

I plan to add notes about all the mistakes I made in the first attempt, and how I, in many cases very haphazardly, solved them...at some point...

----

The main key was the fact that CodeWarrior, like pretty much all Mac compilers, has a feature that compilers on pretty much every other platform don't have: Recursive include file directories.

Open any project in CodeWarrior and go to the project settings and then "Access Paths".  Look at the directories and for each line you'll see a checkmark, a little folder kinda icon, what it is relative to ("Project", "Compiler", etc) and finally the actual path.

I had absolutely no idea that the little folder kinda icon was a button!  And what it does is toggle if that particular directory is searched recursively or not.  I've used CodeWarrior since it came out and I never knew that.  I'd never ever clicked on it.  I thought it was just saying "This is a folder" or "This folder exists", etc.

----

This very rarely has any effect...in fact, it only does when you have two include files with the same name...in different directories...and one (or both) of them is (are) in subdirectories inside that folder.  If you're coding right, you have unique filenames for each include file whenever humanly possible.

...but...it can happen...and it does happen with GUSI.  (Grand Unified Socket Interface...I think).  It is a package of functions for Macs that implements something closely resembling the standard Berkley Unix socket api...and other functions that are needed to do this.  This was extremely useful for porting software for the Mac.

The thing that had me pulling my hair out, and barking up many wrong trees, were two (or more?) files named "time.h".  Most Mac C libraries do NOT include a "sys" folder with, among other things, "sys/time.h".  Look in the source of a lot of software that originated on *nix and you'll see #include <sys/time.h>

Many Mac compilers DO have a time.h, they just don't put it in a subdirectory called "sys".

I was getting very strange compiler errors revolving around GUSI's sys/time.h and CodeWarrior's time.h...in fact, sys/time.h INCLUDES time.h!  So...cutting to the chase, if you use GUSI in a CodeWarrior project and you have that little "recursive include file directory" icon turned on for the GUSI headers, just about no matter what you do, you end up with a circular reference. 

Most well written headers have something like #ifndef MYNAME_H" "#define MYNAME_H", then their actual content, and finally an "#endif".  By doing this, they ensure their content is only included once, regardless of how many times they are included.

So...with the "recursive include file directory" trick, if you have something like that, you'll see it saying it can't find definitions...if the header DOESN'T have the "#ifndef MYNAME_H", you instead get warnings/errors that things are being redefined.  Either way, if you don't know that somehow something like sys/foo.h, if it has #include <foo.h> in it, ends up including ITSELF, you will go crazy like I did.

----

The other key, and less irritating, is that CodeWarrior will ignore the path files had when you added them to a project the first time...and find them AGAIN, going just by the name (ignoring the path), every time you make changes to the "Access Paths".  So if you carefully dragged "time.h" from the GUSI folder to the project...then removed the GUSI folder from your "Access Paths" (or reordered things), the "time.h" you see in the project will be SOME OTHER file with that name...the first one CodeWarrior can find looking through all the directories...blah blah blah blah.  You can imagine how this bit me, before I saw it doing it, and my carefully constructed project file contents changing before my eyes...

With Jabbernaut, this was happening because the "Zoop" folder contained several different versions of the MacZoop framework.  They were all there because it wasn't clear which one was needed for which Jabbernaut project file.  So, when trying to build it, you could end up having a source file that is part of one version of Zoop including a Zoop header from a different version, etc etc.  Until I figured out that the only Jabbernaut build that actually worked used Zoop 2.5, and removed all the other versions and optional add ons from the "Zoop" folder, things were very confusing.

----

I will spare you how I FINALLY completely accidentally figured those out, because, as you can plainly see, I am EXTREMELY VERBOSE. 

I planned on posting the above explanation to system7today, but am trying to pace myself because I know, when I am in the right mood, I can end up completely dominating conversations, and driving everyone slightly(?) crazy.  And the last thing I want is to make system7today (or anywhere else) into a "laulandtoday" ego echo chamber.

I probably shouldn't speak unless spoken to...eh?

I'm going to shut up now!

4
CPU Upgrades / Re: The 1.6ghz Sonnet Encore MDX overclocking project
« Last post by indibil on Yesterday at 09:50:39 PM »
Hello! How fun this post. I recently got a Sonnet Duet 2x1.83GHz processor for MDD and after reading this post and Project Nova, I decided to go up to 2GHz. But I come to give bad news.

At 1.83GHz the Dual processor is totally stable, but when it reached 2GHz it had problems, and sometimes the diagnosis indicated problems with the RAM modules, so I blamed them first.

Once the correct RAM modules were installed, I tried to install the original MDD aluminum heatsink, but unlike Project Nova, mine did not fit well, look at the attached photo with the thermal compound marks, only part of the processor. I show it to you so you can verify it, because bad contact can burn a processor.

After reinstalling the Sonnet cooler, I replaced the 50x50 fan with an 80x80 fan. And it seems that GeekBench worked well and with maximum temperatures of 54ºC.

But I decided to do a more intensive test. I ran GeekBench tests one after another, and always at most the third test the GeekBench would freeze and when I ran it again, it would take a long time or freeze again, and sometimes appears panic kernel. The temperature was beginning to approach 56ºC.

I think that the dual processor works at 2GHz but very at the limit, probably with insufficient voltage for stability, because perhaps some installed 7447s have more stability at 2GHz than others, perhaps mine do not, others perhaps do.

I would need the combination for 1.92GHz. Does anyone know her?

I simply wanted to provide these details to those planning the overclock.

:)
5
I've got another upgraded Mac mini G4 w/ power adapter for auction. This one is a 1.25 Ghz machine with the following upgrades:
- 128 GB Toshiba SSD via ATA to mSATA adapter
- New OWC 1 GB stick of RAM
- New Clock Battery
- Pre-installed Mac OS 9.2.2 distribution from MacOS9Lives.com

See the description for detailed condition notes:
https://www.ebay.com/itm/126442275453
6
Software / Re: Hellcats Over the pacific - on Mac OS 9.2.2
« Last post by bamdad on April 21, 2024, 04:39:20 PM »
first one can be crossed out, as hellcats produces the same black screen on every flavour of 9.2.x i tried. in other good news my pismo started randomly freezing, i'm guessing caps or memory (ordered a fresh set of 2x512M sticks) we'll see..

i've seen the 68kmla topic about 8.6 booting on a pismo with a modified ROM, might try that later on the mini
7
News, Information & Feedback / Re: HELP board set to "Reply Only"
« Last post by Knezzen on April 20, 2024, 09:19:05 AM »
All topics have been moved but the German ones. I simply don't have the time right now. I will get around to do that as well soon :)

And as always; nothing has been deleted, only moved.
8
Off Topic / Re: Rise of the Machines?
« Last post by smilesdavis on April 20, 2024, 03:10:03 AM »
Coined in the check book RUR from 1920
9
I managed to get my changes persisting, and narrowed down the `probe-all` issue to the Ethernet device failing to be opened in the `finish-device-tree` step. This happens on all of the G4 machines that I tested.

I've spent a lot of time on this today and unfortunately spoofing the older chipset didn't result in any success. I wasn't expecting this to work but it was worth a try.
Thanks so much for all the help joevt, I've learned a lot from this thread.
10
Off Topic / Re: Rise of the Machines?
« Last post by IIO on April 19, 2024, 08:22:00 PM »

I hope you all do realize that the field called "AI" has always been underwritten by the military.

just as airplanes, cars, ships, the telegraph, the internet, graphics cards, equipped kitchens and functional food.

Quote
Remember, "robot" is from the Czech word for slave (or corvée). An army of Lieutenant Calleys, forever.

that´s true.

most people would think it comes directly from the russian "rabota" (working), but it comes form the slavic "robath" which means "compulsory labor" (in the context of feudalism/church oppression/taxing)

of course the main issue on t his planet remains that many humans are still slaves. transmitting forced labor to the machines would normally be a good idea - i just dont believe in it.
Pages: [1] 2 3 4 5 6 7 8 9 10