2018-01-21 20:55:44 +00:00
|
|
|
|
# Examples
|
|
|
|
|
|
|
|
|
|
## Cross-platform examples
|
|
|
|
|
|
2018-04-02 22:21:26 +00:00
|
|
|
|
* [Hello world](hello_world/hello_world.mfk) (C64/C16/PET/VIC-20/Atari/Apple II/BBC Micro) – simple text output
|
2018-01-21 20:55:44 +00:00
|
|
|
|
|
|
|
|
|
## Commodore 64 examples
|
|
|
|
|
|
|
|
|
|
### Console I/O examples
|
|
|
|
|
|
|
|
|
|
* [Echo](c64/echo.mfk) – simple text input and output
|
|
|
|
|
|
|
|
|
|
* [Calculator](c64/calculator.mfk) – simple numeric input and output
|
|
|
|
|
|
|
|
|
|
* [Text encodings](c64/text_encodings.mfk) – examples of text encoding features
|
|
|
|
|
|
|
|
|
|
* [Panic](c64/panic_test.mfk) – how panic works on C64, showing the address of where it happened
|
|
|
|
|
|
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-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
|
|
|
|
|
|
2018-01-23 12:37:03 +00:00
|
|
|
|
## Apple II examples
|
|
|
|
|
|
|
|
|
|
* [Bell](apple2/bell.mfk) – a program that goes \*ding!\*
|
2018-04-03 21:13:57 +00:00
|
|
|
|
|
|
|
|
|
## Atari 2600 examples
|
|
|
|
|
|
|
|
|
|
* [Colors](vcs/colors.mfk) – simple static rasterbars
|