Samples
From MSX Game Library
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
32K
BIOS
Program showing the use of default BIOS functions.
- Showcased modules:
- File: s_bios.c
- State: Template:Fonctional
32K
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
32K
PSG
Program showing the use of direct control over PSG sound chip.
- Showcased modules:
- File: s_psg.c
- State: Template:Fonctional
32K
System
Program showing the retrieval of system information.
- File: s_sys.c
- State: Template:Fonctional
32K
Render
Draw
Program showing the use of Draw module with the MSX2 bitmap screen modes.
32K
Graph Mode 3
Program showing the use of Screen 4 (aka Graph mode 3) with various configuration (including unofficial MSX configurations like "Screen 1.5").
- Showcased modules:
- File: s_gm3.c
- State: Template:Fonctional
32K
Program showing the use of graphical print features (bitmap, sprite, effects, etc.).
- Showcased modules:
- File: s_print.c
- State: Template:Fonctional
32K
Sprite Mode 1
Program showing the use of sprite mode 1 and a Sprite Attribute Table flip method to reduce sprite disappearance.
- Showcased modules:
- File: s_sm1.c
- State: Template:Fonctional
32K
Sprite Mode 2
Program showing the use of sprite mode 2 and split screen to change VDP setting during screen rendering.
- Showcased modules:
- File: s_sprite.c
- State: Template:Fonctional
32K
Software Sprite
Program showing the use of software sprite for all bitmap modes using VDP commands.
- Showcased modules:
- File: s_swsprt.c
- State: Template:Fonctional
32K
Software Tile
Program showing the use of software tile mode for MSX2 bitmap modes (only Screen 5 & 8 has been tested).
- Showcased modules:
- File: s_swtile.c
- State: Template:Fonctional
32K
Text
Program showing the use of print module with text modes (all MSX1 and MSX2 text/tiled mode).
- Showcased modules:
- File: s_text.c
- State: Template:Fonctional
32K
VDP Command
Program showing the use of VDP command to draw several effect in all bitmap modes.
- Showcased modules:
- File: s_vdpcmd.c
- State: Template:Fonctional
32K
Target format
Boot Disk
Program showing the use boot disk target format. The program will be start from disk without going through MSX-DOS but allow to use BDOS function.
BOOT
MSX-DOS
Program showing the use of MSX-DOS 1 routines to load and display image from file.
- Showcased modules:
- File: s_dos.c
- State: Template:Fonctional
MSX-DOS
MSX-DOS 2
Program showing the use of various MSX-DOS 2 routines to load and display image, get disk information or handle mapped memory.
- Showcased modules:
- dos (code)
- dos_mapper (code)
- File: s_dos2.c
- State: Template:Fonctional
MSX-DOS 2
Mapped ROM
Program showing usage of mapped ROM and segments switching.
- File: s_mapper.c
- State: Template:Fonctional
Utilities
Game
Program showing the use of Game and Game pawn modules. The Game module offers state management while Game pawn allows to manage characters (display, animation, movement, collision, etc.)
32K
Math
Program showing the use of mathematics pre-calculated tables and pseudo-random generator.
- File: s_math.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: ❓ Partially functional
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
Program showing the use of NinjaTap device.
- File: s_ntap.c
- State: Template:Fonctional
ObsoNET
.
- File: s_onet.c
- State: ❓ Partially functional
{{}} 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