Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLOAD into 320x200 8bpp fails on certain VGA cards in DOS #444

Open
keenmaster486 opened this issue Mar 4, 2025 · 0 comments
Open

BLOAD into 320x200 8bpp fails on certain VGA cards in DOS #444

keenmaster486 opened this issue Mar 4, 2025 · 0 comments

Comments

@keenmaster486
Copy link

keenmaster486 commented Mar 4, 2025

My machine:

Intel 486DX2/66
Cirrus Logic CL-GD5428 VLB VGA

Using FB version: 1.10.1

What I'm trying to do: set the video mode and use BLOAD to display a small 8bpp palletized BMP file

Example:

#lang "fb"
#include once "fbgfx.bi"

screenres 320, 200, 8, 1 'if I set the height to 240, it works fine
bload("TEST.BMP")

while inkey$ <> "": wend
while inkey$ = "": wend

Where it works: DOSBox, 86Box set to any VLB card except for CL-GD54xx where xx is 28 or lower

Where it does not work: 86Box with video card set to any 28 or lower Cirrus Logic card, and my real machine

Modes I tried:

256x256 8bpp (not sure how this mode even exists but it works on the real machine)
320x200 8bpp (FAILS on real machine, works elsewhere, and 86Box with CL-GD54[<=28] can't even set the mode)
320x240 8bpp (works on real machine, assuming this is using ModeX driver)

The failure consists of a blank screen with some type of stack trace being faintly displayed at the top in a shade of gray barely distinguishable from black, in a "font" so small and blocky it is impossible to read.

I have tried using both HIMEM and JEMMEX as memory managers to no avail.

My 86Box VM is set to the same exact specs as my real machine. If I select a later CL card, such as CL-GD5429, then it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant