« Return to Thread: Addressing MVS control blocks from Hercules e.g. PSAAOLD/PSATOLD

Re: Addressing MVS control blocks from Hercules e.g. PSAAOLD/PSATOLD

by kerravon86 :: Rate this Message:

Reply to Author | View in Thread

--- In hercules-390@..., "michealbutz2002" <bytemaster@...>
wrote:
>
> /* asid of address space */ HWORD ascbasid;    <-- MY CODE

> psa = (void*)(regs->mainstor + regs->PX);
> myasid = ((U16) *psa->psaaold->ascbasid
>
>  I am running this code under the Visual Studio debugger
> when I reference myasid I blow up  

Sure that shouldn't be psa->etc instead of *psa->etc?
Looks to me like you're making a hword into a pointer
when it shouldn't be???

BFN.  Paul.


 « Return to Thread: Addressing MVS control blocks from Hercules e.g. PSAAOLD/PSATOLD