Search results

  1. MacOfAllTrades

    Driving a miniscribe motor to make vintage sounds

    Why? To hear the miniscribe sounds while I use my blueScsi wtf? My miniscribe never worked and I gave up on it, so I figured I’d try to drive the stepper motor with some modern circuitry with the hope being that one day I could signal it by the activity indicator on a blueSCSI. how’s it going...
  2. MacOfAllTrades

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

    Found one more thing worth noting here for future aspiring colorists: For the case when the screen is set to a color mode but I'm trying to get an app's icon using the PlotIconMethod(...,IconGetter,..) methodology - It will call IconGetter twice (as discussed in my recent wave of posts), once...
  3. MacOfAllTrades

    Is still Hotline a thing?

    Oh man - Caracho! yes! I remember after Hotline went MIA (or somehow wasn't the place it was, Caracho was what I used next.
  4. MacOfAllTrades

    ThinkC MacDock dev progress -- Like today's macOS Dock but for System 7

    v1.3 released. Edit: v1.3.1 released. See MacDock git repo. This release adds color! But still faithfully supports b&w screen bit depth as well. A *lot* of the conversation for v1.3 was held over in this thread all about working with color screens. It got pretty meaty... I really didn't...
  5. MacOfAllTrades

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

    Thanks for confirming! I had no idea someone had code like this out there. And yes I hear you loud and clear on how the code assumes the buffer for the icon has its second half with the mask. This is quite interesting (funny?) because from what I've read in Inside Macintosh indeed the mask...
  6. MacOfAllTrades

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

    I had some really bizarre issue -- Unless I call NewHandle(s) inside of IconGetter() function, the resulting plotted icon would have some artifacts (white streaks on the otherwise correct icon). I was trying to call NewHandle just once way outside in Main() knowing that I'll be using that...
  7. MacOfAllTrades

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

    Quick reference for those future readers: @Crutch mentioned Tech Note #306. I found Apple still has these old Macintosh Technical Notes on their developer website. Here is Macintosh Technical Note #306. I searched using this page but sadly I couldn't find it by searching "tech note #306" or...
  8. MacOfAllTrades

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

    Also -- weirdest thing but your demo app (and my similar approach) ends up calling the IconGetter() function twice per PlotIconMethod(). Inside Macintosh says this should happen once per screen that intersects the rect you're working with -- I only have one screen so I'm a little confused by this.
  9. MacOfAllTrades

    VCF Midwest 2023 - Sep 9-10th Elmhurst IL

    Now you're making my day! Haha I'll die if/when I see my app on another's machine in a public setting.
  10. MacOfAllTrades

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

    Yes. And I keep calling ReleaseResource(myHandle) instead of DisposeHandle which is probably my gateway to fudging up things. Perhaps I should be more surprised that I haven't fudged up the resources in any of my other applications I've run in my testing... Thanks.
  11. MacOfAllTrades

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

    Wow - as I was messing with all this and the memory leak and Releasing resources I managed to damage my Finder (and more?). To the point where the Finder's icon suite was messed up and so was its reported ProcessType. Very funky stuff. I'm guessing the memory I was releasing or writing to...
  12. MacOfAllTrades

    VCF Midwest 2023 - Sep 9-10th Elmhurst IL

    Ill be there showing off my app for System 7, MacDock! J/k but I will try to fly out if I can make low cost arrangements. Actually it’d be cool to see the wifi blue scsi stuff so I’ll keep an eye out for you all. I’m also hoping to snag an imagewriter if I see one on the free area table
  13. MacOfAllTrades

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

    One thing I don't get about the above code is that if I write an app where I have to use this PlotIconMethod(....,IconGetter,...) function a lot, there is a memory leak. Because you call NewHandle(...) but never ReleaseHandle() or ReleaseResource(). I'm *not* criticizing your code, but rather...
  14. MacOfAllTrades

    'Macintosh SE parts only DO NOT PLUG IN'

    Did you just have to recap the analog board (to get to current samasi mac state)? bet you it is a mux issue. Next recap the motherboard, it no change then check muxes?
  15. MacOfAllTrades

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

    Yes! Wow.. I found it. I was declaring (and defining) my IconGetter(...) function as: Handle IconGetter(ResType iconType, Ptr data); I was missing the word pascal. Correcting it to (as your code had it): pascal Handle IconGetter(ResType iconType, Ptr data); ...fixed my problem! While...
  16. MacOfAllTrades

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

    Yes just as you said. Youre description of how it is supposed to work is totally in line with what Inside Macintosh says so I believe you and it. I must be flubbing something. ill try your code directly soon and just be sure I get your results (just for good measure). And i should spend more...
  17. MacOfAllTrades

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

    A few questions -- My ThinkC 5.0 doesn't seem to have the GetIconMethod(..) function declared in any of its available .h files. I typed in the definition as you had it though and it seems to work because it does ultimately call my IconGetter function which I can debug with breakpoints. However...
  18. MacOfAllTrades

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

    Agreed that PlotIconID will do what you say. Inside Macintosh phrases it as "PlotIconID selects the most appropriate icon resource for the current bit depth of the display device and the rectangle in which the icon is to be drawn" However, PlotIconID(...) takes an integer as the ResourceID...
  19. MacOfAllTrades

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

    Thanks again for this awesome clue. Following up on trying it: gdPMap is a pixelMap object which has many fields itself (see Inside Macintosh - Imaging with Quickdraw - Pg 4-10) the **pixelSize** field is what I'm *guessing* you had in mind, @Crutch , but let me know if that's wrong. So see...