IDE Updated
Posted: 16 October 2006, 9:53 AM
An updated IDE is available as part of the v1.4 installer that can be downloaded from http://www.zbasic.net/downloads.php#installer.
The most significant improvement is the ability to detect an attempt to download code that was compiled for a different device. The v1.4 compiler (also part of the new installer) inserts information into the .zxb file that identifies the target for which the code was compiled. Prior to downloading, the IDE requests identification information from the ZX device and compares that with the target information generated by the compiler. If there is a mismatch, a message is displayed otherwise the download proceeds as normal.
There is one caveat related to this. If you attempt to use the v1.4 compiler with the old IDE, downloading will fail because the old IDE doesn't know how to handle the target identification information that is included in the .zxb file. The symptom will be a message indicating that there was no response from the device for record zero.
The zload executable was also modified to perform the target check as well.
The most significant improvement is the ability to detect an attempt to download code that was compiled for a different device. The v1.4 compiler (also part of the new installer) inserts information into the .zxb file that identifies the target for which the code was compiled. Prior to downloading, the IDE requests identification information from the ZX device and compares that with the target information generated by the compiler. If there is a mismatch, a message is displayed otherwise the download proceeds as normal.
There is one caveat related to this. If you attempt to use the v1.4 compiler with the old IDE, downloading will fail because the old IDE doesn't know how to handle the target identification information that is included in the .zxb file. The symptom will be a message indicating that there was no response from the device for record zero.
The zload executable was also modified to perform the target check as well.