Search found 216 matches

by rugxulo
Aug 29, 2018 3:04
Forum: DOS
Topic: 32bit TSR
Replies: 38
Views: 17904

Re: 32bit TSR

Yeah, even the "dos ain't dead" forum (http://www.bttr-software.de/forum/) seems to be dead nowadays. It's back now, so try again. BTW, IIRC, the main dude behind CWSDPMI (CWS) had some demo TSR code, but it couldn't be unloaded. So that's not quite ideal, esp. since it ate up a fair bit ...
by rugxulo
Aug 29, 2018 2:58
Forum: DOS
Topic: Watcom debugger with FBC?
Replies: 5
Views: 6308

Re: Watcom debugger with FBC?

It's probably more complicated than just yes or no. Check the (old) DJGPP FAQ, and make sure to ask for help on the newsgroup: http://www.delorie.com/djgpp/v2faq/ https://groups.google.com/forum/#!forum/comp.os.msdos.djgpp The latest mini-FAQ (Aug. 4) mentions "gdb-7.11". Hmmm, I haven't k...
by rugxulo
Aug 29, 2018 2:52
Forum: DOS
Topic: Watcom debugger with FBC?
Replies: 5
Views: 6308

Re: Watcom debugger with FBC?

Afaik Watcom uses the old codeview debug format, while djgpp's go32v2 uses stabs (and maybe later versions DWARF). I don't remember exactly, check the docs. Maybe CodeView (which?), Watcom (old), or Dwarf (default). But DOS is OMF/OBJ and either MZ or LE .EXEs. DJGPP and derivatives (like FBC), the...
by rugxulo
Feb 26, 2018 16:30
Forum: DOS
Topic: compile and dont find my lib.a ?
Replies: 10
Views: 4379

Re: compile and dont find my lib.a ?

DLLs simply don't make sense in MS-DOS. There's no mechanism, either in the OS, or the hardware platform to work with them. DLLs only make sense when the OS supports multiple processes, and the CPU supports protected memory and virtual memory mapping and addressing (MMU). 16-bit real mode (even hug...
by rugxulo
Feb 19, 2018 20:18
Forum: DOS
Topic: compile and dont find my lib.a ?
Replies: 10
Views: 4379

Re: compile and dont find my lib.a ?[solved]

In the old thread (ten years ago!) titled "Bibliothèque externe", here's what was said: Dynamic libraries could possibly be implemented in the DOS version (I experimented with DXE3 for a while), but it doesn't make much sense from my point of view - to load arbitrary libraries at runtime, ...
by rugxulo
Feb 19, 2018 20:07
Forum: DOS
Topic: compile and dont find my lib.a ?
Replies: 10
Views: 4379

Re: compile and dont find my lib.a ?[solved]

I'm not quite sure what you're trying to do, but the DOS/DJGPP port doesn't support dynamic libs, AFAIK.

https://www.freebasic.net/wiki/wikka.php?wakka=FaqDOS

Limitations ... Shared libraries (DLL's) can't be created/used (at least not "easily")
by rugxulo
Feb 09, 2018 17:52
Forum: DOS
Topic: Error 90 [SOLVED].
Replies: 16
Views: 2457

Re: Error 90.

My custom FD installation, is a Cobalt installation (FD fork, the only one worked out of the box for me, due to an open HIMEMX bug). From here: https://github.com/cobalt-os/cobalt . After installation, I'm updating FD files manually, the same way I'm doing it, with DOSEmu (which comes with very out...
by rugxulo
Feb 09, 2018 17:31
Forum: DOS
Topic: weird crashes on Phenom II X4
Replies: 4
Views: 1537

Re: weird crashes on Phenom II X4

Then I put the other CPU back in and things work again. However, there are still some GPFs when moving the mouse. Without the mouse driver being loaded there are no problems. I suspect the mouse driver may have been the problem. (But I'm not inclined to swap CPUs again at the moment to confirm.) Ac...
by rugxulo
Oct 15, 2017 22:03
Forum: DOS
Topic: Dynamic link libraries in DOS
Replies: 18
Views: 16317

Re: Dynamic link libraries in DOS

So that probably precludes any dead code removal options (--gc-sections and friends on gcc) too. Last I checked, this wasn't supported by BinUtils on any COFF targets, so that won't work here. MS COFF is probably the only COFF target that will get any work done in the future, due to Windows popular...
by rugxulo
Oct 15, 2017 22:00
Forum: DOS
Topic: How to compile under DosEMU?
Replies: 22
Views: 12166

Re: How to compile under DosEMU?

I first installed all the files in pth207b.zip, and then installed in the lib directory of DJGPP only the file libsocket.a from ls080b.zip (it can be found http://www.delorie.com/pub/djgpp/current/v2tk/ ). Libsocket is from 2002, hence it's unmaintained and probably unwise to use here. GNU pth is d...
by rugxulo
Oct 15, 2017 21:56
Forum: DOS
Topic: How to compile under DosEMU?
Replies: 22
Views: 12166

Re: How to compile under DosEMU?

I've only ever tested DJGPP builds on Windows or cross-compiling from Ubuntu, but... what errors do you get? Is there a gcc compilation error on src/gfxlib2/gfx_paletteget64.c, or a linking problem later when compiling FB programs using the gfxlib? I've never rebuilt FBC (yet). I am somewhat curiou...
by rugxulo
May 05, 2016 1:03
Forum: DOS
Topic: using SHELL to spawn another prog...
Replies: 3
Views: 1717

Re: using SHELL to spawn another prog...

djgpp "make" must also do this? I assume it runs fine under e.g. win9x? "Make" works (of course), but in the old days, there were various DPMI host bugs, hence the (long disavowed) advice of using a real-mode make. This doesn't mean that all "modern" DPMI hosts are bug...
by rugxulo
Dec 11, 2015 23:24
Forum: DOS
Topic: Issues in real DOS on a 486
Replies: 17
Views: 6360

Re: Issues in real DOS on a 486

And if you use modern (read: 32-bit) tools, always disable the option to discard unused code (--gc-sections and friends on GCC, -XX "smartlinking" on FPC). Dead code optimization requires a disproportionate amount of memory. DJGPP's COFF doesn't support that, nor does PE/COFF (last I chec...
by rugxulo
Dec 07, 2015 22:33
Forum: DOS
Topic: Issues in real DOS on a 486
Replies: 17
Views: 6360

Re: Issues in real DOS on a 486

Hi, I know I'm late, but I had to chime in a bit! :-) I’d also like to note that the FBC compiler is painfully slow. I have a UMC Green CPU 486 at 33MHz with 4MB RAM and I timed it to see how long it would take to compile a single line program: PRINT “Hello World!”. At the full 33MHz with turbo on i...
by rugxulo
Dec 07, 2015 22:12
Forum: DOS
Topic: version 1.04 DOS compile error
Replies: 6
Views: 3272

Re: version 1.04 DOS compile error

hello Gablea looks like a permissions problem, have you recently upgraded to windows 7, 8 or 10 ? if so, may I suggest that you install FreeBASIC in say C:\dev\FreeBASIC to avoid those pesky permission problems. It's always a bad idea to use "C:\dev" with DJGPP: http://www.delorie.com/djg...

Go to advanced search