The AR488 is now available for the MEGA2560.
The code has now been ported and should hopefully provide a basis for future expansion projects such as the work proposed by rhb. Since the MEGA2560 has a different pin layout to the UNO and NANO, the original AR488.ino sketch will NOT work with this board. A new revised sketch, AR488-mega.ini has now been uploaded and is available for use on the MEGA2560. With the exception of low level pin and interrupt handling, the code is essentially the same and works the same as the UNO/NANO version.
Having looked at various shield boards and displays, it became evident that it was not possible to accommodate every conceivable option. Most shields plug into the single row of connectors either side of the board, but the more advanced displays (e.g. touchscreens) use the 'digital' connector at the end of the board. It seemed unlikely that the use of shields would be required, so reservation of the 'digital' connector for displays was given priority. In addition, implementation of the data bus does not require the use of PCINT's so the use of analog pins A0-A7 as digital pins for the data bus was preferred over using pins A8-A15. As result, pins 2-5, 13 (LED), analog pins A8 to A15, as well as the entire "digital" connector (pins 22 to 53) at the end of the board are not used by the sketch and remain available for expansion.
Please be aware that pins 16 and 17, corresponding to TXD2 and RXD2 (the Serial2 port) are used by the sketch to handle GPIB control signals and cannot be used for serial communication. They were chosen because they map to port H along with pins 6-9. Having all GPIB control pins assigned to the same port makes things much easier to to program. It seems unlikely that all 4 serial ports would be required and serial ports 0, 1 and 3 remain available for use. I considered this to be a reasonable compromise to allow the maximum possible potential for expansion, nevertheless, I am open to suggestion regarding the pin assignment.
There is still some work to be done on the sketch in connection with the management of serial ports, for example, Serial1 will be used for Bluetooth communication and WiFi passthough on the MEGA2560. However, that aside, the sketch is functional and did seem to work fine with my MEGA2560 board and both the Solatron and Keithley DMMs. Admittedly I haven't tested device mode yet.
The documentation has been updated to include the MEGA2560 and wiring diagrams have been added for both the UNO and the MEGA2560.
Although Mega boards cost a little more than UNO or NANO, there are some MEGA2560 'mini' boards that are not actually that much more expensive:
https://www.ebay.co.uk/itm/Mini-MEGA-2560-Pro-Micro-USB-CH340G-ATMEGA2560-16AU-For-Mega-2560-R3-Arduino-UK/192781866481?epid=13032626770