Difference between revisions of "Samples"
From MSX Game Library
(→Hello World) |
|||
Line 27: | Line 27: | ||
|file=s_bios.c | |file=s_bios.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg | ||
Line 37: | Line 38: | ||
|file=s_clock.c | |file=s_clock.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg | ||
Line 47: | Line 49: | ||
|file=s_psg.c | |file=s_psg.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg | ||
Line 57: | Line 60: | ||
|file=s_sys.c | |file=s_sys.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg | ||
Line 69: | Line 73: | ||
|file=s_draw.c | |file=s_draw.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg | ||
Line 79: | Line 84: | ||
|file=s_gm3.c | |file=s_gm3.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 89: | Line 95: | ||
|file=s_sm1.c | |file=s_sm1.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg | ||
Line 99: | Line 106: | ||
|file=s_sprite.c | |file=s_sprite.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg | ||
Line 109: | Line 117: | ||
|file=s_swsprt.c | |file=s_swsprt.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png | ||
Line 119: | Line 128: | ||
|file=s_swtile.c | |file=s_swtile.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 129: | Line 139: | ||
|file=s_text.c | |file=s_text.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_text.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_text.jpg | ||
Line 139: | Line 150: | ||
|file=s_vdpcmd.c | |file=s_vdpcmd.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg | ||
Line 151: | Line 163: | ||
|file=s_dos.c | |file=s_dos.c | ||
|machine= | |machine= | ||
+ | |target=DOS1 | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 161: | Line 174: | ||
|file=s_dos2.c | |file=s_dos2.c | ||
|machine= | |machine= | ||
+ | |target=DOS2 | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 171: | Line 185: | ||
|file=s_dos0.c | |file=s_dos0.c | ||
|machine= | |machine= | ||
+ | |target=DOS0 | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 181: | Line 196: | ||
|file=s_mapper.c | |file=s_mapper.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 193: | Line 209: | ||
|file=s_game.c | |file=s_game.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png | ||
Line 203: | Line 220: | ||
|file=s_math.c | |file=s_math.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg | ||
Line 213: | Line 231: | ||
|file=s_print.c | |file=s_print.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg | ||
Line 223: | Line 242: | ||
|file=s_scroll.c | |file=s_scroll.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png | ||
Line 233: | Line 253: | ||
|file=s_zip.c | |file=s_zip.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=WIP | |state=WIP | ||
|img= | |img= | ||
Line 243: | Line 264: | ||
|file=s_usr.c | |file=s_usr.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 253: | Line 276: | ||
|file=s_zip.c | |file=s_zip.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 265: | Line 289: | ||
|file=s_joystk.c | |file=s_joystk.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg | ||
Line 275: | Line 300: | ||
|file=s_keybrd.c | |file=s_keybrd.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg | ||
Line 285: | Line 311: | ||
|file=s_mouse.c | |file=s_mouse.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 295: | Line 322: | ||
|file=s_ntap.c | |file=s_ntap.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 305: | Line 333: | ||
|file=s_onet.c | |file=s_onet.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=WIP | |state=WIP | ||
|img= | |img= | ||
Line 315: | Line 344: | ||
|file=s_pac.c | |file=s_pac.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 325: | Line 355: | ||
|file=s_v9990.c | |file=s_v9990.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 337: | Line 368: | ||
|file=s_arkos.c | |file=s_arkos.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png | ||
Line 347: | Line 379: | ||
|file=s_ayfx.c | |file=s_ayfx.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ayfx.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ayfx.jpg | ||
Line 357: | Line 390: | ||
|file=s_lvgm.c | |file=s_lvgm.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 367: | Line 401: | ||
|file=s_pcmenc.c | |file=s_pcmenc.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg | ||
Line 377: | Line 412: | ||
|file=s_pcmplay.c | |file=s_pcmplay.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 387: | Line 423: | ||
|file=s_pt3.c | |file=s_pt3.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | ||
Line 397: | Line 434: | ||
|file=s_trilo.c | |file=s_trilo.c | ||
|machine= | |machine= | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 407: | Line 445: | ||
|file=s_vgm.c | |file=s_vgm.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | ||
Line 417: | Line 456: | ||
|file=s_wyz.c | |file=s_wyz.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
Line 427: | Line 467: | ||
|file=s_wyz2.c | |file=s_wyz2.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 437: | Line 478: | ||
|file=s_target.c | |file=s_target.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 449: | Line 491: | ||
|file=template.c | |file=template.c | ||
|machine=MSX1 | |machine=MSX1 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
Line 459: | Line 502: | ||
|file=template_msx2.c | |file=template_msx2.c | ||
|machine=MSX2 | |machine=MSX2 | ||
+ | |target=ROM_32K | ||
|state=Fonctional | |state=Fonctional | ||
|img= | |img= | ||
}} | }} |
Revision as of 22:16, 17 May 2023
The samples marked as "WIP" state are not functional.
Trying to test them for now is useless.
Contents
Samples
Core
Hello World
Program showing the minimal needs to display a text.
- File: s_hello.c
- State: Template:Fonctional
32K
BIOS
Program showing the use of basic BIOS functions.
- File: s_bios.c
- State: Template:Fonctional
32K
Clock
Program showing the use of the Real Time Clock (Ricoh RP-5C01).
- File: s_clock.c
- State: Template:Fonctional
32K
PSG
Program showing the use of direct control over PSG chip.
- File: s_psg.c
- State: Template:Fonctional
32K
System
blablabla...
- File: s_sys.c
- State: Template:Fonctional
32K
Render
Draw
Program showing the use of Draw module in different screen mode.
- File: s_draw.c
- State: Template:Fonctional
32K
Graph Mode 3
.
- File: s_gm3.c
- State: Template:Fonctional
32K
Sprite Mode 1
Program showing the use of sprite mode 1 and SAT flip method.
- File: s_sm1.c
- State: Template:Fonctional
32K
Sprite Mode 2
Program showing the use of sprite mode 2 and split screen.
- File: s_sprite.c
- State: Template:Fonctional
32K
Software Sprite
Program showing the use of software sprite using VDP commands.
- File: s_swsprt.c
- State: Template:Fonctional
32K
Software Tile
.
- File: s_swtile.c
- State: Template:Fonctional
32K
Text
blablabla...
- File: s_text.c
- State: Template:Fonctional
32K
VDP Command
blablabla...
- File: s_vdpcmd.c
- State: Template:Fonctional
32K
Target format
MSX-DOS
.
- File: s_dos.c
- State: Template:Fonctional
{{}} MSX-DOS
MSX-DOS 2
.
- File: s_dos2.c
- State: Template:Fonctional
{{}} MSX-DOS 2
Boot Disk
.
- File: s_dos0.c
- State: Template:Fonctional
{{}} BOOT
Mapped ROM
Program showing usage of ROM mapper segments.
- File: s_mapper.c
- State: Template:Fonctional
32K
Utilities
Game
Program showing the use of game and game's pawn modules.
- File: s_game.c
- State: Template:Fonctional
32K
Math
Program showing the use of mathematics pre-calculated tables and pseudo-random generator.
- File: s_math.c
- State: Template:Fonctional
32K
Program showing the use of graphical print features (bitmap, sprite, effects, etc.).
- File: s_print.c
- State: Template:Fonctional
32K
Scrolling
Program showing the use of multi-directionnal tile-based scrolling and screen adjust register for smooth scrolling.
- File: s_scroll.c
- State: Template:Fonctional
32K
Compress
blablabla...
- File: s_zip.c
- State: WIP
32K
BASIC USR
.
- File: s_usr.c
- State: Template:Fonctional
{{}} 32K
Compressor
.
- File: s_zip.c
- State: Template:Fonctional
{{}} 32K
Devices
Joystick
Program showing the use of joystick and input manager.
- File: s_joystk.c
- State: Template:Fonctional
32K
Keyboard
Program showing the use of keyboard and input manager.
- File: s_keybrd.c
- State: Template:Fonctional
32K
Mouse
.
- File: s_mouse.c
- State: Template:Fonctional
{{}} 32K
Ninja Tap
.
- File: s_ntap.c
- State: Template:Fonctional
{{}} 32K
ObsoNET
.
- File: s_onet.c
- State: WIP
{{}} 32K
PAC
.
- File: s_pac.c
- State: Template:Fonctional
{{}} 32K
V9990
.
- File: s_v9990.c
- State: Template:Fonctional
{{}} 32K
Audio Format
Arkos
blablabla...
- File: s_arkos.c
- State: Template:Fonctional
32K
ayFX
blablabla...
- File: s_ayfx.c
- State: Template:Fonctional
32K
lVGM
.
- File: s_lvgm.c
- State: Template:Fonctional
{{}} 32K
PCM-Encoder
.
- File: s_pcmenc.c
- State: Template:Fonctional
32K
PCM Play
.
- File: s_pcmplay.c
- State: Template:Fonctional
{{}} 32K
PT3
blablabla...
- File: s_pt3.c
- State: Template:Fonctional
32K
Trilo Tracker SCC
.
- File: s_trilo.c
- State: Template:Fonctional
{{}} 32K
VGM
blablabla...
- File: s_vgm.c
- State: Template:Fonctional
32K
WYZ
blablabla...
- File: s_wyz.c
- State: Template:Fonctional
32K
WYZ2
.
- File: s_wyz2.c
- State: Template:Fonctional
32K
Targets
blablabla...
- File: s_target.c
- State: Template:Fonctional
32K
Template
Template MSX1
blablabla...
- File: template.c
- State: Template:Fonctional
32K
Template MSX2
blablabla...
- File: template_msx2.c
- State: Template:Fonctional
32K