/SDCC_VDP_PRINT_Lib

Functions Library for display text strings in the graphic modes of the TMS9918A (G1 and G2)

Primary LanguageC

VDP PRINT MSX SDCC Library (fR3eL Project)

Author: mvac7
Architecture: MSX
Format: C Object (SDCC .rel)
Programming language: C and Z80 assembler

Sorry!: This text is pending correction of the English translation.

Description

Functions for display text strings in the graphic modes of the TMS9918A (G1 and G2).

Requires the VDP TMS9918A Library to write to the VRAM and so that you can start the graphics modes.

This library does not use any of the MSX BIOS functions, so it is suitable for creating applications for MSX-DOS and ROM format.

I have adapted a routine for converting a 16 Bits value to ASCII, extracted from the Baze collection WEB, for printing numbers.

It is adapted to work with the standard MSX screen configurations but it can be changed to the VRAM addresses of other computers or video game consoles.

This project is an Open Source library. You can add part or all of this code in your libraries/engines.

Use them for developing MSX applications using Small Device C Compiler (SDCC).

You can access the documentation here with How to use the library.

In the source code examples/, you can find applications for testing and learning purposes.

TEST_0000

This library is part of the MSX fR3eL Project.

Enjoy it!

History of versions

  • v1.3 (27/September/2021) Add VLOCATE; Remove VPrintString and VPrintNum
  • v1.2 (16/April/2021) VPRINTN string size control
  • v1.1 (9/September/2020)
  • v1 (4/February/2016) First version

Requirements

Acknowledgments

I want to give a special thanks to all those who freely share their knowledge with the MSX developer community.