• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Recent content by MightyMike

  1. M

    Read/Write PRAM and xPRAM

    I'll give it up... In the last few days I tested almost every possible combination. Even ditching RB and using C/C++ instead doesn't work. Everytime I restore the saved PRAM either nothing happens or the PowerBook freezes completely. The big problem is that I have no application where I can say...
  2. M

    Create own REALbasic PlugIn

    Today I tried the starter PlugIn. - Not compatible with RB 5.5.5. But it works in 3.5.2. This is absolutely sufficient for my (current) needs. After opening the project in CW Pro 6, I only had to re-add the linked libraries, then it compiled "out of the box". Thank you very much, that helped a...
  3. M

    Create own REALbasic PlugIn

    Thank you very much! - The starter plugin seems to be better documented than the RB SDK. I'll definitely give this a try and will report back. :cool:
  4. M

    Create own REALbasic PlugIn

    Uff… Didn't know that! Okay then: I'm using CodeWarrior Pro 6. 😄
  5. M

    Create own REALbasic PlugIn

    Would you share this SDK with me? - I have the SDK from RB 5.5.5. If you have an older one that would be worth a try! :) Of course you can ask! 😄 I'm using it because (according to macintoshgarden) this is the last version which is compatible with Mac OS 8.6. CW7 needs Mac OS 9. CW6 was...
  6. M

    Create own REALbasic PlugIn

    I meant the SDK. The documentation isn't really helpful. Maybe the problem is a too old version of CW. The examples for RB-PlugIns seem to run and compile out of the box. But not in my version of CW. The projects have to be converted to be opened. - The SDK doesn't mention any minimum...
  7. M

    Create own REALbasic PlugIn

    Hi folks! I was wondering whether someone here could explain how I setup a project in CodeWarrior 6 to create a REALbasic PlugIn? I tried the examples from RB 5.5.5 but they won't compile out of the box. When opening the project CW tells me it has to convert it first. After that there are a...
  8. M

    Read/Write PRAM and xPRAM

    Image 01: Saved file of my RB application. The first 20 bytes are PRAM (can be ignored here) then followed by 256 bytes of xPRAM. This is the exact same data that "PRAM-Reader" gets. Image 02: 256 bytes of the xPRAM-Call from C++ (CodeWarrior). Image 03 - 05: xPRAM data read out by "Pram...
  9. M

    Read/Write PRAM and xPRAM

    I got it working! ...kind of... The optional parameters for CallUniversalProc have to be Pointers. And one "Declare Function" was wrong... One parameter had an extra "ByRef" and that caused the code not to execute/crash. The saved result is now the same as in "PRAM-Reader". - And the behavior...
  10. M

    Read/Write PRAM and xPRAM

    Haven't thought about doing native 68k... - I gave it a try and I'm stuck at the very same problem. I want to call a trap from RB but I absolutely don't know how to do that. I created a new post for that specific question. At least this assumption was right. 😄 Anyway, thanks for the tips and...
  11. M

    Calling/Running a Trap from REALbasic?

    Hello folks! Can someone explain if and how I can call/run a 68k trap from REALbasic? - Specifically the Traps _ReadXPRam (0xA051) and _WriteXPRam (0xA052) and how I can pass Parameters to it? (In this case a MemoryBlock-Pointer and the size of it). My system: PowerBook G3 Wallstreet/PDQ Mac...
  12. M

    Read/Write PRAM and xPRAM

    I hope that the fun part won't change to frustration... 😄 Okay, I already stumbled over these traps... But I was hoping not to need them. With that in mind I did some testing but I'm a little stuck. - Maybe you (or someone else) can help here... I declared "CallUniversalProc" as follows...
  13. M

    Read/Write PRAM and xPRAM

    Hello folks! I recently bought a PowerBook Wallstreet/PDQ. Of course the PRAM battery is dead. That's nothing too bad but since I'm a software guy I thought that it should be possible to save the (x)PRAM to disk on shutdown and restore it after reboot if a PRAM reset is detected (e.g. year <...
Top