1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-25 06:29:17 +00:00
millfork/examples
2019-07-27 01:38:06 +02:00
..
c64 Fix the rasterbar example 2019-06-28 21:45:28 +02:00
crossplatform Allow text literals in more positions 2019-07-27 01:38:06 +02:00
gb Const arrays 2019-04-30 00:41:42 +02:00
nes Allow initializing writable variables on cartridge targets 2019-06-28 16:28:49 +02:00
pc88 New examples: fizzbuzz, life, fizzbuzz88 2019-07-08 19:26:48 +02:00
vcs Fix init_rw_memory on Atari 2600 2019-06-28 16:44:41 +02:00
README.md Function pointers – initial version 2019-07-27 00:58:10 +02:00

Examples

Cross-platform examples

  • Hello world (C64/C16/PET/VIC-20/PET/Atari/Apple II/BBC Micro/ZX Spectrum/PC-88/Armstrad CPC/MSX) simple text output

  • Fizzbuzz (C64/C16/PET/VIC-20/PET/Atari/Apple II/BBC Micro/ZX Spectrum/PC-88/Armstrad CPC/MSX) everyone's favourite programming task

  • Fizzbuzz 2 (C64/C16/PET/VIC-20/PET/Atari/Apple II/BBC Micro/ZX Spectrum/PC-88/Armstrad CPC/MSX) an alternative, more extensible implemententation of fizzbuzz

  • Text encodings (C64/ZX Spectrum) examples of text encoding features

  • Echo (C64/C16/ZX Spectrum/PC-88/MSX) simple text input and output

  • Calculator (C64/C16/ZX Spectrum/PC-88/MSX) simple numeric input and output

  • Guessing game (C64/C16/ZX Spectrum/PC-88/MSX) a guess-a-number game

  • Fire effect (C64/C16/ZX Spectrum) a simple fire effect

  • Bell (Apple II/ZX Spectrum) a program that goes *ding!*

  • Life (C64/C16/Atari/ZX Spectrum) Conway's game of life

Commodore 64 examples

Graphical examples

Other examples

  • Multifile (source code, platform definition) how to create a program made of multiple files loaded on demand

  • Panic how panic works on C64, showing the address of where it happened

Famicom/NES examples

  • NES 101 tutorial example a port of the tutorial example from the NES 101 tutorial by Michael Martin

  • MMC4 example the same thing as above, but uses a MMC4 mapper just to test bankswitching

Game Boy examples

  • GB test example a partial port of the NES example, with a rudimentary experimental text output implementation

Atari 2600 examples

  • Colors simple static rasterbars

PC-88 examples