Can a 68360 use EDO memory?
I have just used FPM dram, but it seems easier to find EDO.
Is it possible?
I'm having trouble talking to physical shared memory on a Motorola 147
V/68 system. I get the id with:
if ((id = shmget(key,
(IPC_CREAT | IPC_PHYS | IPC_NOCLEAR | IPC_CI),
(int)(0xff00 | 0xffff00) )) == -1)
And then set the permissions:
buf.shm_perm.mode = 0666;
if (shmctl(id, IPC_SET, &buf) == -1)
And then map for read and write:
if ((addr = shmat(id,
(0) )) == (char *)-1)
The address is different, than 0xff00, but I expected this due to
virtual to phsyical translation. When I try to read or write to this
address I get a bus error:
printf("Address = 0X%X\t Data = 0X%X\n", addr, *addr);
Shell Development Company, Bellaire Research Center
P.O. Box 481, Room 2202, Houston, TX 77001 (Voice: 713 663-2993)