2018-01-21 20:55:44 +00:00
|
|
|
|
# Examples
|
|
|
|
|
|
|
|
|
|
## Cross-platform examples
|
|
|
|
|
|
2019-06-05 11:31:43 +00:00
|
|
|
|
* [Hello world](crossplatform/hello_world.mfk) (C64/C16/PET/VIC-20/PET/Atari/Apple II/BBC Micro/ZX Spectrum/PC-88/Armstrad CPC/MSX) – simple text output
|
2018-01-21 20:55:44 +00:00
|
|
|
|
|
2018-12-19 21:32:55 +00:00
|
|
|
|
* [Text encodings](crossplatform/text_encodings.mfk) (C64/ZX Spectrum) – examples of text encoding features
|
2018-12-17 16:18:29 +00:00
|
|
|
|
|
2019-06-05 11:31:43 +00:00
|
|
|
|
* [Echo](crossplatform/echo.mfk) (C64/C16/ZX Spectrum/PC-88/MSX)– simple text input and output
|
2018-07-27 22:58:20 +00:00
|
|
|
|
|
2019-06-05 11:31:43 +00:00
|
|
|
|
* [Calculator](crossplatform/calculator.mfk) (C64/C16/ZX Spectrum/PC-88/MSX) – simple numeric input and output
|
2018-01-21 20:55:44 +00:00
|
|
|
|
|
2019-06-05 11:31:43 +00:00
|
|
|
|
* [Guessing game](crossplatform/guess.mfk) (C64/C16/ZX Spectrum/PC-88/MSX) – a guess-a-number game
|
2018-12-30 18:10:57 +00:00
|
|
|
|
|
2018-12-29 19:12:19 +00:00
|
|
|
|
* [Fire effect](crossplatform/fire.mfk) (C64/C16/ZX Spectrum) – a simple fire effect
|
|
|
|
|
|
2018-12-19 21:32:55 +00:00
|
|
|
|
* [Bell](crossplatform/bell.mfk) (Apple II/ZX Spectrum) – a program that goes \*ding!\*
|
2018-01-21 20:55:44 +00:00
|
|
|
|
|
2018-12-19 21:32:55 +00:00
|
|
|
|
## Commodore 64 examples
|
2018-01-21 20:55:44 +00:00
|
|
|
|
|
2018-01-23 12:37:03 +00:00
|
|
|
|
### Graphical examples
|
2018-01-21 20:55:44 +00:00
|
|
|
|
|
|
|
|
|
* [Rasterbar](c64/rasterbar.mfk) – simple rasterbar effect
|
|
|
|
|
|
|
|
|
|
* [Softscrolling](c64/softscroll.mfk) – soft-scrolling a single line of text
|
|
|
|
|
|
|
|
|
|
* [Galencia starfield](c64/galencia.mfk) – a port of the starfield effect from the game *Galencia*
|
|
|
|
|
|
2018-12-19 21:32:55 +00:00
|
|
|
|
### Other examples
|
|
|
|
|
|
2019-01-05 00:19:14 +00:00
|
|
|
|
* Multifile ([source code](c64/multifile.mfk), [platform definition](c64/multifile.ini)) –
|
|
|
|
|
how to create a program made of multiple files loaded on demand
|
|
|
|
|
|
2018-12-19 21:32:55 +00:00
|
|
|
|
* [Panic](c64/panic_test.mfk) – how panic works on C64, showing the address of where it happened
|
|
|
|
|
|
2018-03-15 22:46:16 +00:00
|
|
|
|
## Famicom/NES examples
|
|
|
|
|
|
|
|
|
|
* [NES 101 tutorial example](nes/nestest.mfk) – a port of the tutorial example from the NES 101 tutorial by Michael Martin
|
|
|
|
|
|
2018-03-17 16:09:30 +00:00
|
|
|
|
* [MMC4 example](nes/nestest_mmc4.mfk) – the same thing as above, but uses a MMC4 mapper just to test bankswitching
|
|
|
|
|
|
2019-03-18 22:15:05 +00:00
|
|
|
|
## Game Boy examples
|
|
|
|
|
|
|
|
|
|
* [GB test example](gb/gbtest.mfk) – a partial port of the NES example, with a rudimentary experimental text output implementation
|
|
|
|
|
|
2018-04-03 21:13:57 +00:00
|
|
|
|
## Atari 2600 examples
|
|
|
|
|
|
|
|
|
|
* [Colors](vcs/colors.mfk) – simple static rasterbars
|