2018-01-30 16:43:18 +00:00
|
|
|
# Change log
|
2018-01-30 16:38:32 +00:00
|
|
|
|
2018-07-01 17:07:12 +00:00
|
|
|
## Current version
|
|
|
|
|
2018-07-27 17:15:57 +00:00
|
|
|
* Almost complete support for the Zilog Z80, Intel 8080 and Sharp LR35902 microprocessors.
|
2018-07-01 22:31:47 +00:00
|
|
|
|
2018-07-06 23:11:53 +00:00
|
|
|
* A very incomplete support for NEC PC-88 and ZX Spectrum.
|
|
|
|
|
|
|
|
* Unified the syntax of commandline switches.
|
2018-07-01 22:31:47 +00:00
|
|
|
|
2018-07-11 23:23:38 +00:00
|
|
|
* Added aliases.
|
|
|
|
|
2018-07-20 20:46:53 +00:00
|
|
|
* Added enumeration types.
|
|
|
|
|
2018-07-12 16:30:35 +00:00
|
|
|
* Added preprocessor
|
|
|
|
|
2018-10-04 19:33:10 +00:00
|
|
|
* Added `align` keyword for choosing data and code alignment.
|
|
|
|
|
2018-12-14 21:51:09 +00:00
|
|
|
* Added original line numbers in assembler output.
|
|
|
|
|
2018-12-16 20:07:42 +00:00
|
|
|
* Added `sizeof` operator.
|
|
|
|
|
|
|
|
* Added preliminary support for `volatile` keyword.
|
|
|
|
|
2018-12-14 21:51:09 +00:00
|
|
|
* Added multiplication of a 16-bit number by an unsigned 8-bit number.
|
|
|
|
|
2018-12-16 20:07:42 +00:00
|
|
|
* Added more warnings.
|
|
|
|
|
2018-07-06 22:58:44 +00:00
|
|
|
* Automatic selection of text encoding based on target platform.
|
|
|
|
|
2018-07-27 22:58:20 +00:00
|
|
|
* Text literals can be now used as expressions of type `pointer`.
|
|
|
|
|
|
|
|
* Extra `z` at the name of the encoding means that the string is zero-terminated.
|
|
|
|
|
|
|
|
* **Potentially breaking change!** Curly braces in text literals are now used for escape sequences.
|
|
|
|
|
2018-07-06 23:11:53 +00:00
|
|
|
* **Potentially breaking change!** `scr` now refers to the default screencodes as defined for the platform.
|
|
|
|
Code that uses both a custom platform definition and the `scr` encoding needs attention
|
|
|
|
(either change `scr` to `petscr` or add `screen_encoding=petscr` in the platform definition file).
|
|
|
|
|
2018-07-12 16:30:35 +00:00
|
|
|
* **Potentially breaking change!** Platform definitions now need appropriate feature definitions.
|
|
|
|
Code that uses a custom platform definitions will cause extra warnings until fixed.
|
|
|
|
|
2018-12-14 21:51:09 +00:00
|
|
|
* Software variable stack for 6502.
|
|
|
|
|
|
|
|
* Other optimizations and fixes for stack variables.
|
2018-07-06 23:11:53 +00:00
|
|
|
|
2018-08-06 17:29:09 +00:00
|
|
|
* Various code deduplication optimizations.
|
|
|
|
|
2018-07-06 23:11:53 +00:00
|
|
|
* Fixed emitting constant decimal expressions.
|
|
|
|
|
2018-07-24 22:04:00 +00:00
|
|
|
* Fixed decimal subtraction.
|
|
|
|
|
2018-08-03 14:21:02 +00:00
|
|
|
* Fixed signed comparison.
|
|
|
|
|
2018-12-14 21:51:09 +00:00
|
|
|
* Fixed `for`...`downto` loops.
|
|
|
|
|
|
|
|
* Fixed invalid optimization of loads before `BEQ` and similar
|
|
|
|
|
|
|
|
* Fixed miscompiled `nonet` calls.
|
|
|
|
|
2018-07-06 23:11:53 +00:00
|
|
|
* Parser performance improvement.
|
|
|
|
|
2018-07-12 16:30:35 +00:00
|
|
|
* Standard libraries improvements.
|
|
|
|
|
2018-07-06 23:11:53 +00:00
|
|
|
* Other improvements.
|
|
|
|
|
2018-06-25 20:46:52 +00:00
|
|
|
## 0.3.0
|
2018-03-25 14:19:37 +00:00
|
|
|
|
2018-06-18 22:08:18 +00:00
|
|
|
* Finally faster than C.
|
|
|
|
|
2018-06-23 22:31:10 +00:00
|
|
|
* Licenced the standard library more permissively.
|
|
|
|
|
2018-06-08 22:18:21 +00:00
|
|
|
* Preliminary Atari 2600, BBC Micro and LUnix support.
|
2018-04-02 22:21:26 +00:00
|
|
|
|
2018-06-18 22:00:48 +00:00
|
|
|
* Added array initialization syntax with `for`.
|
2018-03-25 20:57:15 +00:00
|
|
|
|
2018-04-02 17:47:11 +00:00
|
|
|
* Added multiple new text codecs.
|
2018-03-25 22:01:29 +00:00
|
|
|
|
2018-04-02 19:06:18 +00:00
|
|
|
* Added character literals.
|
|
|
|
|
2018-06-04 14:24:18 +00:00
|
|
|
* Added 24-bit `farword` type.
|
|
|
|
|
2018-06-18 00:52:14 +00:00
|
|
|
* Special array layouts, e.g. `@word`.
|
|
|
|
|
2018-06-04 14:24:18 +00:00
|
|
|
* Fixed invalid offsets for branching instructions.
|
|
|
|
|
|
|
|
* Fixed incorrectly overlapping local variables.
|
|
|
|
|
|
|
|
* Fixed broken `downto` loops.
|
|
|
|
|
2018-06-18 22:00:48 +00:00
|
|
|
* Fixed broken comparisons between variables of different sizes.
|
|
|
|
|
2018-06-04 14:24:18 +00:00
|
|
|
* Fixed several other bugs.
|
2018-03-25 14:19:37 +00:00
|
|
|
|
2018-06-23 22:31:10 +00:00
|
|
|
* Tons of optimizer improvements.
|
|
|
|
|
2018-03-28 10:32:26 +00:00
|
|
|
* Other improvements.
|
|
|
|
|
2018-03-19 21:04:14 +00:00
|
|
|
## 0.2.2
|
2018-03-18 22:58:42 +00:00
|
|
|
|
|
|
|
* Allowed adding constant words to variable bytes without the zeropage pseudoregister.
|
|
|
|
|
|
|
|
* `-fzp-register` is now enabled by default, as the documentation has already been saying.
|
|
|
|
|
2018-03-19 20:58:51 +00:00
|
|
|
* Allowed more kinds of constants within variable and array initializers.
|
|
|
|
|
2018-03-18 22:58:42 +00:00
|
|
|
* Fixed several bugs.
|
|
|
|
|
|
|
|
* Other improvements.
|
|
|
|
|
2018-03-17 17:21:50 +00:00
|
|
|
## 0.2
|
2018-01-30 16:38:32 +00:00
|
|
|
|
2018-02-26 11:22:10 +00:00
|
|
|
* **Breaking change!** Renamed `inline` to `macro`.
|
2018-02-01 21:39:38 +00:00
|
|
|
|
2018-03-15 22:09:19 +00:00
|
|
|
* **Breaking change!** Added support for memory segments. Changed the platform definition file syntax.
|
|
|
|
|
2018-03-03 00:21:57 +00:00
|
|
|
* Added preliminary support for 65CE02, HuC6280 and 65816 processors.
|
|
|
|
|
2018-03-16 21:15:07 +00:00
|
|
|
* Added support for Famicom/NES and C64 with SuperCPU.
|
|
|
|
|
2018-02-26 16:49:55 +00:00
|
|
|
* Added new `-O1` optimization preset; old `-O1` became `-O2`, old `-O2` became `-O3` and so on.
|
|
|
|
|
2018-03-16 21:15:07 +00:00
|
|
|
* Added command line options for controlling the size-speed trade-offs.
|
|
|
|
|
2018-02-26 11:22:10 +00:00
|
|
|
* Added support for parameters for macros written in Millfork.
|
2018-02-01 21:39:38 +00:00
|
|
|
|
2018-02-26 00:20:50 +00:00
|
|
|
* Enabled calling macros with index expression parameters.
|
|
|
|
|
2018-03-10 21:05:10 +00:00
|
|
|
* Enabled calling macros from assembly.
|
|
|
|
|
2018-02-26 11:22:10 +00:00
|
|
|
* Added optimizer hints: `inline`, `noinline`, `register`.
|
|
|
|
|
|
|
|
* Added command line flags `--size`, `--fast`, `--blast-processing`.
|
2018-03-05 11:41:43 +00:00
|
|
|
|
|
|
|
* Removed command line flag `--detailed-flow`.
|
|
|
|
Detailed flow analysis was slow, broken, hard to maintain, and didn't even help that much.
|
2018-02-01 21:39:38 +00:00
|
|
|
|
2018-03-16 21:15:07 +00:00
|
|
|
* Added `*'=`, `nonet`, `hi` and `lo` operators.
|
2018-02-01 21:39:38 +00:00
|
|
|
|
2018-03-06 15:59:18 +00:00
|
|
|
* Added support for zeropage pseudoregisters, allowing for some operators work with more types of operands.
|
|
|
|
|
2018-01-30 16:38:32 +00:00
|
|
|
* Added return dispatch statements.
|
|
|
|
|
2018-03-03 20:34:12 +00:00
|
|
|
* Added `break` and `continue` statements.
|
|
|
|
|
2018-03-06 15:59:18 +00:00
|
|
|
* Allowed the `else if` combination (i.e. the `else` branch doesn't have to be in braces if it's just a single `if`-`else` statement).
|
|
|
|
|
2018-03-03 00:21:57 +00:00
|
|
|
* Added octal and quaternary literals.
|
|
|
|
|
2018-03-10 21:05:10 +00:00
|
|
|
* Fixed several allocation bugs.
|
|
|
|
|
2018-01-30 16:38:32 +00:00
|
|
|
* Fixed several optimization bugs.
|
|
|
|
|
2018-03-16 21:15:07 +00:00
|
|
|
* Fixed several C64 and C16 library bugs.
|
2018-02-01 21:39:38 +00:00
|
|
|
|
2018-02-26 00:20:50 +00:00
|
|
|
* Fixed several other bugs.
|
|
|
|
|
|
|
|
* Other improvements.
|
2018-01-30 16:38:32 +00:00
|
|
|
|
|
|
|
## 0.1
|
|
|
|
|
|
|
|
* Initial numbered version.
|