1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-09 01:29:31 +00:00
millfork/examples
Karol Stasiak 490d80e5a4 Fix typos
2019-12-01 23:13:51 +01:00
..
a8 added a8_os module and test 2019-10-23 14:43:36 +02:00
atari_lynx Fix signed constants and word-sbyte subtraction 2019-09-20 18:33:41 +02:00
c64 Improve examples 2019-08-06 12:59:05 +02:00
crossplatform Add new example 2019-11-04 02:31:04 +01:00
gb Const arrays 2019-04-30 00:41:42 +02:00
msx New encodings for MSX 2019-07-31 00:20:18 +02:00
nes Added new example nes program 2019-09-27 13:52:00 -07:00
vcs Fix init_rw_memory on Atari 2600 2019-06-28 16:44:41 +02:00
x16 Commander X16 improvements 2019-09-16 22:55:08 +02:00
README.md Fix typos 2019-12-01 23:13:51 +01:00
screenshots.png Improve examples 2019-08-06 12:59:05 +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/X16) 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

  • Fizzbuzz JP (PC-88/Japanese C64) Fizzbuzz, but in Japanese

  • 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

  • Screen encoding test (C64/C16) default-to-screen encoding conversion test

  • 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

  • Pong example simple pong example based off pong1.asm by bunnyboy of the nintendoage.com forums

Atari Lynx examples

Atari 8-bit examples

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

MSX examples

  • Encoding test text encoding test; displays three lines of text in three different languages, no more one of which will display correctly depending on the default font of your computer.

Commander X16 examples

  • Palette displays the default 256-colour palette.

  • Balls 16 sprites using 240 colours.