Difference between revisions of "Samples"
From MSX Game Library
(→Samples) |
|||
Line 3: | Line 3: | ||
== Samples == | == Samples == | ||
+ | === BIOS === | ||
{{SAMPLE_BOX | {{SAMPLE_BOX | ||
|name=BIOS | |name=BIOS | ||
Line 11: | Line 12: | ||
|state=Fonctional | |state=Fonctional | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Clock === | === Clock === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Clock | |
− | + | |desc=Program showing the use of the Real Time Clock (Ricoh RP-5C01). | |
− | + | |file=s_clock.c | |
− | + | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg | |
+ | |machine=MSX2 | ||
+ | |state=Fonctional | ||
+ | }} | ||
=== Draw === | === Draw === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Draw | |
− | + | |desc=Program showing the use of Draw module in different screen mode. | |
− | + | |file=s_draw.c | |
− | + | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg | |
+ | |machine=MSX2 | ||
+ | |state=Fonctional | ||
+ | }} | ||
=== Game === | === Game === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Game | |
− | + | |desc=Program showing the use of game and game's pawn modules. | |
− | + | |file=s_game.c | |
− | + | |machine=MSX1 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png | ||
+ | }} | ||
=== Hello World === | === Hello World === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Hello | |
− | + | |desc=Program showing the minimal needs to display a text. | |
− | + | |file=s_hello.c | |
− | + | |machine=MSX1 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_hello.jpg | ||
+ | }} | ||
=== Joystick === | === Joystick === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Joystick | |
− | + | |desc=Program showing the use of joystick and input manager. | |
− | + | |file=s_joystk.c | |
− | + | |machine=MSX1 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg | ||
+ | }} | ||
=== Keyboard === | === Keyboard === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Keyboard | |
− | + | |desc=Program showing the use of keyboard and input manager. | |
− | + | |file=s_keybrd.c | |
− | + | |machine=MSX1 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg | ||
+ | }} | ||
=== ROM Mapper === | === ROM Mapper === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=ROM | |
− | + | |desc=Program showing usage of ROM mapper segments. | |
− | + | |file=s_mapper.c | |
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
+ | }} | ||
=== Math === | === Math === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Math | |
− | + | |desc=Program showing the use of mathematics pre-calculated tables and pseudo-random generator. | |
− | + | |file=s_math.c | |
− | + | |machine=MSX2 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg | ||
+ | }} | ||
=== Print === | === Print === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Print | |
− | + | |desc=Program showing the use of graphical print features (bitmap, sprite, effects, etc.). | |
− | + | |file=s_print.c | |
− | + | |machine=MSX2 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg | ||
+ | }} | ||
=== PSG === | === PSG === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=PSG | |
− | + | |desc=Program showing the use of direct control over PSG chip. | |
− | + | |file=s_psg.c | |
− | + | |machine=MSX1 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg | ||
+ | }} | ||
=== Scrolling === | === Scrolling === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Scrolling | |
− | + | |desc=Program showing the use of multi-directionnal tile-based scrolling and screen adjust register for smooth scrolling. | |
− | + | |file=s_scroll.c | |
− | + | |machine=MSX2 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png | ||
+ | }} | ||
=== Sprite Mode 1 === | === Sprite Mode 1 === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Sprite | |
− | + | |desc=Program showing the use of sprite mode 1 and SAT flip method. | |
− | + | |file=s_sm1.c | |
− | + | |machine=MSX1 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg | ||
+ | }} | ||
=== Sprite Mode 2 === | === Sprite Mode 2 === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Sprite | |
− | + | |desc=Program showing the use of sprite mode 2 and split screen. | |
− | + | |file=s_sprite.c | |
− | + | |machine=MSX2 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg | ||
+ | }} | ||
=== Software Sprite === | === Software Sprite === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Software | |
− | + | |desc=Program showing the use of software sprite using VDP commands. | |
− | + | |file=s_swsprt.c | |
− | + | |machine=MSX2 | |
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png | ||
+ | }} | ||
=== System === | === System === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=System | |
− | + | |desc=blablabla... | |
− | + | |file=s_sys.c | |
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg | ||
+ | }} | ||
=== Text === | === Text === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Text | |
− | + | |desc=blablabla... | |
− | + | |file=s_text.c | |
+ | |machine=MSX1}}/{{MSX2 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_text.jpg | ||
+ | }} | ||
=== VDP Command === | === VDP Command === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=VDP | |
− | + | |desc=blablabla... | |
− | + | |file=s_vdpcmd.c | |
+ | |machine=MSX2 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg | ||
+ | }} | ||
=== Compress === | === Compress === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Compress | |
− | + | |desc=blablabla... | |
+ | |file=s_zip.c | ||
+ | |machine=MSX2 | ||
+ | |state=... | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
+ | }} | ||
== Audio Format == | == Audio Format == | ||
=== Arkos === | === Arkos === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Arkos | |
− | + | |desc=blablabla... | |
− | + | |file=s_arkos.c | |
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png | ||
+ | }} | ||
=== ayFX === | === ayFX === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=ayFX | |
− | + | |desc=blablabla... | |
− | + | |file=s_ayfx.c | |
+ | |machine=MSX2 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ayfx.jpg | ||
+ | }} | ||
=== PCM-Encoder === | === PCM-Encoder === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=PCM | |
− | + | |desc=blablabla... | |
− | + | |file=s_pcmenc.c | |
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg | ||
+ | }} | ||
=== PT3 === | === PT3 === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=PT3 | |
− | + | |desc=blablabla... | |
− | + | |file=s_pt3.c | |
+ | |machine=MSX2 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | ||
+ | }} | ||
=== VGM === | === VGM === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=VGM | |
− | + | |desc=blablabla... | |
− | + | |file=s_vgm.c | |
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | ||
+ | }} | ||
=== WYZ === | === WYZ === | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=WYZ | |
− | + | |desc=blablabla... | |
− | + | |file=s_wyz.c | |
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
+ | }} | ||
== Targets == | == Targets == | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Targets | |
− | + | |desc=blablabla... | |
+ | |file=s_target.c | ||
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
+ | }} | ||
== Template == | == Template == | ||
− | + | {{SAMPLE_BOX | |
− | + | |name=Template | |
− | + | |desc=blablabla... | |
+ | |file=template.c | ||
+ | |machine=MSX1 | ||
+ | |state=Fonctional | ||
+ | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
+ | }} |
Revision as of 13:38, 17 May 2023
The samples marked as "WIP" state are not functional.
Trying to test them for now is useless.
Contents
Samples
BIOS
Clock

Program showing the use of the Real Time Clock (Ricoh RP-5C01).
- File: s_clock.c
- State: Template:Fonctional


Draw

Program showing the use of Draw module in different screen mode.
- File: s_draw.c
- State: Template:Fonctional


Game

Program showing the use of game and game's pawn modules.
- File: s_game.c
- State: Template:Fonctional


Hello World
Joystick

Program showing the use of joystick and input manager.
- File: s_joystk.c
- State: Template:Fonctional


Keyboard

Program showing the use of keyboard and input manager.
- File: s_keybrd.c
- State: Template:Fonctional


ROM Mapper
Math

Program showing the use of mathematics pre-calculated tables and pseudo-random generator.
- File: s_math.c
- State: Template:Fonctional



Program showing the use of graphical print features (bitmap, sprite, effects, etc.).
- File: s_print.c
- State: Template:Fonctional


PSG

Program showing the use of direct control over PSG chip.
- File: s_psg.c
- State: Template:Fonctional


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


Sprite Mode 1

Program showing the use of sprite mode 1 and SAT flip method.
- File: s_sm1.c
- State: Template:Fonctional


Sprite Mode 2

Program showing the use of sprite mode 2 and split screen.
- File: s_sprite.c
- State: Template:Fonctional


Software Sprite

Program showing the use of software sprite using VDP commands.
- File: s_swsprt.c
- State: Template:Fonctional


System
Text
/