<--  back   Last regenerated: 2022-04-20 17:31:36 kio

zasm - Z80 Assembler – Version 4.4

Targets

#target TZX

0x33: Hardware type

#tzx HARDWARE-INFO
    Pseudo instructions: defb, db, .db and .byte
8080 pseudo instructions: DB
db type, id, state ...

Store information about supported or required computer models and peripherals. For the full list refer to the TZX file documentation.

The contained data should parse to multiple Pseudo instructions: defl, set and '='
Labels: SET
sets of three bytes, 'hardware type', 'hardware ID' and 'hardware info'. The data may be stored with Pseudo instructions: defb, db, .db and .byte
8080 pseudo instructions: DB
db
or similar as you like.

There must be at most one HARDWARE-INFO block for each tzx file. The hardware-info block is reordered to the front of the file (behind the archive info, Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if present) regardless of it's position in the source.

#insert: Examples:
#assert: Example:
incbin: Examples:
#assert: Example:
Example

#tzx hardware-info
    Pseudo instructions: defb, db, .db and .byte
8080 pseudo instructions: DB
db 0,0x1a,3 ; doesn't run on a jupiter ace Pseudo instructions: defb, db, .db and .byte
8080 pseudo instructions: DB
db 0,0x00,0 ; game is known to run on a ZX Spectrum 16k Pseudo instructions: defb, db, .db and .byte
8080 pseudo instructions: DB
db 2,0x01,3 ; doesn't run Assembler directives: #if, #elif, #else, #endif
Pseudo instructions: if, endif
if a MF1 is attached Pseudo instructions: defb, db, .db and .byte
8080 pseudo instructions: DB
db 3,0x02,1 ; actually uses the Currah µSpeech

Valid HTML   Valid CSS