|
@@ -9,8 +9,6 @@
|
|
* See the file COPYING for more details, or visit <http://unlicense.org>.
|
|
* See the file COPYING for more details, or visit <http://unlicense.org>.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#define FW_VER "0.0.1a"
|
|
|
|
-
|
|
|
|
#ifndef NDEBUG
|
|
#ifndef NDEBUG
|
|
#define ASSERT(p) do { if (!(p)) illegal(); } while (0)
|
|
#define ASSERT(p) do { if (!(p)) illegal(); } while (0)
|
|
#else
|
|
#else
|
|
@@ -134,6 +132,9 @@ void floppy_process(void);
|
|
/* CRC-CCITT */
|
|
/* CRC-CCITT */
|
|
uint16_t crc16_ccitt(const void *buf, size_t len, uint16_t crc);
|
|
uint16_t crc16_ccitt(const void *buf, size_t len, uint16_t crc);
|
|
|
|
|
|
|
|
+/* Build info. */
|
|
|
|
+extern const char fw_ver[];
|
|
|
|
+
|
|
/* Text/data/BSS address ranges. */
|
|
/* Text/data/BSS address ranges. */
|
|
extern char _stext[], _etext[];
|
|
extern char _stext[], _etext[];
|
|
extern char _sdat[], _edat[], _ldat[];
|
|
extern char _sdat[], _edat[], _ldat[];
|