• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

64x64 desktop patterns on an SE/30

croissantking

Well-known member
Under System 7.5.5, Desktop Patterns will only offer 8x8 sized patterns on a black and white compact mac.

Is there a way to trick it into allowing me to set the 64x64 patterns? I have tried using Wish I Were… to change the machine ID to a Macintosh CX, but it doesn’t work.

This photo shows the Desktop Patterns cdev contains both 64x64 ppats, and 8x8 PAT#s. It reveals either one set or the other but it is doing a different check than Machine ID, I guess.

IMG_4894.jpeg

Edited: I meant 64x64 not 32x32.
 
Last edited:

David Cook

Well-known member
It checks the highest bit of low memory $20B, which is the SPMisc2 byte of parameter RAM. It then sets the program global variable -$0166(A5) boolean based on that bit. Everywhere else in this code, it checks that boolean to decide to use ppat or PAT#.

1702440949933.png

Now we just need to find out what sets or clears that bit.
 

David Cook

Well-known member
That low memory global is called pCDeskPat in this usage. Inside Macintosh says the following about it:

1702442132528.png
1702442245548.png

The notation [Macintosh II] may be a color quickdraw issue or a ROM support issue. It might be interesting override the Desktop Pattern code and see if it crashes -- or if support had been added in the system even on B&W machines.
 

David Cook

Well-known member
Make a copy of the Desktop Pattern application. Open it in ResEdit. Open CODE resource 2. Change the '66' in the code below to '60'. Save. Close. Run it.

1702442561120.png
 

croissantking

Well-known member
Make a copy of the Desktop Pattern application. Open it in ResEdit. Open CODE resource 2. Change the '66' in the code below to '60'. Save. Close. Run it.

View attachment 66665
Brilliant detective work, @David Cook. I can confirm it works (see photo).

Unfortunately, the set ppat does not persist through a restart. Perhaps Desktop Patterns is not correctly storing the ppat in the System file, only in RAM?

IMG_4909.JPG
 

David Cook

Well-known member
Brilliant detective work, @David Cook. I can confirm it works (see photo).

Unfortunately, the set ppat does not persist through a restart. Perhaps Desktop Patterns is not correctly storing the ppat in the System file, only in RAM?

Cool!

Checking the leaked system code, there are a bunch of patches related to pCDeskPat. They patched the Mac II ROM, DisplayMgr, and WindowMgr. So, it looks like the retention issue is a system/ROM bug.
 

croissantking

Well-known member
Cool!

Checking the leaked system code, there are a bunch of patches related to pCDeskPat. They patched the Mac II ROM, DisplayMgr, and WindowMgr. So, it looks like the retention issue is a system/ROM bug.
I haven't run into this on any colour/grayscale Mac I own, though. Why would it specially affect my SE/30 with your patch applied to Desktop Patterns?

You mentioned the ROM - I am using a custom ROM (BMOW Rominator II Atom), which is based on the IIsi ROM. I will try with the stock ROM.
 

Snial

Well-known member
Where can I get this? I don’t see it on the ‘Garden.

Edit: Found it https://www.macintoshrepository.org/25881-desktop-textures-installer-2-1-7-pattern-databases-
Oh wow! On MacintoshRepository! Yes, have version 2.0 on some of my Zip disks and my PowerBook 1400c. Backstory: My Performa 400 pre-installed OS (7.1P I think) supported larger desktop textures! I think 64x64, but maybe just 32x32. They could be selected via a control panel, but at one point I mucked it up (don't ask me how, this was in the mid-90s.. maybe I found a copy of System 6.0.8 on a floppy, and was surprised I could boot into it, but then it reverted to 8x8 patterns. However, when I booted back into 7.1P they didn't turn back into 32x32 ones and I couldn't select the previous set). I was gutted. Later, however, Desktop Textures appeared on a MacFormat magazine disk or CD so I was able to achieve pretty much the same thing.
 

croissantking

Well-known member
Oh wow! On MacintoshRepository!
Desktop Textures is sadly not compatible with System 7.5 on an SE/30. It sets the large texture alright, and the texture is retained during a restart... until the Finder loads/menubar appears and it switches back to boring old grey.

I wonder what's going on there.

I'll have to try 'Wallpaper' next.
 

Phipli

Well-known member
Desktop Textures is sadly not compatible with System 7.5 on an SE/30. It sets the large texture alright, and the texture is retained during a restart... until the Finder loads/menubar appears and it switches back to boring old grey.

I wonder what's going on there.

I'll have to try 'Wallpaper' next.


https://macintoshgarden.org/apps/deskpicture-11


Not sure which you've tried.
 
Top