WarpUp (8/55)

From:Almos Rajnai
Date:13 Jul 2000 at 08:37:20
Subject:Run68k yet a trouble

Hello there!

Since my last letter I could not solve the trouble with Run68k
function of WarpOS. It always calls some impossible addresses instead
of mine. Here is my source:

------------test68k.asm---------------

.error

.cont1

.cont2

backcall:

_PowerPCBase: dc.l 0
dosbase: dc.l 0
num: dc.l 0

format: dc.l "%lx\n",0
powerpcname: dc.b "powerpc.library",0
dosname: dc.b "dos.library",0

-------------testppc.asm-------------------------

ppcroutine:

------------------------------------

So, what is wrong with it? Calling requires an exact PowerOpen
stackframe? Or what else?
I also tried to pass the address of a pointer to my 68k code, but it
did not work too.

I use pasm from VBCC package and phxass.

Thanks in advance:

Rajnai Almos

+---------------------------=%%&##########&%%=-------------------------+
| Rachy of Bi0Hazard | PowerAmiga owner | ATO Hungarian |F0NT! |
| e-mail: racs@fs2.bdtf.hu | No Risc No Fun! | member |Editor|
+-----ICQ:-16342960---------=%%&##########&%%=---Phone:+36 20 9891489--+