FreeBSD Manual Pages
Z80-FILE(5) File format Z80-FILE(5) NAME description of file format used by z80-asm DESCRIPTION The recommended filename extension should be .z80 The file consists of header, address and data. HEADER Header is 8 bytes long. It contains string Z80ASM (6 bytes - without trailing zero) followed by 0x1a character and linefeed character ( 0x0a ). The 0x1a character is to persuade DO$ viewers to stop viewing the file. The newline character terminates the header. ADDRESS Address follows the header as 2 bytes. These are interpretated as a 16-bit start address of the data(code) to load. The less significant byte comes first, most significant byte follows. DATA Data come after address. Data are raw compiled program. Length of data can be simply calculated to 'length of file - 10' bytes. SEE ALSO z80-asm(1), z80-mon(1), z80-asm(5) Z80-ASM Version 2.4 18 Apr 2018 Z80-FILE(5)
NAME | DESCRIPTION | HEADER | ADDRESS | DATA | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=z80-file&sektion=5&manpath=FreeBSD+Ports+15.0>
