Gregory Haerr

Results 674 comments of Gregory Haerr

Hello everyone, Well, there's a lot that got discussed today, here's a few of my thoughts... > one needs to rewrite the needed functions from graphics.h. Functions needed for this...

@toncho11, > Alfonso Martone found a way to convert DOS Turbo-C programs to enable these to run with ELKS. For this he developed the exe2elks DOS utility program and a...

> I compiled a minimal program that draws a rectangle with Turbo C and then applied exe2elks. > It says "invalid argument" on ELKS. This is very likely due to...

> probably I need to use the .bat file provided by Alfonso to set the proper options of tcc and tlink ... to generate a better executable Yes, the idea...

@toncho11, I'm not exactly sure what the problem is with ELKS running that (v0 format a.out header) executable, but I have a workaround that works: `chmem -h` can be run...

> I can not even compile a normal exe with the integrated bgi driver. Compile or link error? You're using TC on DOS so there should be no issues having...

@toncho11, Does the graphics program link and run on DOS, when not linking with the tcc4elks smalllibc? It is important that everything compile, link, and run perfectly on DOS before...

> tlink /n /s /d demo4, demo4, demo4, c:\tcc4elks\smallibc\smallibc c:\tc\lib\graphics c:\tc\egavga.obj After you get it working on DOS, I think the above command line has to include c0.obj or c0noargs.obj;...

Hello @toncho11, Are you still working on getting Alfonso's Turbo-C -> ELKS conversion mechanism working? I've fixed ELKS to run programs converted by his `exe2elks` program in #890. Despite some...

> Is it possible to write directly to video memory in ELKS? Can you do something like int 13h in DOS ? Are you talking text or graphics? For text...