Factory Programming Service

Discussion specific to the DIP and TQFP packaged ZX devices like the ZX-40, ZX-44, ZX-32 and ZX-328 series. The differences between these devices is primarily the packaging and pinout so most issues will apply to all devices.
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

dlh wrote:Does ZxCmdMode() work with both VM and native devices?
It does. However, the current release of the compiler does not handle it correctly for native mode devices (I believe you'll get an internal error). That problem has been corrected in the version currently being tested.
- Don Kinzer
dlh
Posts: 395
Joined: 15 December 2006, 12:12 PM
Location: ~Cincinnati

Post by dlh »

I think it would also be halpful if there were a standardized method for querying the ZX chip to ascertain the VM version - i.e Call SerialNumber(SerNum). Perhaps this could also be added to the "Hello world" program.

I'm trying to finalize standalone downloaders for Windows, Linux (and Intel OS-X, later) and I would like to incorporate this check.

Once my application is loaded, it reports the VM version but it would be nice to get it from a newly minted ZX-40a or ZX-40p.
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

dlh wrote:it would be nice to get [the VM version number} from a newly minted ZX-40a or ZX-40p.
At startup, the firmware version number is displayed, e.g.:

Code: Select all

ZBasic v2.4.10
RAM Size is 65024 bytes
ZX1281n says...
    Hello, world
- Don Kinzer
Post Reply