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
 
}}
 
}}
 
 
=== BIOS ===
 
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg" style="width:256px; float:right; break:both;"/></html>
 
''Program showing the use of basic BIOS functions.''
 
* File: s_bios.c
 
* Machine: {{MSX1}}
 
* State: ✔️ Fonctional
 
  
 
=== Clock ===
 
=== Clock ===
''Program showing the use of the Real Time Clock (Ricoh RP-5C01).''
+
{{SAMPLE_BOX
* File: s_clock.c
+
|name=Clock
* Machine: {{MSX2}}
+
|desc=Program showing the use of the Real Time Clock (Ricoh RP-5C01).
* State: ✔️ Fonctional
+
|file=s_clock.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg" style="width:512px;"/></html>
+
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg
 +
|machine=MSX2
 +
|state=Fonctional
 +
}}
  
 
=== Draw ===
 
=== Draw ===
''Program showing the use of Draw module in different screen mode.''
+
{{SAMPLE_BOX
* File: s_draw.c
+
|name=Draw
* Machine: {{MSX2}}
+
|desc=Program showing the use of Draw module in different screen mode.
* State: ✔️ Fonctional
+
|file=s_draw.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg" style="width:512px;"/></html>
+
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg
 +
|machine=MSX2
 +
|state=Fonctional
 +
}}
  
 
=== Game ===
 
=== Game ===
''Program showing the use of game and game's pawn modules.''
+
{{SAMPLE_BOX
* File: s_game.c
+
|name=Game
* Machine: {{MSX1}}
+
|desc=Program showing the use of game and game's pawn modules.
* State: ✔️ Fonctional
+
|file=s_game.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png" style="width:512px;"/></html>
+
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png
 +
}}
  
 
=== Hello World ===
 
=== Hello World ===
''Program showing the minimal needs to display a text.''
+
{{SAMPLE_BOX
* File: s_hello.c
+
|name=Hello
* Machine: {{MSX1}}
+
|desc=Program showing the minimal needs to display a text.
* State: ✔️ Fonctional
+
|file=s_hello.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_hello.jpg" style="width:512px;"/></html>
+
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_hello.jpg
 +
}}
  
 
=== Joystick ===
 
=== Joystick ===
''Program showing the use of joystick and input manager.''
+
{{SAMPLE_BOX
* File: s_joystk.c
+
|name=Joystick
* Machine: {{MSX1}}
+
|desc=Program showing the use of joystick and input manager.
* State: ✔️ Fonctional
+
|file=s_joystk.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg" style="width:512px;"/></html>
+
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg
 +
}}
  
 
=== Keyboard ===
 
=== Keyboard ===
''Program showing the use of keyboard and input manager.''
+
{{SAMPLE_BOX
* File: s_keybrd.c
+
|name=Keyboard
* Machine: {{MSX1}}
+
|desc=Program showing the use of keyboard and input manager.
* State: ✔️ Fonctional
+
|file=s_keybrd.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg" style="width:512px;"/></html>
+
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg
 +
}}
  
 
=== ROM Mapper ===
 
=== ROM Mapper ===
''Program showing usage of ROM mapper segments.''
+
{{SAMPLE_BOX
* File: s_mapper.c
+
|name=ROM
* Machine: {{MSX1}}
+
|desc=Program showing usage of ROM mapper segments.
* State: ✔️ Fonctional
+
|file=s_mapper.c
 +
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png
 +
}}
  
 
=== Math ===
 
=== Math ===
''Program showing the use of mathematics pre-calculated tables and pseudo-random generator.''
+
{{SAMPLE_BOX
* File: s_math.c
+
|name=Math
* Machine: {{MSX2}}
+
|desc=Program showing the use of mathematics pre-calculated tables and pseudo-random generator.
* State: ✔️ Fonctional
+
|file=s_math.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg" style="width:512px;"/></html>
+
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg
 +
}}
  
 
=== Print ===
 
=== Print ===
''Program showing the use of graphical print features (bitmap, sprite, effects, etc.).''
+
{{SAMPLE_BOX
* File: s_print.c
+
|name=Print
* Machine: {{MSX2}}
+
|desc=Program showing the use of graphical print features (bitmap, sprite, effects, etc.).
* State: ✔️ Fonctional
+
|file=s_print.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg" style="width:512px;"/></html>
+
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg
 +
}}
  
 
=== PSG ===
 
=== PSG ===
''Program showing the use of direct control over PSG chip.''
+
{{SAMPLE_BOX
* File: s_psg.c
+
|name=PSG
* Machine: {{MSX1}}
+
|desc=Program showing the use of direct control over PSG chip.
* State: ✔️ Fonctional
+
|file=s_psg.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg" style="width:512px;"/></html>
+
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg
 +
}}
  
 
=== Scrolling ===
 
=== Scrolling ===
''Program showing the use of multi-directionnal tile-based scrolling and screen adjust register for smooth scrolling.''
+
{{SAMPLE_BOX
* File: s_scroll.c
+
|name=Scrolling
* Machine: {{MSX2}}
+
|desc=Program showing the use of multi-directionnal tile-based scrolling and screen adjust register for smooth scrolling.
* State: ✔️ Fonctional
+
|file=s_scroll.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png" style="width:512px;"/></html>
+
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png
 +
}}
  
 
=== Sprite Mode 1 ===
 
=== Sprite Mode 1 ===
''Program showing the use of sprite mode 1 and SAT flip method.''
+
{{SAMPLE_BOX
* File: s_sm1.c
+
|name=Sprite
* Machine: {{MSX1}}
+
|desc=Program showing the use of sprite mode 1 and SAT flip method.
* State: ✔️ Fonctional
+
|file=s_sm1.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg" style="width:512px;"/></html>
+
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg
 +
}}
  
 
=== Sprite Mode 2 ===
 
=== Sprite Mode 2 ===
''Program showing the use of sprite mode 2 and split screen.''
+
{{SAMPLE_BOX
* File: s_sprite.c
+
|name=Sprite
* Machine: {{MSX2}}
+
|desc=Program showing the use of sprite mode 2 and split screen.
* State: ✔️ Fonctional
+
|file=s_sprite.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg" style="width:512px;"/></html>
+
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg
 +
}}
  
 
=== Software Sprite ===
 
=== Software Sprite ===
''Program showing the use of software sprite using VDP commands.''
+
{{SAMPLE_BOX
* File: s_swsprt.c
+
|name=Software
* Machine: {{MSX2}}
+
|desc=Program showing the use of software sprite using VDP commands.
* State: ✔️ Fonctional
+
|file=s_swsprt.c
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png" style="width:512px;"/></html>
+
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png
 +
}}
  
 
=== System ===
 
=== System ===
* File: s_sys.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=System
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg" style="width:512px;"/></html>
+
|file=s_sys.c
 +
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg
 +
}}
  
 
=== Text ===
 
=== Text ===
* File: s_text.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}/{{MSX2}}
+
|name=Text
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_text.jpg" style="width:512px;"/></html>
+
|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 ===
* File: s_vdpcmd.c
+
{{SAMPLE_BOX
* Machine: {{MSX2}}
+
|name=VDP
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg" style="width:512px;"/></html>
+
|file=s_vdpcmd.c
 +
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg
 +
}}
  
 
=== Compress ===
 
=== Compress ===
* File: s_zip.c
+
{{SAMPLE_BOX
* Machine: {{MSX2}}
+
|name=Compress
* State: ❌ WIP...
+
|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 ===
* File: s_arkos.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=Arkos
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png" style="width:512px;"/></html>
+
|file=s_arkos.c
 +
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png
 +
}}
  
 
=== ayFX ===
 
=== ayFX ===
* File: s_ayfx.c
+
{{SAMPLE_BOX
* Machine: {{MSX2}}
+
|name=ayFX
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ayfx.jpg" style="width:512px;"/></html>
+
|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 ===
* File: s_pcmenc.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=PCM
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg" style="width:512px;"/></html>
+
|file=s_pcmenc.c
 +
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg
 +
}}
  
 
=== PT3 ===
 
=== PT3 ===
* File: s_pt3.c
+
{{SAMPLE_BOX
* Machine: {{MSX2}}
+
|name=PT3
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg" style="width:512px;"/></html>
+
|file=s_pt3.c
 +
|machine=MSX2
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg
 +
}}
  
 
=== VGM ===
 
=== VGM ===
* File: s_vgm.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=VGM
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg" style="width:512px;"/></html>
+
|file=s_vgm.c
 +
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg
 +
}}
  
 
=== WYZ ===
 
=== WYZ ===
* File: s_wyz.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=WYZ
* State: ✔️ Fonctional
+
|desc=blablabla...
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png" style="width:512px;"/></html>
+
|file=s_wyz.c
 +
|machine=MSX1
 +
|state=Fonctional
 +
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png
 +
}}
  
 
== Targets ==
 
== Targets ==
* File: s_target.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=Targets
* State: ✔️ Fonctional
+
|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 ==
* File: template.c
+
{{SAMPLE_BOX
* Machine: {{MSX1}}
+
|name=Template
* State: ✔️ Fonctional
+
|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.

Samples

BIOS

Program showing the use of basic BIOS functions.
32K

Clock

Program showing the use of the Real Time Clock (Ricoh RP-5C01).
32K

Draw

Program showing the use of Draw module in different screen mode.
32K

Game

Program showing the use of game and game's pawn modules.
32K

Hello World

Program showing the minimal needs to display a text.
32K

Joystick

Program showing the use of joystick and input manager.
32K

Keyboard

Program showing the use of keyboard and input manager.
32K

ROM Mapper

Program showing usage of ROM mapper segments.
32K

Math

Program showing the use of mathematics pre-calculated tables and pseudo-random generator.
32K

Print

Program showing the use of graphical print features (bitmap, sprite, effects, etc.).
32K

PSG

Program showing the use of direct control over PSG chip.
32K

Scrolling

Program showing the use of multi-directionnal tile-based scrolling and screen adjust register for smooth scrolling.
32K

Sprite Mode 1

Program showing the use of sprite mode 1 and SAT flip method.
32K

Sprite Mode 2

Program showing the use of sprite mode 2 and split screen.
32K

Software Sprite

Program showing the use of software sprite using VDP commands.
32K

System

blablabla...
32K

Text

blablabla...
32K
/

VDP Command

blablabla...
32K

Compress

blablabla...
32K

Audio Format

Arkos

blablabla...
32K

ayFX

blablabla...
32K

PCM-Encoder

blablabla...
32K

PT3

blablabla...
32K

VGM

blablabla...
32K

WYZ

blablabla...
32K

Targets

blablabla...
32K

Template

blablabla...
32K