The attached .zip file provides a complete project for building the simple "Hello world" program that we install on most ZX devices after programming and testing them. This does not apply to devices such as the ZX-40a, etc. that use external Program Memory that is not supplied with the device.
The sample program uses some newer features of the ZBasic compiler to allow it to automatically adapt to various ZX devices. Consequently, v2.4.4 or later of the compiler is required.
For devices that support external RAM, an optional external rRAM configuration directive can be set as desired or left commented out.