FLTK for DOS

DOS specific questions.
demosthenesk
Posts: 237
Joined: Jul 15, 2021 7:23
Location: Greece
Contact:

Re: FLTK for DOS

Post by demosthenesk »

i found detailed instructions at https://sourceforge.net/projects/fltk-d ... for%20DOS/
nanox-dos-src-170911.zip

but they are not applied for fltk138
it has different configure file
so i have quit
angros47
Posts: 2326
Joined: Jun 21, 2005 19:04

Re: FLTK for DOS

Post by angros47 »

Actually, version 1.3.8 is binary compatible with version 1.3.0, so the headers of FreeBasic should work for both versions.
The version used for DOS is indeed 1.3.0, I am not aware of more recent ones compiled for DOS.
Laaca
Posts: 27
Joined: Dec 31, 2007 14:24

Re: FLTK for DOS

Post by Laaca »

For running the DOS port of FLTK you have to have set environment variable NANOSCR.
Before launhing the program try this DOS command:
SET NANOSCR=800 600 565

(width, height, RGB bits: 5-red, 6-green, 5-blue /16-bit videomode/)
Post Reply