mirror of
https://github.com/simh/simh.git
synced 2026-01-26 04:01:38 +00:00
ALL: Massive 'const' cleanup
These changes facilitate more robust parameter type checking and helps to identify unexpected coding errors. Most simulators can now also be compiled with a C++ compiler without warnings. Additionally, these changes have also been configured to facilitate easier backporting of simulator and device simulation modules to run under the simh v3.9+ SCP framework.
This commit is contained in:
@@ -132,7 +132,6 @@ static uint32 ctab[16] = {
|
||||
0, 0, 0, 0
|
||||
};
|
||||
|
||||
DEVICE fd_dev;
|
||||
uint32 fd (uint32 dev, uint32 op, uint32 dat);
|
||||
t_stat fd_svc (UNIT *uptr);
|
||||
t_stat fd_reset (DEVICE *dptr);
|
||||
@@ -516,9 +515,6 @@ static uint8 boot_rom[] = {
|
||||
|
||||
t_stat fd_boot (int32 unitno, DEVICE *dptr)
|
||||
{
|
||||
extern uint32 PC, dec_flgs;
|
||||
extern uint16 decrom[];
|
||||
|
||||
if (decrom[0xD5] & dec_flgs) /* AL defined? */
|
||||
return SCPE_NOFNC;
|
||||
IOWriteBlk (BOOT_START, BOOT_LEN, boot_rom); /* copy boot */
|
||||
|
||||
Reference in New Issue
Block a user