Page 171 of 229 Start Back Next End ZBasic Language Reference 161 ZBasic Microcontrollers -z4:<Com1 speed index> This configuration value (used only on VM-based devices) specifies the default baud rate for Com1 according to the table below. This configuration value is not supported in VM versions prior to v3.0.4. Index Value Default Com1 Baud Rate 0 Not specified 1 1200 2 2400 3 4800 4 9600 5 19200 6 38400 7 57600 8 115200 9 230400 The index value of zero is indicates that the standard default value of 19.2K baud should be used. Index values other than those listed in the table above will produce undefined results. -z5:<sign-on flag> This configuration value controls whether the “sign on” message will be displayed when the ZX begins running. A value of zero will suppress the sign on message, any other value will allow it. -zb:<addr>:<value> -zw:<addr>:<value> -zd:<addr>:<value> These forms allow you to write an 8-bit, 16-bit or 32-bit value to a specified address in Persistent Memory. These forms can be used to set values in both the system portion (addresses 0 to 31) and in the user portion. It is important to note that whenever the ZX firmware is updated the default configuration values (in the system portion of Persisten Memory) are restored. Consequently, you must reconfigure a device after udating the firmware. 11.3 Downloader API In some cases, it may be useful to invoke the downloading functions from another program. For this purpose, a downloader API is provided in the form of a dynamic link library (DLL). The source code for the DLL and the DLL itself may be found in the src\zload subdirectory of the directory where ZBasic is installed. Two sample applications, one in C and one in Visual Basic, using the downloader DLL are also available in the same directory sub-tree.