2018-01-21 01:24:56 +01:00
|
|
|
![](logo_transparent.png)
|
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
# Millfork
|
|
|
|
|
2017-12-07 00:23:30 +01:00
|
|
|
A middle-level programming language targeting 6502-based microcomputers.
|
|
|
|
|
|
|
|
Distributed under GPLv3 (see [LICENSE](LICENSE))
|
2017-12-06 22:00:04 +01:00
|
|
|
|
|
|
|
**UNDER DEVELOPMENT, NOT FOR PRODUCTION USE**
|
|
|
|
|
2018-03-25 16:20:18 +02:00
|
|
|
For binary releases, see: https://github.com/KarolS/millfork/releases (latest: 0.2.2)
|
2018-01-24 17:47:20 +01:00
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
## Features
|
|
|
|
|
|
|
|
* multiple targets:
|
|
|
|
|
|
|
|
* Commodore 64 (the primary target)
|
|
|
|
|
2018-03-03 01:21:57 +01:00
|
|
|
* Commodore 64 with SuperCPU (experimental, incomplete and very buggy)
|
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
* Commodore 16 and Plus/4
|
|
|
|
|
|
|
|
* Commodore 128
|
|
|
|
|
2018-06-09 00:18:21 +02:00
|
|
|
* Commodore 64/128 running LUnix/LNG 0.21 (experimental)
|
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
* Commodore PET
|
|
|
|
|
|
|
|
* Commodore Vic-20 (stock or with RAM extensions)
|
|
|
|
|
2018-03-17 18:21:50 +01:00
|
|
|
* Famicom/NES (the second most important target)
|
2018-03-15 23:46:16 +01:00
|
|
|
|
2018-04-03 23:13:57 +02:00
|
|
|
* Atari 2600 (experimental)
|
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
* Atari 8-bit computers
|
2018-01-23 13:37:03 +01:00
|
|
|
|
2018-04-03 00:21:26 +02:00
|
|
|
* BBC Micro
|
|
|
|
|
2018-01-23 13:37:03 +01:00
|
|
|
* Apple II+/IIe/Enhanced IIe
|
2017-12-06 22:00:04 +01:00
|
|
|
|
|
|
|
* inline assembly
|
|
|
|
|
2018-03-17 18:21:50 +01:00
|
|
|
* simple macros
|
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
* pay only for what you use: not a single byte of memory is used unless for code or explicitly declared variables
|
|
|
|
|
|
|
|
* simple memory model that avoids using the stack
|
|
|
|
|
|
|
|
* multi-pass optimizer (that will even optimize your hand-written assembly if you ask it to)
|
|
|
|
|
2018-01-21 21:55:44 +01:00
|
|
|
## More info
|
|
|
|
|
2018-03-28 19:31:10 +02:00
|
|
|
* [Documentation](docs/index.md)
|
2018-01-21 21:55:44 +01:00
|
|
|
|
2018-04-03 00:21:26 +02:00
|
|
|
* [Example programs](examples/README.md)
|
2018-01-21 21:55:44 +01:00
|
|
|
|
2017-12-06 22:00:04 +01:00
|
|
|
## Planned features
|
|
|
|
|
2018-04-03 00:21:26 +02:00
|
|
|
* more targets: Oric computers, PC-Engine/Turbografx-16, Atari Lynx
|
2018-03-03 01:21:57 +01:00
|
|
|
|
2018-03-15 23:46:16 +01:00
|
|
|
* support for 65816, SuperFamicom/SNES and Apple IIgs
|