mirror of
https://github.com/KarolS/millfork.git
synced 2024-10-30 06:24:09 +00:00
45 lines
1.7 KiB
Markdown
45 lines
1.7 KiB
Markdown
# 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) – simple text output
|
||
|
||
* [Text encodings](crossplatform/text_encodings.mfk) (C64/ZX Spectrum) – examples of text encoding features
|
||
|
||
* [Echo](crossplatform/echo.mfk) (C64/C16/ZX Spectrum/PC-88)– simple text input and output
|
||
|
||
* [Calculator](crossplatform/calculator.mfk) (C64/C16/ZX Spectrum/PC-88) – simple numeric input and output
|
||
|
||
* [Guessing game](crossplatform/guess.mfk) (C64/C16/ZX Spectrum/PC-88) – 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!\*
|
||
|
||
## 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
|
||
|
||
## Atari 2600 examples
|
||
|
||
* [Colors](vcs/colors.mfk) – simple static rasterbars
|