Re: Graphics mode 257 memory address(es)
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Apr 06, 1999
- 524 views
Ralf wrote: > Or he could just use Neil, and have the benefit of command lists using > 100% machine code, without him having to worry about > anything. > I am confused, how little graphics demo's and game's use Neil. I assume > most download all graphics libraries for Euphoria, so > either half of the list are [.....], or they didn't understand it at > all. Few demo's would be better of with the simplicity of > specific hack to the VESA interface... Neil does infact provide an easy interface to the flat address space of most video cards. It's just not documented very well. I've created a simple demo to show how to access the linear frame buffer in VESA modes... gfx_mode simply sets the global variable "video_mem" with the address and you can peek or poke to it to your hearts content. It also sets the global variable "bytes_per_line" so you know the virtual width of the display memory. Do not assume bytes_per_line will be the same as SCREEN_W. The demo and updated Neil.e are available at my web page. _______ ______ _______ ______ [ _ \[ _ ][ _ _ ][ _ ] [/| [_] |[/| [_\][/ | | \][/| [_\] | ___/ | _] | | | _] [\| [/] [\| [_/] [\| |/] [\| [_/] [_____] [______] [_____] [______] xseal at harborside.com ICQ:13466657 http://www.harborside.com/home/x/xseal/euphoria/