Gregory Haerr

Results 674 comments of Gregory Haerr

Hello @Randrianasulu and @tkchia, Thank you @Randrianasulu for the links to PCC, I'll take a look at it. Same for LCC-8086, that work looks extremely old but could be worthwhile....

@bocke: > I think NASM does support ELKS a.out format. LCC port might use NASM too. I'm not sure about whether NASM supports a 16-bit MINIX a.out format or not....

Hello @pmp-p, > is it possible to prevent showing window content while moving them ? Yes, the `ERASEMOVE` setting in `config` (default =Y) will normally prevent Win32 window content redraws...

Hello @uklatt, > hdcMem = CreateCompatibleDC( hdc ); Where is `hdc` initialized? Is this code part of something large in a window procedure callback function? > When I display the...

> image = (PMWIMAGEHDR)GdLoadImageFromFile( "./penguin.bmp", 0 ); In general, one can't call `Gdxxx` functions from the WIN32 API. The reason your program is crashing is that `GdLoadImageFromtFile` returns a `PSD`,...

Hello @AntumArk, Microwindows (usually) has support for all color schemes compiled in, and allows for switching at run-time, depending on the query results from the framebuffer driver or X11. Thus,...

> feeding 24bit colors to the screen still produces 16bit colors. You have to match the Nano-X pixel color format with the screen pixel format, "sending" 24-bits to a 16-bt...

> So, here is how generally throughout the code draw operations are done: I see now, thanks. This code uses the latter method as I discussed above. It uses a...

> because alpha channel is used in (i think) not standard way, where are two specific colors which handle transparent areas. Ah, this could very well be an issue. Nano-X...

> Actually how do you compile for windows? That's not supported by myself, since I don't have a Windows box anymore. But there are a couple Visual Studio projects in...