Hi,
For the life of me I can’t figure out why this code is crashing. It’s literally the first Init call for the toolbox:
PEA -4(A5) ; push address of thePort onto the stack for call to InitGraf
_InitGraf
I’m using Mini vMac. I’ve tried: different host computers (OS X, Windows 10), compiling equivalent code in C on Think C without issue, MPW 1.0, attempts at application disassembly. I only stopped at that because I thought for such a common problem the answer would be sooner found on a forum.
It has something to do with either how vMac emulates memory or an issue with MPW.
A solution or stab appreciated.
Thanks.
For the life of me I can’t figure out why this code is crashing. It’s literally the first Init call for the toolbox:
PEA -4(A5) ; push address of thePort onto the stack for call to InitGraf
_InitGraf
I’m using Mini vMac. I’ve tried: different host computers (OS X, Windows 10), compiling equivalent code in C on Think C without issue, MPW 1.0, attempts at application disassembly. I only stopped at that because I thought for such a common problem the answer would be sooner found on a forum.
It has something to do with either how vMac emulates memory or an issue with MPW.
A solution or stab appreciated.
Thanks.