Platform Lambda - z88dk/z88dk GitHub Wiki

Lambda 8300 / Power 3000

The Lambda 8300 is an improved chinese clone of the ZX81.

This same product was probably always made in Hong Kong and sold locally and around the world with several different names:

  • Lambda 8300 (Hong Kong, United Kingdom, Sweden, Norway, Denmark)

  • PC 2000 (Scandinavia)

  • (Your Computer) PC 8300 (China, United States, Canada)

  • IQ 8300 (Germany)

  • DEF 3000 (France)

  • Your Computer Basic 2000 / 3000 (Norway, Sweden, Finland,France, Germany)

  • Marathon 32K (Norway, Denmark)

  • Tonel PC (Italy, Germany)

  • Unisonic Futura 8300 (USA)

  • PC-81 Personal Computer (China)

  • Polybrain P118 (New Zealand)

  • Creon Electronics (Enterprises?) Power 3000 (Hong Kong, Germany, Denmark, Canada)

  • (*) CAC-3 (China)

  • (*) NF300 jiaoXueDianNao (China)

(*) = different ROM, use '-subtype=cac3'

Quick start

 zcc  +lambda -lm -create-app program.c

--or--

 zcc +lambda -lmlambda -create-app program.c

Add -subtype=cac3 if you have a CAC-3 or NF300, or -subtype=mono if your lambda has an old ROM (no INK, PAPER and BORDER commands) .

The second example relies on the ROM for the Floating Point library, it will produce small but slower and less accurate code. As for the subtypes, you will need the proper machine specific math library if you need such optimization (-lmcac3 or -lmlambdav1).

Compiler hints

The programs will work in SLOW mode by default; to run your program in FAST mode, the "-subtype=fast" flag is required. By default the compiler inserts new interrupt handlers, protecting the registers needed by the z88dk programs while the screen is being refreshed; the FAST mode does not require such handler, so the output program gets slightly smaller.

Uncommon ROM versions and subtype options

  • '-subtype=fast' as on the ZX81 forces a simplified library working in FAST mode. The video display won't will visible only when the program stops running and in some specific INPUT condition.

  • '-subtype=mono/monofast' (-lmlambdav1) this will create a program valid for the older ROM version (the one lacking color commands). The z88dk programs dealing with color should still work correctly if a color expansion is installed.

  • '-subtype=cac3/cac3fast' (-mlambdav3) this will create a program compatible with the CAC-3 and NF300 clones, the resulting program won't work on other models.

Startup modes

Using directly the startup modes is not normally necessary: the -subtype=____ and -clib=____ do it transparently; for advanced developers it may be useful to know that the same 'zx81_crt0.asm' is used also for the LAMBDA, when values > 100.

Links

Historien bag Lambda computeren (DK)

Booting the lambda ROM on a ZX81 clone