Difference between revisions of "Samples"

From MSX Game Library

(Samples)
Line 2: Line 2:
  
 
== Samples ==
 
== Samples ==
 +
 +
{{SAMPLE|
 +
|name=BIOS
 +
|desc=Program showing the use of basic BIOS functions.
 +
|file=s_bios.c
 +
|img=https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg
 +
|machine=MSX1
 +
|state=Fonctional
 +
}}
 +
  
 
=== BIOS ===
 
=== 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.''
 
''Program showing the use of basic BIOS functions.''
 
* File: s_bios.c
 
* File: s_bios.c
 
* Machine: {{MSX1}}
 
* Machine: {{MSX1}}
 
* State: ✔️ Fonctional
 
* State: ✔️ Fonctional
<html><img src="https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg" style="width:512px;"/></html>
 
  
 
=== Clock ===
 
=== Clock ===

Revision as of 15:05, 12 January 2023

The samples marked as "WIP" state are not functional.
Trying to test them for now is useless.

Samples

[[sample/ | ]]


BIOS

Program showing the use of basic BIOS functions.

  • File: s_bios.c
  • Machine:
  • State: ✔️ Fonctional

Clock

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

  • File: s_clock.c
  • Machine:
  • State: ✔️ Fonctional

Draw

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

  • File: s_draw.c
  • Machine:
  • State: ✔️ Fonctional

Game

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

  • File: s_game.c
  • Machine:
  • State: ✔️ Fonctional

Hello World

Program showing the minimal needs to display a text.

  • File: s_hello.c
  • Machine:
  • State: ✔️ Fonctional

Joystick

Program showing the use of joystick and input manager.

  • File: s_joystk.c
  • Machine:
  • State: ✔️ Fonctional

Keyboard

Program showing the use of keyboard and input manager.

  • File: s_keybrd.c
  • Machine:
  • State: ✔️ Fonctional

ROM Mapper

Program showing usage of ROM mapper segments.

  • File: s_mapper.c
  • Machine:
  • State: ✔️ Fonctional

Math

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

  • File: s_math.c
  • Machine:
  • State: ✔️ Fonctional

Print

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

  • File: s_print.c
  • Machine:
  • State: ✔️ Fonctional

PSG

Program showing the use of direct control over PSG chip.

  • File: s_psg.c
  • Machine:
  • State: ✔️ Fonctional

Scrolling

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

  • File: s_scroll.c
  • Machine:
  • State: ✔️ Fonctional

Sprite Mode 1

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

  • File: s_sm1.c
  • Machine:
  • State: ✔️ Fonctional

Sprite Mode 2

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

  • File: s_sprite.c
  • Machine:
  • State: ✔️ Fonctional

Software Sprite

Program showing the use of software sprite using VDP commands.

  • File: s_swsprt.c
  • Machine:
  • State: ✔️ Fonctional

System

  • File: s_sys.c
  • Machine:
  • State: ✔️ Fonctional

Text

  • File: s_text.c
  • Machine: /
  • State: ✔️ Fonctional

VDP Command

  • File: s_vdpcmd.c
  • Machine:
  • State: ✔️ Fonctional

Compress

  • File: s_zip.c
  • Machine:
  • State: ❌ WIP...

Audio Format

Arkos

  • File: s_arkos.c
  • Machine:
  • State: ✔️ Fonctional

ayFX

  • File: s_ayfx.c
  • Machine:
  • State: ✔️ Fonctional

PCM-Encoder

  • File: s_pcmenc.c
  • Machine:
  • State: ✔️ Fonctional

PT3

  • File: s_pt3.c
  • Machine:
  • State: ✔️ Fonctional

VGM

  • File: s_vgm.c
  • Machine:
  • State: ✔️ Fonctional

WYZ

  • File: s_wyz.c
  • Machine:
  • State: ✔️ Fonctional

Targets

  • File: s_target.c
  • Machine:
  • State: ✔️ Fonctional

Template

  • File: template.c
  • Machine:
  • State: ✔️ Fonctional