Difference between revisions of "Samples"
From MSX Game Library
Line 18: | Line 18: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_hello.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_hello.jpg | ||
}} | }} | ||
Line 35: | Line 35: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_bios.jpg | ||
}} | }} | ||
Line 52: | Line 52: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_clock.jpg | ||
}} | }} | ||
Line 69: | Line 69: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_psg.jpg | ||
}} | }} | ||
Line 86: | Line 86: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sys.jpg | ||
}} | }} | ||
Line 105: | Line 105: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_draw.jpg | ||
}} | }} | ||
Line 122: | Line 122: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_gm3.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_gm3.png | ||
}} | }} | ||
Line 139: | Line 139: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_print.jpg | ||
}} | }} | ||
Line 156: | Line 156: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sm1.jpg | ||
}} | }} | ||
Line 173: | Line 173: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_sprite.jpg | ||
}} | }} | ||
Line 190: | Line 190: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swsprt.png | ||
}} | }} | ||
Line 207: | Line 207: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swtile.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_swtile.png | ||
}} | }} | ||
Line 224: | Line 224: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_text.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_text.jpg | ||
}} | }} | ||
Line 241: | Line 241: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vdpcmd.jpg | ||
}} | }} | ||
Line 277: | Line 277: | ||
|target=DOS1 | |target=DOS1 | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 294: | Line 294: | ||
|target=DOS2 | |target=DOS2 | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 311: | Line 311: | ||
|target=ROM_ASCII8_128 | |target=ROM_ASCII8_128 | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 330: | Line 330: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_game.png | ||
}} | }} | ||
Line 347: | Line 347: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_math.jpg | ||
}} | }} | ||
Line 364: | Line 364: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_scroll.png | ||
}} | }} | ||
Line 398: | Line 398: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 415: | Line 415: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 434: | Line 434: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_joystick.jpg | ||
}} | }} | ||
Line 451: | Line 451: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_keyboard.jpg | ||
}} | }} | ||
Line 468: | Line 468: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 485: | Line 485: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext={{NinjaTap}} | |ext={{NinjaTap}} | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ntap.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ntap.png | ||
}} | }} | ||
Line 519: | Line 519: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext={{PAC}} | |ext={{PAC}} | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pac.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pac.png | ||
}} | }} | ||
Line 536: | Line 536: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 555: | Line 555: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_arkos.png | ||
}} | }} | ||
Line 572: | Line 572: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ayfx.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_ayfx.jpg | ||
}} | }} | ||
Line 589: | Line 589: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 606: | Line 606: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pcm.jpg | ||
}} | }} | ||
Line 623: | Line 623: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 640: | Line 640: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_pt3.jpg | ||
}} | }} | ||
Line 657: | Line 657: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 674: | Line 674: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | ||
}} | }} | ||
Line 691: | Line 691: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | |img=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_wyz.png | ||
}} | }} | ||
Line 708: | Line 708: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 725: | Line 725: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 744: | Line 744: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} | ||
Line 761: | Line 761: | ||
|target=ROM_32K | |target=ROM_32K | ||
|ext= | |ext= | ||
− | |state= | + | |state=Functional |
|img= | |img= | ||
}} | }} |
Revision as of 18:21, 19 May 2023
The samples marked as "WIP" state are not functional.
Trying to test them for now is useless.
Contents
Samples
Core
Hello World
BIOS

Program showing the use of default BIOS functions.


Clock

Program showing the use of the Real Time Clock (Ricoh RP-5C01) to get current time and save/load from CMOS memory.


PSG

Program showing the use of direct control over PSG sound chip.


System
Render
Draw

Program showing the use of Draw module with the MSX2 bitmap screen modes.


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").



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


Sprite Mode 1

Program showing the use of sprite mode 1 and a Sprite Attribute Table flip method to reduce sprite disappearance.


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: ✔️ Functional


Software Sprite

Program showing the use of software sprite for all bitmap modes using VDP commands.
- Showcased modules:
- File: s_swsprt.c
- State: ✔️ Functional


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: ✔️ Functional


Text

Program showing the use of print module with text modes (all MSX1 and MSX2 text/tiled mode).



VDP Command

Program showing the use of VDP command to draw several effect in all bitmap modes.
- Showcased modules:
- File: s_vdpcmd.c
- State: ✔️ Functional


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.


MSX-DOS

Program showing the use of MSX-DOS 1 routines to load and display image from file.



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: ✔️ Functional


Mapped ROM

Program showing usage of mapped ROM and segments switching.
- File: s_mapper.c
- State: ✔️ Functional
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.)


Math

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


Scrolling

Program showing the use of multi-directionnal tile-based scrolling and screen adjust register for smooth scrolling.
- File: s_scroll.c
- State: ✔️ Functional


Compress
BASIC USR
Compressor
Devices
Joystick
Keyboard
Mouse
Ninja Tap

Program showing the use of NinjaTap device.
- File: s_ntap.c
- State: ✔️ Functional