Re: [Freedos-user] graphics in dos.

2011-07-09 Thread dos386
 [Freedos-user] graphics in dos.
 djgpp info warns that both bios and vga approach go outside of protected mode

COOL.

VGA works from PM, bancrupt VESA works from PM, LFB VESA works from PM,
BIOS works from PM (but is a pain and needs temporary switch to RM).

VESA LFB can be written from PM only, still needs BIOS to set up
(except you use some new PM driver model).

 Such programs don't even run in NTVDM dos emulator, but work in ,say, freedos.

Good.



-- 
~~~ wow ~~~

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] graphics in dos.

2011-07-05 Thread Eric Auer
Hi Kurt,

 Maybe someone would know; was playing with old fashioned 16 bit graphics,
 compiling with djgpp. The djgpp info warns that both bios and vga approach
 go outside of protected mode, so that
 mangling of the system is possible. Such programs don't even run in NTVDM
 dos emulator, but work in ,say, freedos.
   Then tried grx under djgpp, and it also won't work in NTVDM, and will work
 in freedos. My question is: with the grx scheme, am I in protected mode?

DJGPP is always in protected mode, but you probably
wanted to ask something else about graphics. What I
did with DJGPP last time was use VESA with the nice
int 10 interface calls, allocates a handle for the
linear frame buffer, and then uses that as a large
array of bytes / shortints / ints / whatever :-)

Eric


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user