mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 12:12:52 +00:00
Compiler nits for void * assignments from Bob Supnik
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* pdp11_rc.c: RC11/RS64 fixed head disk simulator
|
||||
|
||||
Copyright (c) 2007-2008, John A. Dundas III
|
||||
Copyright (c) 2007-2013, John A. Dundas III
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
rc RC11/RS64 fixed head disk
|
||||
|
||||
03-Dec-13 RMS Added explicit void * cast
|
||||
28-Dec-07 JAD Correct extraction of unit number from da in rc_svc.
|
||||
Clear _all_ error bits when a new operation starts.
|
||||
Passes all diagnostics in all configurations.
|
||||
@@ -448,7 +449,7 @@ static t_stat rc_svc (UNIT *uptr)
|
||||
{
|
||||
uint32 ma, da, t, u_old, u_new, last_da = 0;
|
||||
uint16 dat;
|
||||
uint16 *fbuf = uptr->filebuf;
|
||||
uint16 *fbuf = (uint16 *) uptr->filebuf;
|
||||
|
||||
if ((uptr->flags & UNIT_BUF) == 0) { /* not buf? abort */
|
||||
update_rccs (RCCS_NED | RCCS_DONE, 0); /* nx disk */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp11_rf.c: RF11 fixed head disk simulator
|
||||
|
||||
Copyright (c) 2006-2012, Robert M Supnik
|
||||
Copyright (c) 2006-2013, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
rf RF11 fixed head disk
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
19-Mar-12 RMS Fixed bug in updating mem addr extension (Peter Schorn)
|
||||
25-Dec-06 RMS Fixed bug in unit mask (John Dundas)
|
||||
26-Jun-06 RMS Cloned from RF08 simulator
|
||||
@@ -322,7 +323,7 @@ t_stat rf_svc (UNIT *uptr)
|
||||
{
|
||||
uint32 ma, da, t;
|
||||
uint16 dat;
|
||||
uint16 *fbuf = uptr->filebuf;
|
||||
uint16 *fbuf = (uint16 *) uptr->filebuf;
|
||||
|
||||
if ((uptr->flags & UNIT_BUF) == 0) { /* not buf? abort */
|
||||
update_rfcs (RFCS_NED|RFCS_DONE, 0); /* nx disk */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp11_rx.c: RX11/RX01 floppy disk simulator
|
||||
|
||||
Copyright (c) 1993-2008, Robert M Supnik
|
||||
Copyright (c) 1993-2013, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
rx RX11/RX01 floppy disk
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
07-Jul-05 RMS Removed extraneous externs
|
||||
12-Oct-02 RMS Added autoconfigure support
|
||||
08-Oct-02 RMS Added variable address support to bootstrap
|
||||
@@ -332,7 +333,7 @@ t_stat rx_svc (UNIT *uptr)
|
||||
{
|
||||
int32 i, func;
|
||||
uint32 da;
|
||||
int8 *fbuf = uptr->filebuf;
|
||||
int8 *fbuf = (int8 *) uptr->filebuf;
|
||||
|
||||
func = RXCS_GETFNC (rx_csr); /* get function */
|
||||
switch (rx_state) { /* case on state */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp11_ry.c: RX211/RXV21/RX02 floppy disk simulator
|
||||
|
||||
Copyright (c) 1993-2008, Robert M Supnik
|
||||
Copyright (c) 1993-2013, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
ry RX211/RXV21/RX02 floppy disk
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
15-May-06 RMS Fixed bug in autosize attach (David Gesswein)
|
||||
07-Jul-05 RMS Removed extraneous externs
|
||||
18-Feb-05 RMS Fixed bug in boot code (Graham Toal)
|
||||
@@ -386,7 +387,7 @@ t_stat ry_svc (UNIT *uptr)
|
||||
int32 i, t, func, bps;
|
||||
static uint8 estat[8];
|
||||
uint32 ba, da;
|
||||
int8 *fbuf = uptr->filebuf;
|
||||
int8 *fbuf = (int8 *) uptr->filebuf;
|
||||
|
||||
func = RYCS_GETFNC (ry_csr); /* get function */
|
||||
bps = (ry_csr & RYCS_DEN)? RY_NUMBY: RX_NUMBY; /* get sector size */
|
||||
|
||||
Reference in New Issue
Block a user