| Click here to select a new forum. |
| Calling/Running a Trap from REALbasic? |
Posted by: MightyMike on 2024-04-13 03:06:30 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! 🙂 |
Posted by: Phipli on 2024-04-13 03:16:22 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? |
Posted by: twelvetone12 on 2024-04-13 05:05:01 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!) |
| 1 |