• 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.

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 OS 8.6
REALbasic 3.5.2 (to compile native 68k).

Thank you very much! :)
 

Phipli

Well-known member
I can't help making one, but you can use XCMDs and XFCNs from RealBASIC, so you could write whatever in another language and import it as a blob that you call?
 
Last edited:

twelvetone12

Well-known member
This is a tool I used many, many years ago when I was developing with ReadBasic. You need a copy of the Universal Headers and it should be able to produce the RealBasic interface. Hope it helps (and works!)
 

Attachments

  • TBFinder 2.0 ƒ.sit.bin
    683.4 KB · Views: 3
Top