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

# zasm - Z80 Assembler – Version 4.4

# Targets

[<prev] [next>]

| ### #target TZX #### 0x33: Hardware type
    #tzx HARDWARE-INFO
        Pseudo instructions: defb, db, .db and .byte
    8080 pseudo instructions: DBdb  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: DBdb` 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: DBdb  0,0x1a,3            ; doesn't run on a jupiter ace
        Pseudo instructions: defb, db, .db and .byte
    8080 pseudo instructions: DBdb  0,0x00,0            ; game is known to run on a ZX Spectrum 16k
        Pseudo instructions: defb, db, .db and .byte
    8080 pseudo instructions: DBdb  2,0x01,3            ; doesn't run Assembler directives: #if, #elif, #else, #endif
    Pseudo instructions: if, endifif a MF1 is attached
        Pseudo instructions: defb, db, .db and .byte
    8080 pseudo instructions: DBdb  3,0x02,1            ; actually uses the Currah µSpeech

[<prev] [top] [next>]