Repository navigation
Releases
Releases · ppsilv/vgaTerminal
Versao 2.0.00
Esta tag promove a correção do grande bug do scroll.
A correção foi feita nas funções:
void print(const char ch)
{
if (!font)
return;
if(ch == '\n')
{
cursorX = 0;//cursorBaseX;
cursorY += cursorYIncrement;
}
else if (font->valid(ch)){
drawChar(cursorX, cursorY, ch);
cursorX += cursorXIncrement;
}
else{
drawChar(cursorX, cursorY, ' ');
}
if ( (cursorX + cursorXIncrement) > xres )
{
cursorY += cursorYIncrement;
cursorX = cursorBaseX;
if( cursorY > yres ){
cursorY = yres-cursorYIncrement;
}
}
if ( (cursorY + cursorYIncrement) > yres )
{
if(autoScroll && ( (cursorY + cursorYIncrement) > yres) ){
//onScroll = true;
//Serial.print("\nCursorY ");Serial.print(cursorY);
//Serial.print(" yres ");Serial.print(yres);
//Serial.print(" cursorYIncrement ");Serial.print(cursorYIncrement);
scroll((cursorY - yres)+cursorYIncrement, backColor);
}
}
}
void print(const char *str)
{
if (!font)
return;
while (*str)
{
print(*str);
str++;
}
}
First release working with Z80 board consistently
This release works good, but without cursor, because it is hanging when we get the line 25 in 640x350 in a clear screen.
I have an issue for this bug, and the solution was take out the cursor system.
Except for cursor system, all other things are working well.
Versao 1.0.00
Esta versão contempla:
1 - Tem 4 opções de baudrate configurado por dip-switch.
2 - Tem um código de terminal VT-100 totalmente compilado, mas sem uso ainda.
3 - Implementado o cursor.
4 - Configurado fundo preto e caracter em verde.
Full Changelog: https://github.com/ppsilv/vgaTerminal/commits/Versao-1.0.00