Search results

  1. J

    SATA? In an old world PCI Power Mac?! IMPOSSIBRU! (Updated 11/22/23)

    There's a build of my flashrom fork at https://forums.macrumors.com/threads/question-how-powerful-of-a-graphics-card-will-work-in-a-beige-power-macintosh-g3.2303689/page-32 but I haven't tried it with the -p satasii option. Of course, no PCI method is going to work for a flash chip that needs a...
  2. J

    SATA? In an old world PCI Power Mac?! IMPOSSIBRU! (Updated 11/22/23)

    I think @dosdude1's flashrom for Linux on PPC Mac should work for Debian. My flashrom fork should work in Mac OS X (PPC and Intel) but I need to make some updates to make my source code buildable on PPC Mac OS X 10.4.11 again. I'll work on it today. I don't think anyone's used it yet to flash a...
  3. J

    HFS Read/Write Supported in macOS 12 (FuseHFS) Updated

    Check the permissions? ls -l vmacMountable Does the mounted volume have the FUSE volume icon? Does "Get Info" of the mounted volume show "Format: Unknown (macfuse_hfs)"? I'm using macOS 12.7.2 Monterey. My HFS disk images have file extension .dmg and exist on a partition that has "ignore...
  4. J

    SATA? In an old world PCI Power Mac?! IMPOSSIBRU! (Updated 11/22/23)

    I ported FlashROM to PPC Mac OS X. See the previous page (page 5) of this thread.
  5. J

    Diagnostics via OpenFirmware

    Looking at MDD Open Firmware dump, it appears that diagnostic boot doesn't do anything except try to do this command: boot enet:,diags where enet is the default diag-device and ,diags is the default diag-file I don't say any code for handling ,diags Another default for diag-file is bootp There...
  6. J

    Documentation for DB15 to VGA adapters

    I updated my post above with the correct 9 dip switch info from https://68kmla.org/bb/index.php?threads/mac-to-vga-monitor-adapter-struggles.45423/post-502564
  7. J

    68k MFS: sector by sector hex dump

    Not all disk images have the overhead of a header. Check the first block of a disk image to see if it is a header or if it is part of the disk data. The disk image needs to be not sparse and not compressed. In Mac OS X, you would use dd in Terminal.app to read and write blocks and xxd to...
  8. J

    G4 PPC Towers with Modern Monitors Adapter

    But for best results, you want to keep the signal digital. Don't all/most G4 towers have DVI output? That's equivalent to HDMI up to 165 MHz (HDMI 1.1 ≈ 1920x1200@60Hz). You just need a passive DVI to HDMI adapter for that. Beyond that you're dealing with Dual Link DVI (up to 330 MHz) which will...
  9. J

    68k Determining if screen is set to color vs b&w at runtime in Sys 7

    All the C compilers for classic Mac OS support pascal because Mac OS apps was original programmed using Pascal. Look at all the Inside Macintosh books - they show APIs and code examples written in Pascal. pascal in C alters the parameter passing calling conventions to match those of Pascal - at...
  10. J

    68k Determining if screen is set to color vs b&w at runtime in Sys 7

    To determine color vs grayscale, For indexed color modes (8 bit or less), can you examine the color table (pmTable) to see if it has any entries that don't have red = green = blue? Regarding drawing icons, maybe try going to...
  11. J

    68k Determining if screen is set to color vs b&w at runtime in Sys 7

    Oh right, DeviceLoop. I remember that now. Controls and window structures will appear different on color and B&W displays. CDEFs and WDEFs probably use DeviceLoop. You would use DeviceLoop for your own drawing if you want what you draw to be different depending on color depth.
  12. J

    68k Determining if screen is set to color vs b&w at runtime in Sys 7

    There could be multiple displays connected with different color depths. A window could span multiple displays. GetMainDevice is not necessarily the device with the highest color depth. I forget how drawing and updating should be handled when a window spans multiple displays. Do you get a...
  13. J

    ThinkC Good mirror of Apples ftp server with code samples?

    I use StuffIt Destinations.app in macOS Monterey to extract those files successfully. I think it's part of Stuffit Expander 16?
  14. J

    Emulator for MacOS 8/9 + Macsbug

    MacsBug only uses 640x480 so it appears in a small window in the middle of the 1600x1200 display. I'm using MacsBug 6.6.3. It seems to work fine on my B&W G3 running 9.2.2 except for some corrupted pixels. I can't see the background while in MacsBug because the pixel depth is not set to 256...
  15. J

    Emulator for MacOS 8/9 + Macsbug

    I think I get this same problem on a real Power Mac 8600 running Mac OS 9.2. Something wrong with autorepeat?
  16. J

    Hiding "dot" files in Classic?

    Once you verify that SetFile can work, then you can combine it in a script to do all such files. Use the find command to find all files that have a name that begins with a dot and pass each file to the SetFile command. This command finds all folders and files that have a name that begins with a...
  17. J

    Hiding "dot" files in Classic?

    Use SetFile -a I filepath in Mac OS X to set the Invisible flag? Test it on a single file first. setfile Usage: SetFile [option...] file... -a attributes # attributes (lowercase = 0, uppercase = 1)* -c creator # file creator -d date # creation date...
  18. J

    ThinkC [Study Group 2] - Events & Menu Management

    Add a counter. Count the NullEvents per second. Compare this count where you do the update for every null event with the count where you do not do any update for any null event. A large difference means the update function is doing a lot of work. Consider not doing the update function if less...
  19. J

    ThinkC [Study Group 2] - Events & Menu Management

    LaunchApplication takes a LaunchParamBlockRec where you can include some Apple Events. You could also try sending Apple Events to the Finder. An existing process can be specified in an Apple Event descriptor using typeProcessSerialNumber. Find the Finder process serial number by searching for...