Search results

  1. jjuran

    1bit games with music

    Dark Castle and Beyond Dark Castle write directly to the sound buffer, so the Sound Driver's four-tone channels don't apply.
  2. jjuran

    SquirrelEDIT - a 16x16 sprite editor with C bitmap array export

    How? Is there a program to do this?
  3. jjuran

    Force32: persistent 32-bit addressing without a PRAM battery (updates thread)

    They're not. The code I wrote never calls GetMMUMode() on a 64K (or 128K) ROM, and even if it did, it would merely return garbage because it's just a memory read, not a trap call. See below. ROM85 can have three values: 0xFFFF in the 64K ROM, 0x7FFF in a 128K+ ROM without Color QuickDraw...
  4. jjuran

    Force32: persistent 32-bit addressing without a PRAM battery (updates thread)

    Oops. I recalled that _StripAddress takes its parameter in D0 and returns its result in D0, forgetting that StripAddress() takes a void* and returns Ptr. Adding the appropriate casts is left as an exercise. Using StripAddress() in this way is only slightly better than calling Gestalt(). It...
  5. jjuran

    Bitcoin Mining on Mac Classic

    Please forgive the semantic digression that follows. MacPaint and QuickDraw weren't released — they were exhibited. (If the distinction is unclear, ask any resident of a zoo.) The QuickDraw code is not free, at least not in any way that benefits me or my users. I don't ever look at it, for...
  6. jjuran

    Bitcoin Mining on Mac Classic

    At the first MacHack I attended, the keynote speaker was Eric Raymond, touting the benefits of open source. At the "Apple Handshake" session, I inquired about the possibility of releasing the code of HyperCard, only to be met with this dismissal from Steven Glass: "Open source will not be a...
  7. jjuran

    Bitcoin Mining on Mac Classic

    You mean like this? https://www.v68k.org/ams/
  8. jjuran

    Force32: persistent 32-bit addressing without a PRAM battery (updates thread)

    typedef UInt32 Bool32; inline Bool32 In32BitMode() { return StripAddress(0xFF000000); }
  9. jjuran

    Help : making a startup extension for 68k macs

    I use 3x menu blinks. :-) A better tell for a reset PRAM would be the clock. Any time before 1984 is a dead giveaway. Related: I wrote this for a client a few years ago: https://github.com/jjuran/metamage_1/blob/master/mac/hacks/TimeyWimey/TimeyWimey.c
  10. jjuran

    Howto : Get MOD music INTO a resource file for PlayPRO Dev Kit

    I like having builds automated from the command line, so I use Rez. For example, here's the master build script for the Legacynth installer: https://github.com/jjuran/metamage_1/blob/master/apps/mac/Legacynth/bin/mksea.sh
  11. jjuran

    gb6: game boy emulator for System 6

    Mac OS APIs are full of structs with 32-bit members that are only 16-bit aligned. For example, the parID field of FSSpec and portBits.baseAddr of GrafPort. (I think you were clear on this, but in case I confused anyone else, I was talking about emulating 68K code on a little-endian host.)
  12. jjuran

    gb6: game boy emulator for System 6

    thinks for a minute Okay, that's pretty clever. :-) Though I'm curious if that would still work on a 32-bit architecture with only 16-bit alignment (e.g. 68K). On a little-endian host, $"0102 0304 0506 0708" would be stored $"0403 0201 0807 0605". If you read a 32-bit value from $1002, that...
  13. jjuran

    New Project: DoubleVision SE/30 Card

    That's how the software cursor works. A copy of the cursor image is kept around offscreen, as is a save buffer for pixels overwritten by the onscreen cursor. (Whether either image is cached in VRAM is an implementation detail that's opaque to me as a Mac OS user and irrelevant to my emulator —...
  14. jjuran

    New Project: DoubleVision SE/30 Card

    Even if the sprite is too shallow, you could limit it to black-and-white cursors — which is most of them. A more significant limitation would be the lack of XOR mode in the blitter, used in the I-beam cursor for example. It's not out of the question. Here's a proof of concept for how it...
  15. jjuran

    What is the true 'maximum' file name size a Mac application should handle?

    Note to developers: It's easy to avoid this issue: If [H]OpenDF() isn't available and the filename (that you intend to pass to [H]Open() as the partial pathname) begins with '.', prepend a ':' to the filename, e.g. ":.This is not a driver.". (If the filename length is already 255, you should...
  16. jjuran

    Vanlandingham Tune-up: Lets Vanlandingham run on color Macs

    Now you can run Vanlandingham on any Macintosh[1]. Vanlandingham Tune-up https://www.macrelics.com/tuneup/vanlandingham/ (Yes, it works in the Blue Box, too.) [1] Some restrictions may apply. Qualifying hosts must have at least 512K of RAM. A classic Mac OS operating system is required...
  17. jjuran

    Duplicating a file with a resource fork won’t produce an exact copy

    This discussion inspired me to write a script that zeroes out the reserved areas (and also the next_map/refnum/handle fields used only in memory) of a resource structure: https://github.com/jjuran/metamage_1/blob/master/v/bin/rcleanse.vx (The language is Varyx, but it should be readable as...
  18. jjuran

    Bitcoin Mining on Mac Classic

    It speaks highly of this community that you got as warm and friendly a response as you did. That would be quite funny, if you had actually made it. That you had gone to such effort for something that nominally works but is essentially useless would be quite entertaining. As a Bitcoin...
  19. jjuran

    Legacynth: Sound Driver emulation for PPC Macs

    Thanks! I've added a Legacynth Compatibility Guide here: https://github.com/jjuran/metamage_1/blob/master/apps/mac/Legacynth/COMPATIBILITY.md I've added Shufflepuck Café (which feels somewhat clunky to me, but it does work) and StuntCopter 1.5 (and up), which adds the necessary speed control...
Back
Top