[Simh] Custom PC formatting

Peter Onion Peter.Onion at btinternet.com
Sun Oct 6 13:39:02 EDT 2013


> No problem, we are now narrowing in on the right question.
> 
> To address this issue, your simulator should provide a "sim_vm_fprint_addr" routine.  This routine has a signature of:
> 
> void sim_vm_fprint_addr (FILE *st, DEVICE *dptr, t_addr addr);
> 
> The LGP simulator uses this interface.  Look there for details.
> 
> - Mark
> 

I'll give it a try, but I fear that is not going to be the right answer
because normal addresses (as in the address field in instructions) are
only 13 bits and don't have the "half bit" at the least significant end.
It is only the SCR that has the extra bit.

The machine has 8K words, but 16K instructions !

Peter Onion
Elliott 803 Team leader 
The National Museum of Computing





More information about the Simh mailing list