• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Search results

  1. Mu0n

    [C Programming] Cursed INIT making

    I got it. Had to do the A5 fetching and setting Had to receive the quickdraw globals in a custom made struct as per that last article so I could get to the baseAddr of the screenBits. Doing InitWindows to display my own plainDBox white featureless window was a no-no because it requires...
  2. Mu0n

    [C Programming] Cursed INIT making

    InitGraf alone:
  3. Mu0n

    [C Programming] Cursed INIT making

    Yes, I tried the trio of InitGraf, InitWindows and doing a NewWindow, got the coprocessor error. I just tried blanking out the screen 1 char at a time and I'm going sideways now:
  4. Mu0n

    [C Programming] Cursed INIT making

    On a hunch, I decided to comment out all the DrawPicture calls and kept only the white pattern FillRect and I got this: HMMMM
  5. Mu0n

    [C Programming] Cursed INIT making

    One of the things I explored is: should I initialize a window before drawing to it in the INIT? But I get messages like these (coprocessor not installed... ??)
  6. Mu0n

    [C Programming] Cursed INIT making

    New roadblock. I've taken ALL the precautions to make sure my PICT is exactly 512x342. My INIT will scale it up weirdly and show it thus: and when I'm all booted up seconds later, I've run another normal app that opens and draws the exact same PICT resource (I just duplicated it across .rsrc...
  7. Mu0n

    [C Programming] Cursed INIT making

    Living dangerously when prototyping! But yeah, don't worry, I checked that something was loaded in the debugger, that was my first reflex.
  8. Mu0n

    [C Programming] Cursed INIT making

    and the w95 sound works! but it's 2x too fast......I should have trusted Audacity.
  9. Mu0n

    [C Programming] Cursed INIT making

    I have to force a delay, don't I? I thought I was playing the sound synchronously... edit - yeah, the piano sound works now! just had to add: while(!SoundDone()); StopSound();
  10. Mu0n

    [C Programming] Cursed INIT making

    The buffer padding anti-pop trickery was swiped somewhere a long time ago. I can't find the source of that trick for now... edit - I know that SysBeep is there and StartSound is commented out, I just forgot to change it back. It doesn't work either when it's properly changed back.
  11. Mu0n

    [C Programming] Cursed INIT making

    After a bit of scrounging for old source files, I successfully: 1) ran code that uses the Sound Driver to play a .snd resource (piano sample from Studio Session) that I pack in a regular application. hear it fine in System 6 in mini-vMac when I launch the app. 2) prepared my other INIT project...
  12. Mu0n

    [C programming] Gracefully force 1-bit graphics in a wide ranging selection of 68k macs

    I've used THINK Reference Viewer forever, don't worry. I've seen that section last night.
  13. Mu0n

    [C Programming] Cursed INIT making

    I'm reading this extensive mactech article: http://preserve.mactech.com/articles/mactech/Vol.05/05.10/INITinC/index.html in the hopes of doing a cursed booting INIT. This time, I'm targeting ease of use and focusing on System 6 only, maybe add System 7 later. But my idea would be slightly...
  14. Mu0n

    [C programming] Gracefully force 1-bit graphics in a wide ranging selection of 68k macs

    It's all good, comparing _Unimplemented to a trap name you want to check is something I read a few days ago while I jumped around in the excellent vintageapple.org collection of programming books. I'm glad it's that easy for my purpose! Thanks guys. Also if a MacXL user gets an error due to my...
  15. Mu0n

    [C programming] Gracefully force 1-bit graphics in a wide ranging selection of 68k macs

    But that covers what's every system version between the first and 6.0.3 (or under 6.0m4), so it's not exhaustive, meaning I don't catch every situation where I can comfortably not have to deal with color pixel depth. Edit: oh wait, that's for Gestalt
  16. Mu0n

    [C programming] Gracefully force 1-bit graphics in a wide ranging selection of 68k macs

    Yes, but thanks for reminding me that CopyBits steamrolls the bit depth in during the copy. I may not stick with CopyBits in all cases, though. It's perfect for slow applications though. This worked nicely under various conditions in Basilisk II and I get a nice monochrome image pasted in from...
  17. Mu0n

    [C programming] Gracefully force 1-bit graphics in a wide ranging selection of 68k macs

    Black and white compact macs targetting mostly 512x342 in 1-bit color depth field BUT -must not crash if a more recent machine is used -System 7.5.5 is the most recent that I target -When possible and not too feature rich, System 1.1 on a 400k MFS disk should run my stuff -must gracefully...
  18. Mu0n

    Color Classic power issues

    Since July 4th: I achieve solid control of the soft power mechanism. I soldered a wire between 2 ground loops underneath the logic board like so: As you can see in the picture, there are 4 of these "rings" total on this LC550 logic board. I soldered a wire to bring them all galvanically...
  19. Mu0n

    Color Classic power issues

    Things I've tried in the past 2 weeks: -Mess with PP1 and PP7 (I know I shouldn't have!) to bring them back closer to their original orientation based on photos I took early on. PP1 is left a smidge under 5.00 V. -Test the continuity between ground loop-ring things underneath the logic board...
  20. Mu0n

    Color Classic power issues

    I'm wondering if this is a possibility if I get desperate, can a LCIII's chip be used as a swap in for the LC550's? It's the closest mac I have to it in terms of technology and it's in pretty bad battery bombed recovery shape as it is anyway
Back
Top