Search found 2795 matches

by marcov
Apr 09, 2020 13:04
Forum: Beginners
Topic: FreeBASIC + tcc
Replies: 15
Views: 392

Re: FreeBASIC + tcc

See if you can dump symbols in the tcc compiler with nm

nm -a x.o > symbollist.txt

and search for the symbols that you miss.

If both tcc and binutils have a nm, use the one from binutils
by marcov
Apr 08, 2020 9:45
Forum: Linux
Topic: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5
Replies: 11
Views: 239

Re: (L)Ubuntu Focal Fossa (20.04) and libtinfo.so.5

I used to try to do this in the past too. Now I only make multiple builds in VMs for the various LTSes, and don't even attempt to support all distros. Much less work, and the experience is better.
by marcov
Apr 06, 2020 8:18
Forum: Beginners
Topic: FreeBASIC + tcc
Replies: 15
Views: 392

Re: FreeBASIC + tcc

Look at the error I would guess FB generates a mangled name that starts with _, and tcc not?

IIRC ABI for (PE)COFF specifies a lead _ for C compilers.
by marcov
Apr 03, 2020 20:57
Forum: General
Topic: Strange behaviour with #define
Replies: 8
Views: 194

Re: Strange behaviour with #define

In C preprocessor you have to use # or ## to concatenate and form aggregates of two parts. Maybe in FB too?
by marcov
Mar 28, 2020 16:10
Forum: Windows
Topic: How can I force my program use this or this core?
Replies: 6
Views: 298

Re: How can I force my program use this or this core?

I'll have to test this one first, but I have in fact more questions in the same domain. Sometimes we have a child process that gets stuck, how can we kill a child without killing the parent? It rarely works in the task manager, when you kill a child everything is dropped with it. Any idea about thi...
by marcov
Mar 19, 2020 8:12
Forum: Community Discussion
Topic: BASIC(modified B++ complier) + wxWidgets
Replies: 38
Views: 2393

Re: BASIC(modified B++ complier) + wxWidgets

I am a BASIC lover. I hope BASIC can popular like before, and alive on every platform. I am not a software architect, I just want to do something for BASIC world, and not waiting for BASIC going to die. And you thought fracturing the existing community rather than joining an existing team was then ...
by marcov
Mar 15, 2020 17:11
Forum: Tips and Tricks
Topic: AlignAlloc(), AlignCAlloc(), AlignFree(), AlignSize(), AlignPayload()
Replies: 4
Views: 286

Re: AlignAlloc(), AlignCAlloc(), AlignFree(), AlignSize(), AlignPayload()

SARG you can move none 16 byte boundary aligned memory with "movups" that is not the problem ! The problem are in 32-bit mode you can't do a SSE math operation on none aligned memory. By the way I use SSE only (not MMX, 3D NOW, SSE2, SSE3, SSE4, AVX) the minmum specs are an old Pentium 3 ...
by marcov
Mar 14, 2020 11:25
Forum: Community Discussion
Topic: Dream of sugar
Replies: 12
Views: 544

Re: Dream of sugar

Hmm. You are not very clear about why the language extensions are needed other than <insert flavor of the day language here> has it. This is the old fatal trap of assuming language features determining a language's (or better: development system's) success. It doesn't. You don't get successful by co...
by marcov
Mar 13, 2020 20:38
Forum: Tips and Tricks
Topic: WIN-API without any #Include "..."
Replies: 13
Views: 538

Re: WIN-API without any #Include "..."

And how do you validate it? Specially if you need non trivial pieces?

P.s. if you like wasting time, consider making lace by hand. It is particularly pointless.
by marcov
Mar 11, 2020 15:18
Forum: DOS
Topic: How do you get FreeBASIC for DOS on a real retro PC?
Replies: 13
Views: 429

Re: How do you get FreeBASIC for DOS on a real retro PC?

Since Windows 7 you need a port I/O driver to access harware ports from user space assembler "out dx,al" or "in dx,al" I used the Parallel port with stepper motor drivers and an port I/O driver like InOut32 and InOut64. This driver was open source and worked for XP and was signe...
by marcov
Mar 09, 2020 19:15
Forum: Community Discussion
Topic: CudaText
Replies: 9
Views: 532

Re: CudaText

dodicat wrote:So I am not 100% surprised that a Lazarus project could be inclined to be a bit buggy.


Actually, CudaText is mostly 3rd party.
by marcov
Mar 09, 2020 14:35
Forum: DOS
Topic: How do you get FreeBASIC for DOS on a real retro PC?
Replies: 13
Views: 429

Re: How do you get FreeBASIC for DOS on a real retro PC?

I'm 100% certain that serial works, I use it daily. Now that you say it, I also have combined serial and parallel cards, and the lpt's show up, even though I never use them (I got them for the serial ports)
by marcov
Mar 09, 2020 10:03
Forum: Community Discussion
Topic: My issues about freebasic
Replies: 23
Views: 1514

Re: My issues about freebasic

When do you think you can have a first set of patches ready? Why, you've not only beaten me to it, but also did it in a pretty blunt and succint way XD 20 years of practice :-) Nothing ever changes if there are no changes to the code. Also I've learned to mostly ignore any very broad comparisons wi...
by marcov
Mar 09, 2020 10:02
Forum: DOS
Topic: How do you get FreeBASIC for DOS on a real retro PC?
Replies: 13
Views: 429

Re: How do you get FreeBASIC for DOS on a real retro PC?

If the machine can run any new OS and has network, it might be easier to have a dual boot or a bootable live CD, mount the drive, transfer files, and reboot to dos. Even with laplink, for really _big_ files, it is slow. On my dos testing machine (a P-II 233 laptop) I used to dual boot to win98 and t...
by marcov
Mar 09, 2020 8:30
Forum: DOS
Topic: How do you get FreeBASIC for DOS on a real retro PC?
Replies: 13
Views: 429

Re: How do you get FreeBASIC for DOS on a real retro PC?

I see quite some retro computers use laplink (parallel port<->parallel port) to load data onto their dos pcs, with a parallel to usb converter on one side. I just saw it on fairs, don't know what software they used on the non-dos side to manage the usb parallel though. But the parallel port is not t...

Go to advanced search