Jordan Hargraphix SvgaBGI goes MIT license (Announce)
> Thank you. According to the DOCs, and it seems so in the code, during
> initalization it will use VESA BytesPerLine. This was added in original
> 3.51A: "The driver no longer assumes that logical and real line lengths are
> identical (this is when controlling via VESA driver.
I don't know which driver doesn't assume it, because the latest driver I know still assumes it, being the driver that made the bug manifest to me. As you can see in cards.asi, the value for the number of bytes per scan line is correctly saved in "BytesPerLine", but in the calculations from svga.asm the driver uses "MaxX" instead of "BytesPerLine" ("MaxX" being the width in pixels, in case you know a line of code where "MaxX" gets the value of "BytesPerLine", please point it to me).
; VESA-Infos wurden erfolgreich geholt, es:di zeigt auf den VESA-Info Block.
; Zuerst mal die Anzahl Bytes pro Scanzeile holen und in der globalen
; Variable BytesPerLine speichern. Dies berschreibt die Vorbelegung von
; Init, bisher steht dort derselbe Wert wie in MaxX.
@@L2: mov ax, [(VESA_InfoBlock es:di).BytesPerLine]
mov [BytesPerLine], ax
---
Glory to God for all things
Complete thread:
- Jordan Hargraphix SvgaBGI goes MIT license - rr, 19.12.2020, 14:58 (Announce)
- Jordan Hargraphix SvgaBGI goes MIT license - DosWorld, 19.12.2020, 15:25
- Jordan Hargraphix SvgaBGI goes MIT license - RayeR, 19.12.2020, 19:07
- Jordan Hargraphix SvgaBGI goes MIT license - marcov, 21.12.2020, 14:40
- Jordan Hargraphix SvgaBGI goes MIT license - DosWorld, 22.12.2020, 15:40
- Jordan Hargraphix SvgaBGI goes MIT license - marcov, 22.12.2020, 22:49
- Jordan Hargraphix SvgaBGI goes MIT license - DosWorld, 22.12.2020, 15:40
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 21.12.2020, 09:51
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 23.12.2020, 16:48
- Jordan Hargraphix SvgaBGI goes MIT license - Khusraw, 23.12.2020, 18:40
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 24.12.2020, 08:46
- Jordan Hargraphix SvgaBGI goes MIT license - Khusraw, 24.12.2020, 11:25
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 24.12.2020, 12:28
- Jordan Hargraphix SvgaBGI goes MIT license - Khusraw, 24.12.2020, 12:46
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 24.12.2020, 12:28
- Jordan Hargraphix SvgaBGI goes MIT license - Khusraw, 24.12.2020, 11:25
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 24.12.2020, 08:46
- Jordan Hargraphix SvgaBGI goes MIT license - Khusraw, 23.12.2020, 18:40
- Jordan Hargraphix SvgaBGI goes MIT license - Guti, 23.12.2020, 16:48
- Jordan Hargraphix SvgaBGI goes MIT license - DosWorld, 19.12.2020, 15:25