1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-03-09 20:18:38 +00:00

SEL32: Clean up compile errors.

This commit is contained in:
Richard Cornwell
2020-04-21 22:50:10 -04:00
parent eb75e1ce54
commit 77f1512f7c

View File

@@ -1906,8 +1906,8 @@ t_stat chan_set_devs() {
continue;
if (dptr->flags & DEV_DIS) { /* Skip disabled devices */
chsa = GET_UADDR(uptr->u3); /* ch/sa value */
printf("Device %s chsa %04x not set up dptr %x\n",
dptr->name, chsa, uptr->dptr);
printf("Device %s chsa %04x not set up dptr %p\n",
dptr->name, chsa, (void *)uptr->dptr);
continue;
}
@@ -1916,8 +1916,8 @@ t_stat chan_set_devs() {
/* Check if address is in unit or dev entry */
for (j = 0; j < dptr->numunits; j++) { /* loop through unit entries */
chsa = GET_UADDR(uptr->u3); /* ch/sa value */
printf("Setup device %s%d chsa %04x type %03d dptr %x\n",
dptr->name, j, chsa, GET_TYPE(uptr->flags), uptr->dptr);
printf("Setup device %s%d chsa %04x type %03d dptr %p\n",
dptr->name, j, chsa, GET_TYPE(uptr->flags), (void *)uptr->dptr);
/* zero some channel data loc's for device */
//0401 dev_status[chsa] = 0; /* zero device status flags */
//0401 dev_status[chsa&0x7f00] = 0; /* clear the channel status location */