MINDSET Computer - Fast font/string Text Output

Channel:
Subscribers:
3,140
Published on ● Video Link: https://www.youtube.com/watch?v=TQhMGdQ1vZc



Duration: 3:49
680 views
34


The #MINDSET's BLITTER can also be used for fast text output of a custom font at any pixel position.

It took me a significant amount of time to figure out how the SET FONT POINTER and BLT STRING routines worked, because the documentation left out very critical details, and my initial assumptions were incorrect.

Namely, the font data has to be in the same format as used by BLT COPY for the target mode, in this case, 4 bits per pixel, and that the font data has to be laid end to end, as seen in the video.

Now I will be able to do tile based graphic output, very quickly, for both the custom fonts needed in #PLATOTERM, but also for game dev work on this machine.

The code is here:
https://github.com/tschak909/mindset-examples/blob/master/font/main.c







Tags:
MINDSET Computer
MINDSET
Workstation
Graphics Workstation
BLITTER
Hardware Accelleration
MS-DOS
custom font