From: Diego I. <die...@gm...> - 2010-01-08 10:42:05
|
Maybe allegro might help you. Never used it since my good old DOS days but IMHO this what you are looking for :) http://www.allegro.cc/ If you can't use it directly - maybe yoou can "borrow" some ideas, as they have a very stable code base. On Fri, Jan 8, 2010 at 11:53 AM, Jonathan Andrews <jo...@jo...>wrote: > I've written some framebuffer code on linux, it uses 16 bit 800x600 > framebuffer access (vga=0x315) > > Its been a very long time since i've programmed windows, how simple > would it be to create a mingw version of my code that malloced some RAM > and then copied the contents into a window. > > Anyone any suggestions for the best place to look, I don't want to write > c++ syntax if I can avoid it. Basically I just need to create a window > 800x600, malloc a buffer big enough for 800x800x16bits - treat that ram > as my framebuffer and write a function to munge the contents on the > buffer into the window. > > Grateful for any advice. Thanks, > Jon > > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list > etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |