Jump to content

krum110487

6502
  • Content Count

    6
  • Joined

  • Last visited

  1. krum110487

    Autorun - System 1-6 INIT System Extension

    Yeah, I noticed how much information they have, they really go into detail about everything. For the most part it seems like any other modern-ish computer, so getting through the stuff where I think to myself "yeah...duh, of course that is how it works" is the frustrating part. But then again, back then this was cutting edge, and I can't fault them for having too much detail Yeah, it looks like I may have to figure out the binary or logic equivalence of Pascal to C/C++ via learning Pascal... which I am down for, but it may be that any project I attempt may take much longer, haha. Thanks for more specifics, I am going to try my best to get through ALL of it! I will check out MacTutor too. Fantastic, thanks for the specific chapters, I am sure this will make much more sense if I see this and look at code at the same time.
  2. krum110487

    Autorun - System 1-6 INIT System Extension

    Thanks for all of the information everyone! I think I found what I needed with all of this new info. https://www.gryphel.com/c/minivmac/recipes/lnrphntm/index.html AutoQuit even comes with it's own source, so I can take a look at it as well. I still want to make my own program, I may not need to do this particular program, but I will play around with this recipe and go from there. Thanks again for all of the information, I still plan on reading a ton about how the OS works as I am simply interested! What an amazingly positive forum, that is rare these days
  3. krum110487

    Autorun - System 1-6 INIT System Extension

    Thanks! I will take a look at these in particular, are there specific chapters or sections I should pay the most attention to? Do these books in particular describe INIT and System Extensions, or is it a general life cycle of a program on a mac? I knew it would be hard the moment I started looking into it! I don't mind struggling, I just had no idea about terminology like DRVR or diskInsertedEvt etc.. It is hard (for me at least) to read a 500 page book where most of the information is straight forward or obvious to pull out or identify the nuggets of information I need for this project . I was thinking more of, if the disk has a file on it named "autorun" then I read that and run the program labeled in there, so Disk B, wouldn't have it, I actually wasn't thinking in terms of multiple disks that is a VERY good point. System 7 did seem a lot easier to code for. Maybe I will make a running app first and then try to convert it into a System Extension for OS 1 - 6. Thanks for the information!
  4. krum110487

    Autorun - System 1-6 INIT System Extension

    Shoot, that is disappointing, well thank you for responding.
  5. krum110487

    Autorun - System 1-6 INIT System Extension

    Yes, so disk is inserted, it runs the application automatically, no human interaction needed. Possibly a file on the disk required for the autorun to read, much like windows autorun.inf. I have seen the disc menu open as a folder, but I would like an automated way to start the app on the disk inserted itself, If there is another way I don't know about, that would be great!
  6. Hello Everyone, I am looking into creating a small system extension that mimics "autorun" on windows for System 1 to System 6. I have scoured the internet and I cannot find an example for anything pre system 7 written in C or C++. I am not against writing code in another language, but what I found has very minimal explanation on how it works, how to build it and how it is installed. I really want to dive into this, but I can't seem to find enough information to fully understand the process. The goal will to have this work from System 1 to OS 9.2.2, but I want to start with the one which has much less documentation (1-6) What I would love to have: A small working example code example that beeps when a Disk/CD/HardDrive is mounted/detected (C or C++ if possible, but I will take anything I can get) What tools to use to build it. How to install it on System 1-6 I know I am asking for a lot, but I have never programmed on a classic mac before and I am really in the dark. I have recently compiled Mini vMac from source and have a platform to work on. I have also been reading lots of material over at https://vintageapple.org/macprogramming/ which helps me understand basic programming on a mac classic. It is very familiar, which is good, but the only thing I can find about INIT functions is in Pascal and I don't really understand how it works (or install/build it) I apologize for being clueless about all of this, I really wanted to be more prepared than I am before I started asking questions, but I have spent days looking through material, and I can't find any documentation on this. Thanks,
×