• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

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! :)
 
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:
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

Back
Top