Search results

  1. sentient06

    A self-contained QEMU-based A/UX system for macOS

    ⌘+W closes the whole emulator! :eek:
  2. sentient06

    Macintosh programming in C of a Mac OS Classic game

    Thomas, sorry if I come out as blunt or even rude, but nothing here makes any sense to me. I'm very confused by your original post. What do you want to do? Are you trying to compile a game targetting Mac OS 9? Is that it? You said the game was developed under Mac OS 7.5, then you said it was...
  3. sentient06

    I need help with file management

    I know! I was surprised. I didn't use Mac OS 9 for long as back on the day I needed a PC for my studies, so I also missed the Mac OS X transition (I went from an 8.6 user to a 10.4), so I had no idea bundles were a thing on Mac OS 9. My concern when I created a CodeWarrior project was to create...
  4. sentient06

    I need help with file management

    The final prototype is on Github. In case someone wants it. Thanks again everyone. https://github.com/sentient06/classic-mac-snippets/blob/master/Cpp%20Toolkit/FileFinder.cp
  5. sentient06

    I need help with file management

    Youre absolutely right. I half-arsed the printf because it "kinda works", but after making a converter for C strings, it ran normally. Got it! Thanks for the explanation! I am taking notes. So.. I figured out what was happening! My project has some setting that creates a bundle, very much Mac...
  6. sentient06

    I need help with file management

    I got a very odd result with this code, I'd like to ask your opinion: #include <Files.h> #include <stdio.h> #include <string.h> void CtoPStr(const char* cString, Str255 pStr) { size_t len = strlen(cString); pStr[0] = len; memcpy(&pStr[1], cString, len); } int main(void) { const char*...
  7. sentient06

    I need help with file management

    I rewrote the whole code into a new project and managed to get some stuff to work consistently with the same numbers. I'm now convinced that the issue lies with my attempt to resolve the file name on FSMakeFSSpec. I will see if I can find another function, as this one keeps on failing. I will...
  8. sentient06

    I need help with file management

    Ah OK, so.. if I use GetVol, I get back a working directory reference number. And to break that up I can use PBGetWDInfo to get a ioVRefNum and ioDirID pair. I will try that. Sorry guys, it's been a slow learning curve. I commented out my code before pasting yours, David, now I noticed that...
  9. sentient06

    I need help with file management

    My outputs: // Printing variables: -- vRefNum = -2 -- directoryId = 2 -- volumeNamePString = Classic Dev // This is the secondary HD's name // Printing code: Error in FSMakeFSSpec: -43 // Printing a string for each error: File or dir doesn't exist (abc) // Back to parent call...
  10. sentient06

    I need help with file management

    I have no reason to doubt that, it sounds kind of familiar, to be fair. And almost horrifying. :LOL: I don't. My assumption was that the "default" directory and the "default" volume (as called in the docs) were the ones where the app resides. I couldn't find in Inside Macintosh an explanation...
  11. sentient06

    I need help with file management

    Hi David, thanks for the help. If it works for you it means I don't need to completely burn the code and start all over again, and that's a relief. Did you simply copy/paste my code or did you add something else? My code (and the generated binary) is on a secondary disc, hopefully that doesn't...
  12. sentient06

    I need help with file management

    Hello everyone, I've been working on a couple of projects for new Classic Mac software. Yeah, exciting stuff. I've never tried my hands on this before, so I got a bunch of books, I got Inside Macintosh at hand, I've been through tutorials and started coding. I am working on Mac OS 9.2.2 and...
  13. sentient06

    Does Anyone Know This Silly Game?

    Sounds like a game for children. Did you try this page? &lt;snip&gt;
  14. sentient06

    Looking for old B&W game, maybe named "beast"

    HQX file in this URL: http://www.giantmike.com/old.html
  15. sentient06

    Looking for old B&W game, maybe named "beast"

    Battle Beast, maybe? http://macintoshgarden.org/games/battle-beast Edit: sorry, this won't fit the description.. Found also "Shadow of the beast", but it is with colours. Also doesn't fit description. What category would that be? Puzzle? Maybe action?
  16. sentient06

    OSX Preferences Manager for Basilisk II and SheepShaver

    Hello, It's been a long time I don't post anything here on 68kmla, so maybe I should re-introduce myself. I am a developer living in UK, I like classic Mac OS systems very much and I have a collection of Macintosh Systems and all that stuff. So, I use a lot of Basilisk II and SheepShaver and I...
  17. sentient06

    Mac ROM Checksum Computation?

    Sorry to ressurect such an old topic, but while researching for an application I came to this code and I am using this logic. Since the link seems to be long gone I decided to compile a C version of this code, maybe it interests some of you. Also, I increased the number of ROM checksums to get...
  18. sentient06

    Write HFS on Snow Leopard with FuseHFS

    Zideco, do you think you can make a cocoa library to use FuseHFS features in other applications?
Top