TerminalMatrix 1.4.0
See the version list below for details.
dotnet add package TerminalMatrix --version 1.4.0
NuGet\Install-Package TerminalMatrix -Version 1.4.0
<PackageReference Include="TerminalMatrix" Version="1.4.0" />
paket add TerminalMatrix --version 1.4.0
#r "nuget: TerminalMatrix, 1.4.0"
// Install TerminalMatrix as a Cake Addin #addin nuget:?package=TerminalMatrix&version=1.4.0 // Install TerminalMatrix as a Cake Tool #tool nuget:?package=TerminalMatrix&version=1.4.0
TerminalPixelMatrixLibrary
An 8-bit video interface emulator. Hope to make it good enough to replace the GUI code in our Altair BASIC emulator, A-BASIC-Language.
Limit text area
When the text area is unlimited, the text terminal displays 25 lines of text.
This amount can be limited using the SetTextRenderLimit
method.
0
means that text is allowed everywhere, a larger value leaves empty space on the
upper part of the screen, and the largest value (23
) only allows two
lines of text on the bottom of the screen.
Bitmap images
To produce a bitmap image, create a picture (preferably a 16 or 32 color GIF file) using the palette described in the ah-c64-palette.act Photoshop file (or the extended 32 color file). The color palette is also described in the source code, here. Remember that pixels are more high then wide, and that the interface emulator only can display 640 * 200 pixels at one time.
To display an image, load it as a byte array using the LoadPictureFromGif
function and draw it using the SetPixels
function.
Call UpdateBitmap
to force the pixel buffer to be displayed.
var gif = terminalMatrixControl1.LoadPictureFromGif(@"..\..\..\..\testgif.gif");
terminalMatrixControl1.SetPixels(0, 0, gif);
terminalMatrixControl1.UpdateBitmap();
The image is a screenshot of the AdventureGameExample projet, a text adventure game dummy.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. |
-
net8.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.7.1 | 32 | 9/6/2024 |
2.7.0 | 25 | 9/6/2024 |
2.6.0 | 92 | 6/23/2024 |
2.5.0 | 91 | 6/19/2024 |
2.4.0 | 80 | 6/16/2024 |
2.3.0 | 91 | 6/15/2024 |
2.2.0 | 76 | 6/5/2024 |
2.1.0 | 80 | 5/19/2024 |
2.0.0 | 79 | 5/19/2024 |
1.8.0 | 79 | 5/18/2024 |
1.7.0 | 114 | 12/31/2023 |
1.6.0 | 112 | 12/21/2023 |
1.5.0 | 124 | 12/15/2023 |
1.4.0 | 109 | 12/15/2023 |
1.3.0 | 117 | 12/14/2023 |
1.2.0 | 102 | 12/13/2023 |
1.1.0 | 116 | 12/12/2023 |
1.0.0 | 107 | 12/12/2023 |
Bitmap is now byte based and the palette is extended to 32 colors..