VESA20.e
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> May 10, 1999
- 473 views
> Hi, > > I have looked over the Eu site and can not find vesa20.e any where... > Where is it at??? Thanx > > The blind Grape Currently it's only available from my site: http://www.harborside.com/home/x/xseal/euphoria/ I haven't asked Rob to link to it yet, because I didn't realize how many people would find it more useful than Neil. I've added some bitmap scaling routines and I still need to fix up the vesa_mode routine for better compatibility. > I noticed in vesa20.e that it has a list of graphics modes, for in case > the ROM didn't, would those numbers work with graphics.e's > graphics_mode()? > > Thanks, > Mike Hurley Only the 8-bit-per-pixel modes. (see also /euphoria/include/graphics.e) > Would it be possible to copy/base a virtual graphics copying routine > off of the info stored in VESA20.E? I mean like how it sets up banking > or linear and that kind of stuff. I guess I'm still a little unclear on what you want to do here... > On another track, is there any reason that VESA20.E's vesa_mode() > doesn't work with 16-color modes? (What would the bit-depth be for that > anyway? 4? 2?) 4, but you're on your own for doing raw video memory access (planar mode really sucks, trust me) > I'm gonna try to base a routine off of VESA20.E, but I'll listen to > anybody's suggestions on the topic. > > Thanks all, I know I'm sounding repetative, > Mike Hurley > 1) I know that 65k means 65,000, and that 16.7M means 16,700,000, but > in terms of number of colors in a graphics mode, is 65k literally > 65,000, or 16.7M literally 16,700,000? I would like to know so I can > incorporate it into my graphics library...which I now am finished with > the 'rough draft,' and am now writing the demo programs for it. Any > help is appreciated, it's just that computer numbers can be tricky. > With 1 Kb actually being 1024 bytes and all. 64k = 65536 -- 16-bit color = 2^16 16.7M = 16777216 -- 24-bit color = 2^24 > 2) Is there any way to read a 24-bit bitmap/image under DOS with > current libraries? I'm thinking of adding 24-bit support to my > library. Neil reads 24-bit .bmp files.. TrueColr reads 24-bit .tga... Al Getz wrote a jpeg decompressor Later, _______ ______ _______ ______ [ _ \[ _ ][ _ _ ][ _ ] [/| [_] |[/| [_\][/ | | \][/| [_\] | ___/ | _] | | | _] [\| [/] [\| [_/] [\| |/] [\| [_/] [_____] [______] [_____] [______] xseal at harborside.com ICQ:13466657