# Examples ## Cross-platform examples * [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 * [Fizzbuzz](crossplatform/fizzbuzz.mfk) (C64/C16/PET/VIC-20/PET/Atari/Apple II/BBC Micro/ZX Spectrum/PC-88/Armstrad CPC/MSX) – everyone's favourite programming task * [Text encodings](crossplatform/text_encodings.mfk) (C64/ZX Spectrum) – examples of text encoding features * [Echo](crossplatform/echo.mfk) (C64/C16/ZX Spectrum/PC-88/MSX)– simple text input and output * [Calculator](crossplatform/calculator.mfk) (C64/C16/ZX Spectrum/PC-88/MSX) – simple numeric input and output * [Guessing game](crossplatform/guess.mfk) (C64/C16/ZX Spectrum/PC-88/MSX) – a guess-a-number game * [Fire effect](crossplatform/fire.mfk) (C64/C16/ZX Spectrum) – a simple fire effect * [Bell](crossplatform/bell.mfk) (Apple II/ZX Spectrum) – a program that goes \*ding!\* * [Life](crossplatform/life.mfk) (C64/ZX Spectrum) – Conway's game of life ## Commodore 64 examples ### Graphical examples * [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* ### Other examples * Multifile ([source code](c64/multifile.mfk), [platform definition](c64/multifile.ini)) – how to create a program made of multiple files loaded on demand * [Panic](c64/panic_test.mfk) – how panic works on C64, showing the address of where it happened ## Famicom/NES examples * [NES 101 tutorial example](nes/nestest.mfk) – a port of the tutorial example from the NES 101 tutorial by Michael Martin * [MMC4 example](nes/nestest_mmc4.mfk) – the same thing as above, but uses a MMC4 mapper just to test bankswitching ## Game Boy examples * [GB test example](gb/gbtest.mfk) – a partial port of the NES example, with a rudimentary experimental text output implementation ## Atari 2600 examples * [Colors](vcs/colors.mfk) – simple static rasterbars ## PC-88 examples * [Fizzbuzz88](pc88/fizzbuzz88.mfk) – Fizzbuzz, but in Japanese