Argh! Double checked and you're right! I should re-enable my human brain's memory check at startup...
Sure enough, the Mac Plus reports no color with
Gestalt(gestaltQuickdrawFeatures, &result);
The bit gestaltHasColor (bit 0) sure enough is a 0. No color.
I hope you never get tired of...
Hm that is a bug, obviously. It should show its icon, for one, but there is a menu option to opt into showing it (default is no show at start). Geez i swear it wasn’t doing that on my test setups of my physical SE and mini vMac.
Mo code mo bugs… :p
edit: retried it on my SE with 7.0.1 and...
Nice. ((That extra blank spot on the right end has me worried… should never be a blank unless you were in the middle of launching or quitting a program when you took the photo?))
amazing that the code I was writing this morning is now executing on a 40 year old machine who-knows-how-far away...
Quick question @Crutch. Why does
GetNewCWindow() crash the old rom machines? In addition to not calling devicemanager stuff the last thing I had to do was instead call
GetNewWindow() if the machine was one of these old machines.
Meanwhile my Se/30 was cool with calling GetNewCWindow() despite...
@lilliputian , try this branch! It should fix the issue with the older Macintoshes:
I have it up as a pre-release on the releases page too
On the plus side (no pun intended) this also includes the dynamic sizing stuff I've been talking about - all wrapped into the beta release.
Give it a...
Well shoot -- I got past the usage of GetMainDevice (as @Crutch suggested - screenBits.bounds provides the monitor size). But Now I'm fighting icon plotting issues (they won't plot with the existing code on these older machines). So I'll have to dig some more to see what it isn't happy about...
@Crutch to the rescue again!! Thanks.
i was just messing with it as I couldn’t resist. Why wouldn’t inside macintosh mention this (maybe it does just not above every function). But alright thanks!!!
Probably - in my case I use it to find the size of the screen (or resolution as we’d call it now) so I can center the Dock on the bottom of the screen. So no doubt I could just check some Gestalt ID stuff and see if it is an older mac (SE or below, if you will) and if so I’ll know the size...
Ok figured it out
my cavalier inattention to checking stuff with GestaltID and such has finally caught up to me.
i was calling a function named GetMainDevice that returns a handle to the screen that i can check dimensions etc. . I didnt know this but calling that on a 68000 causes a crash...
Nah
This didn’t do it.
ok so if that’s not it my next guess is that I’m doing something that is either using 68020 instructions or newer-than-68000 rom calls via a toolbox call… the only thing that comes to mind is a few extra toolbox functions I had to type in myself as per the apple...
Right.
Well - confirmed doesn't work in 7.5 on my SE either.
Well shoot - I had no idea that I could break compatibility between the 68030 and 68000 processors if they were running the same system software and both had sufficient memory available etc..
You know what.. hold on.. at least...
AH! confirmed - my SE with 7.0.1 gets Unimplemented trap crash as well!!
Trying with 7.5 to see if the break happens along those lines or if it's something odder (like related to Plus and SEs but not SE/30.?)
Very wild. I should try it on my SE and I should try to put System 7.0.1 on it to get as close to a Plus as I have on hand.
I don't know anything about the v3 ROM differences so I can't speak to that. Now you got me thinking so I'm going to go try 7.0.1 on my SE and see how it does...
Gah - you're right about the .sit file incompatibility!!. Sorry - I must have accidentally used some newer stuffit to compress it. Normally I use the old 1.x stuffit but this time I think I got lazy and used some newer drop stuff.
Ok I updated the release and the main branch to have a .sit...
Thanks -- yes a list of extensions would be good so I could try to recreate (safe mode aka extensions off I assume would be good too) -- but before that
I assume you've used that method in the past to transfer files? I didn't think anything [with a resource fork, i.e. most apps] was safe going...
ah! wtf. Thanks for the heads up I'll try it later today. The readme states some system requirements I'd expect System 7.0.1 to work hmm...
Ok I just tried it on InfiniteMac with System 7.0 (they didn't offer 7.0.1) and that version (1.3.2) works on it.. Strange though....
It doesn't...
Thanks for the tips as always.
I implemented the window redraws by hiding the window before the resize+move. Tradeoff being that it technically disappears momentarily while it resizes+moves in the background before drawing it again in the new size+position but on my SE/30 it was unnoticeable...
Was great to play with your NeXT setup! First time I ever got to use one in person.
The spinning beachball I encountered took me back to OS X!! Beautiful graphics on the next machine!
Thanks @Patrick I wish he was still taking donations. I’d like to chip in. Probably would take it if I reached out directly so I’ll try that. Labors of love!
Yup stays at whichever size you set it to. And no more hiding away.
Ah I hear you on the sim issue -- you mean your memory issue? I noticed no problems running think c 5 on my 32-bit enabled emulator but haven't tried it on the se/30.
Hiding would be cool if I hacked the system to make the...