Search results

  1. Mu0n

    3D Dungeon Crawler engine for 68K Macs

    My dad is a boomer and the Mac Plus was his daily driver for years so it's technically correct. However, I also grew up with it and you can't classify me exactly between X and millenial so take that as you will.
  2. Mu0n

    3D Dungeon Crawler engine for 68K Macs

    It looks incredible. I'll put this in my real machines because it'll be more than worthy! And I'm truly sorry to hear about your mother and the hard past year your family has had. You have my condolences.
  3. Mu0n

    [C Programming] Cursed INIT making

    That would be the deep end for me, but it's a very, very cool and dangerous idea. It just don't fit in a 800kb disk though, I had less than 50kb free on my disk here.
  4. Mu0n

    [C Programming] Cursed INIT making

    Here's the video about it: thanks again everyone, it would have been 5x more painful without your help to get to the finish line.
  5. Mu0n

    [C Programming] Cursed INIT making

    Found it! FillRect works again (magically, can't explain it) My anti-pop code had an offset written like 36/4, which puts it at an odd number of characters offset (9), changing it to 32/4 made it even again, satisfying the alignment when playing the sound data.
  6. Mu0n

    [C Programming] Cursed INIT making

    Nope, it's the curse that keeps on giving. I'm still on the version that worked before I went to bed, before I fiddle with FillRect again. I'm trying to boot it with a 800kb dsk under mini-vMac, no issues with System 6.0.3. On a hardware mac though, the same .dsk with FloppyEmu (or copied on a...
  7. Mu0n

    [C Programming] Cursed INIT making

    I've tried and failed over a hundred combinations with small tweaks. I'm willing to try (retry?) yours for science's sake and post the result. It's hard to find the motivation to document every attempt when fatigue enters play after hours. Edit: I have to say, that's a fine piece of code there
  8. 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...
  9. Mu0n

    [C Programming] Cursed INIT making

    InitGraf alone:
  10. 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:
  11. 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
  12. 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... ??)
  13. 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...
  14. 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.
  15. Mu0n

    [C Programming] Cursed INIT making

    and the w95 sound works! but it's 2x too fast......I should have trusted Audacity.
  16. 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();
  17. 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.
  18. 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...
  19. 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.
  20. 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...
Back
Top