comparison lwasm/lwasm.h @ 543:e10618b48e68

Implement support for dragon format binaries Implement support for dragon format binaries. As an added bonus, also implement a variation on raw binaries which guarantees the whole binary fits in the file. These are the "dragon" and "abs" output formats. Based on code submitted by Mike Miller.
author William Astle <lost@l-w.ca>
date Thu, 29 Sep 2022 13:59:42 -0600
parents 724bcc4508bc
children ddc7b05a5675
comparison
equal deleted inserted replaced
542:f3018ed5e30e 543:e10618b48e68
62 OUTPUT_RAWREL, // raw bytes where ORG causes a SEEK in the file 62 OUTPUT_RAWREL, // raw bytes where ORG causes a SEEK in the file
63 OUTPUT_OS9, // os9 module target 63 OUTPUT_OS9, // os9 module target
64 OUTPUT_SREC, // motorola SREC format 64 OUTPUT_SREC, // motorola SREC format
65 OUTPUT_IHEX, // intel hex format 65 OUTPUT_IHEX, // intel hex format
66 OUTPUT_HEX, // generic hexadecimal format 66 OUTPUT_HEX, // generic hexadecimal format
67 OUTPUT_LWMOD // special module format for LW 67 OUTPUT_LWMOD, // special module format for LW
68 OUTPUT_DRAGON, // Dragon DOS binary
69 OUTPUT_ABS // absolute binary block
68 }; 70 };
69 71
70 enum lwasm_flags_e 72 enum lwasm_flags_e
71 { 73 {
72 FLAG_LIST = 0x0001, 74 FLAG_LIST = 0x0001,