|
|
|
|
| Welcome, Guest | Home | Search | Login | Register | |
| Author | Trying to compile Jabbernaut and need some help! (Read 125142 times) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
lauland
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer! |
Reply #60 on: April 15, 2024, 20:35
While on hotline with Knezzen et al they mentioned something about icons and Internet Config... I found the Internet Config SDK, restored support and now the file icons all display! Will update github with these changes at some point... NOTE: There is a bug where all you will see is the SIOUX debug window. It will say something like "err is -43" (which is where it fails to create the prefs files) and the last message is "end of opendatafork". I believe an exception somewhere in PowerPlant's file classes is being thrown and nothing is catching it. If this happens just Command-Q to quit. I'm going to add more debug messages to those exception throws... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last Edit: April 15, 2024, 21:50 by lauland
|
Knezzen
|
Administrator 512 MB ![]() ![]() ![]() ![]() ![]() Posts: 608 Village idiot
Reply #61 on: April 15, 2024, 20:59
|
Wonderful! Hotline saves lives (and dev projects)
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #62 on: April 15, 2024, 23:00
|
Ok, it turns out it wasn't crashing if it just shows you the SIOUX window...on some systems whatever is causing the prefs error acts slightly different...and it was actually starting, but not showing the "New Connection" dialog. I've now forced it to always show the dialog. I uploaded a new version, with slightly clearer debug messages for the skipped exception throws to the Uploads folder on hotline. The new one is "Goliath Debug m68k NEW.sit". I tested it and it starts and runs in Basilisk on 7.5.3, but since I don't have networking configured (just no OpenTransport?) it can't actually connect. I believe it requires OpenTransport, am sure it requires Internet Config 2.x, and Appearance Manager. (If you don't have Appearance it'll show you an assertion error in the debug messages...I'll try and make it more friendly later). It also reminds you to do Command-Q when it's finished and is just sitting at the SIOUX debug window. Still need to test on an actual machine...
Last Edit: April 15, 2024, 23:07 by lauland
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #63 on: April 16, 2024, 19:30
|
Goliath 68k: Release build leaves out the debug printfs, and for the debug build disabled all but the ones in PowerPlant. Challenge complete! https://macintoshgarden.org/apps/goliath-101 ---- On to Jabbernaut m68k...after I take a break... (I think this thread is too long, so I'll start a new one when I get to that).
Last Edit: April 16, 2024, 20:04 by lauland
|
Bolkonskij
|
Administrator 1024 MB ![]() ![]() ![]() ![]() ![]() Posts: 2023
Reply #64 on: April 17, 2024, 06:56
|
Amazing effort, lauland! I've been very busy during the past few days, so couldn't follow this thread along like before but will make sure to read everything carefully. Thank you for sharing your experience so detailed with us and letting us be your rubberduck ;-) I just want to report back that I've downloaded the 1st download on the Mac Garden page (68k Goliath) and that it crashes hard on my 7500/100 running System 7.6.1. Macsbug reports: Quote PowerPC illegal instruction at 00000000
|
Knezzen
|
Administrator 512 MB ![]() ![]() ![]() ![]() ![]() Posts: 608 Village idiot
Reply #65 on: April 17, 2024, 08:35
|
Quote from: Bolkonskij I just want to report back that I've downloaded the 1st download on the Mac Garden page (68k Goliath) and that it crashes hard on my 7500/100 running System 7.6.1. You need Internet Config Extension installed for it to run. I haven't tried it on the 8600, but it works on 9.2.2 on the TiBook at least.
|
Bolkonskij
|
Administrator 1024 MB ![]() ![]() ![]() ![]() ![]() Posts: 2023
Reply #66 on: April 17, 2024, 09:31
|
Ah, must have overlooked that. I like I said, I need to catch up reading this thread, didn't have time for it. I need to check if I have Internet Config installed and what version. EDIT: Just checked, Internet Config is in extensions and at v.2.0.2. I'm on a German 7.6.1 - could that cause issues?
Last Edit: April 17, 2024, 15:56 by Bolkonskij
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #67 on: April 17, 2024, 17:03
|
Note that (unfortunately) Appearance manager is also required. As is OpenTransport, but since you're 7.6.1 on a 7500 that should be default. In my testing, if you don't have Internet Config it will put up a warning, but if you don't have appearance it will just quit without starting. I had a debug printf that warned you I can put back in. If you don't have OpenTransport, I think it looks like it is working (opens a file window), but just never connects. The language shouldn't matter, unless that's just a bug in the original Goliath...and/or the crazy PowerPlant mutant I had to use. I have a Japanese install of OS 9 on my 7600 I can test...if it really is a language bug that should trigger it worse than German due to the more complex input methods/etc/etc. ---- I tested various combos of the above extensions and MacOS 7.5.3, 7.6.1 and 8.1 on Basilisk, and OS 9 in SheepShaver to figure out the requirements. The original Goliath required 8.1 or higher, so it's a minor miracle that it runs on anything lower, at all!
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #68 on: April 17, 2024, 17:08
|
One odd thing I noticed, is that in Basilisk 7.5.3/7.6.1/8.1 the file icons are all blank/generic. No idea why. A theory is that it (or Internet Config) is pulling the icons from the System file, or something like that, and they're all there in 8.5 or higher, maybe? I had a build that didn't require Internet Config that did the same thing on OS 9. I think I'll re-instate that...it seemed to work fine, other than the icons, without it, ---- But, of course, the REAL question is how well it works on a real M68k mac!
|
ClassicHasClass
|
32 MB ![]() ![]() ![]() Posts: 39
Reply #69 on: April 17, 2024, 17:12
|
Quote PowerPC illegal instruction at 00000000 Just as a general note, this is what you get (at least on PPC) if your code references a library that it isn't actually linked against. This is probably due to stubs. For example, I'm reworking MacLynx to make a PowerPC native version once again and it would crash promptly if I had it "speak" text until I realized I hadn't added SpeechLib to the link list. I'd check that you're linking everything you're supposed to in the CodeWarrior project.
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #70 on: April 17, 2024, 22:24
|
I think that would happen with "weak linking" in the CFM, if it can't find the actual library at runtime. Definitely not what is going on here, since it's m68k and not CFM. It could be that's what you get if you have a jump to a NULL pointer...maybe a callback or universal proc pointer (since it thinks it's ppc code) that isn't initialized. And if it isn't initialized it could vary for different people/machines and even different runs...and sometimes seem harmless (if you're lucky!). These are the libs I'm linking with: <PATH>LibCrypto 68K.Lib</PATH> <PATH>LibSSL 68K.Lib</PATH> <PATH>MSL C++.68K Fa(4i_8d).Lib</PATH> <PATH>MSL C.68K Fa(4i_8d).Lib</PATH> <PATH>MSL Runtime68K.Lib</PATH> <PATH>MSL SIOUX.68K.Lib</PATH> <PATH>MathLib68K Fa(4i_8d).Lib</PATH> <PATH>AEObjectSupportLib.o</PATH> <PATH>ICGlueFar.o</PATH> <PATH>Navigation.far.o</PATH> <PATH>OpenTptInet.o</PATH> <PATH>OpenTransport.o</PATH> <PATH>OpenTransportApp.o</PATH> (LibCrypto and LibSSL are part of OpenSSL) It's linking to Navigation, but it doesn't look like it's required...just tested and it uses the standard open and save dialogs on my 7.5.3 which doesn't have Navigation installed. I've noticed on 7.5.3 when I'm using classic (not OpenTransport) networking it will hang Basilisk sometimes when I quit the app...but it doesn't work without OpenTransport anyway...I should probably have it quit at start or show a message if you don't have it. CW6's PowerPlant has MacTCP support, but not CW8's which I'm using. ---- So still room for improvement as far as requirements and warning if you don't have them installed, etc. But I'll probably never get around to it...as long as it runs if you meet the requirements it is good enough. Bolkonskij, do you have MacBugs installed on your German 7.6.1 7500 that crashed? If you do, you could do an "sc" command to show the stack and it should show which func it is crashing in.
Last Edit: April 17, 2024, 22:27 by lauland
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #71 on: April 18, 2024, 16:44
|
FYI Been testing on my PB 540. 7.5: With no MacTCP or OpenTransport it opens and looks like it tries to connect, but doesn't do anything and crashes on quit. (Prob because no TCP networking). 7.6: With OpenTransport 1.1 it works fine and the icons display correctly!
|
ClassicHasClass
|
32 MB ![]() ![]() ![]() Posts: 39
Reply #72 on: April 18, 2024, 18:21
|
Quote I think that would happen with "weak linking" in the CFM, if it can't find the actual library at runtime. Definitely not what is going on here, since it's m68k and not CFM. Ah, quite right, I didn't catch that part.
|
lauland
|
512 MB ![]() ![]() ![]() ![]() ![]() Posts: 674 Symtes 7 Mewconer!
Reply #73 on: April 18, 2024, 20:24
|
I'd bet real money this is what is going on: The original was for 8.1 or higher on ppc, so they made some assumptions about the system and which apis were avail, that were perfectly safe in that situation...so they get callbacks and proc pointers to some things, but never check that they aren't null. It's something that isn't default on stock 7.6 ppc, but would take a lot of looking to find what where...and probably not worth the time to figure out. Pretty sure it assumes Appearance manager and open transport, so if either of those are missing, there's some dangling pointers and it'll crash when it tries to call them.
|
Bolkonskij
|
Administrator 1024 MB ![]() ![]() ![]() ![]() ![]() Posts: 2023
Reply #74 on: April 19, 2024, 15:04
|
First, sorry for answering late guys. Busy days here - hardly found the time to look in here. Weekend now, finally! I need to catch up :-) I don't have Appearance Manager on my 7.6.1 (but OT 1.3.1). So that's likely the cause for the crash. (I do have Macsbug installed, that's where the error I reported came from) I suppose a nice & clean version without Appearance Manager is too much trouble for you?
|
|
Pages: 1 ... 3 4 [5] 6
|
| |||||||||||||||
|
© 2021 System7Today.com. |



