Difference between revisions of "Samples"
From MSX Game Library
(→Clock) |
(→PSG) |
||
Line 57: | Line 57: | ||
|name=PSG | |name=PSG | ||
|desc=Program showing the use of direct control over PSG chip. | |desc=Program showing the use of direct control over PSG chip. | ||
− | |module1= | + | |module1=psg |
|module2= | |module2= | ||
|module3= | |module3= |
Revision as of 15:52, 18 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 code needed to display a text.
- File: s_hello.c
- State: Template:Fonctional


BIOS

Program showing the use of default BIOS functions.
- Showcased modules:
- File: s_bios.c
- State: Template:Fonctional


Clock

Program showing the use of the Real Time Clock (Ricoh RP-5C01) to get current time and save/load from CMOS memory.
- Showcased modules:
- File: s_clock.c
- State: Template:Fonctional


PSG

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


System
Render
Draw

Showcase the use of Draw module in different MSX2 bitmap screen mode.


Graph Mode 3

Showcase the use of Screen 4 (aka Graph 3) with various configuration.
- Showcased modules:
- File: s_gm3.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


Software Tile
Text
VDP Command
Target format
MSX-DOS
MSX-DOS 2
Boot Disk
Mapped ROM
Utilities
Game

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


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


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


Compress
BASIC USR
Compressor
Devices
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

