1
0
mirror of https://github.com/simh/simh.git synced 2026-05-05 07:23:34 +00:00

Visual Studio Projects: Build Cleanup for Initial VS2026 Support

- Cleanup build details and provide initial detection support for
  building Visual Studio 2026.
- Automatically leverage the v141 Visual Studio platform Toolset if
  it is installed.  This avoids failing build attempts when windows_build
  hasn't yet been updated to support the frequently changing VS2022
  or VS2026 build components.
- Fix pdp11.vcproj to avoid warning when project is converted.
- Fix trivial compiler warnings in alpha_cpu.c and hp_tapelib.c
This commit is contained in:
Mark Pizzolato
2025-11-21 02:22:30 -10:00
parent 3e3fc123c7
commit 3503e7b794
8 changed files with 176 additions and 81 deletions

View File

@@ -1732,7 +1732,8 @@ else { /* otherwise the command
dpprintf (cvptr->device, TL_DEB_CMD, "%s succeeded\n",
opcode_names [opcode]);
outbound = IFGTC | RQSRV | Class_Control; /* indicate that a control command was executed */
outbound = (CNTLR_IFN_IBUS)IFGTC | (CNTLR_IFN_IBUS)RQSRV | (CNTLR_IFN_IBUS)Class_Control;
/* indicate that a control command was executed */
}
else if (flags & CMXEQ) { /* otherwise if the command is to be executed */
@@ -1745,7 +1746,8 @@ else { /* otherwise the command
CNTLR_UPTR->PHASE = Wait_Phase; /* then set up the wait phase */
CNTLR_UPTR->OPCODE = opcode; /* and command opcode on the controller unit */
outbound = IFGTC | RQSRV | cmd_props [opcode].class; /* return the transfer class (read or write) */
outbound = (CNTLR_IFN_IBUS)IFGTC | (CNTLR_IFN_IBUS)RQSRV | (CNTLR_IFN_IBUS)(cmd_props [opcode].class);
/* return the transfer class (read or write) */
}
else { /* otherwise it's a control command */
@@ -1765,7 +1767,8 @@ else { /* otherwise the command
activate_unit (cvptr, uptr); /* schedule the start phase */
outbound = IFGTC | Class_Control; /* indicate a control command is executing */
outbound = (CNTLR_IFN_IBUS)IFGTC | (CNTLR_IFN_IBUS)Class_Control;
/* indicate a control command is executing */
}
}