2018-01-21 20:55:44 +00:00
|
|
|
|
# Examples
|
|
|
|
|
|
|
|
|
|
## Cross-platform examples
|
|
|
|
|
|
2018-01-23 13:24:12 +00:00
|
|
|
|
* [Hello world](hello_world/hello_world.mfk) (C64/C16/PET/VIC-20/Atari/Apple II) – 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-01-23 12:37:03 +00:00
|
|
|
|
## Apple II examples
|
|
|
|
|
|
|
|
|
|
* [Bell](apple2/bell.mfk) – a program that goes \*ding!\*
|