Search found 774 matches

by DOS386
Dec 21, 2015 10:59
Forum: Community Discussion
Topic: Version 1.04.0
Replies: 89
Views: 15919

Re: Version 1.04.0

> but MinGW/32 version does NOT work on ME due to "_localtime64" import > ... also the binary is full of CMOVNTQ's so it wouldn't work on P2 and even less on 80386 Oddly, the "standard" version brewed with MinGW/64 DOES work on ME ... but the "more compatible" MinGW/32o...
by DOS386
Dec 19, 2015 3:16
Forum: Community Discussion
Topic: Version 1.04.0
Replies: 89
Views: 15919

Re: Version 1.04.0

freebasic.net/forum/viewtopic.php?t=23986 wrote:FB how has a Boolean type and True/False constants
there seems ^^^ to be a typo

And could you please look into the compatibility (CPU, Win32 version) of the "win32-mingworg" packages.
by DOS386
Dec 15, 2015 8:16
Forum: Documentation
Topic: asc/unicode
Replies: 11
Views: 3511

Re: asc/unicode

http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgAsc on the ASC example that includes Russian, shouldn't there be ',2' to specify the second character? Seems that YES. http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgWstring On Win32 wstrings are encoded in UCS-2 (UTF-16 LE) and a character take...
by DOS386
Dec 15, 2015 7:51
Forum: DOS
Topic: Issues in real DOS on a 486
Replies: 17
Views: 8568

Re: Issues in real DOS on a 486

Secondly, I found out that FreeBASIC doesn’t work unless you have a FPU This had been already discussed: http://www.freebasic.net/forum/viewtopic.php?p=113881#p113881 I still think that some sort of "no-init-fpu" switch should be available (and maybe also "no-catch-exceptions" a...
by DOS386
Dec 15, 2015 7:41
Forum: Community Discussion
Topic: Version 1.04.0
Replies: 89
Views: 15919

Re: Version 1.04.0

binary is full of CMOVNTQ's
I did a disassembly (many CMOVxx instructions) ... seems that I can't edit my posts here anymore :-(
by DOS386
Dec 15, 2015 7:35
Forum: Community Discussion
Topic: Version 1.04.0
Replies: 89
Views: 15919

Re: Version 1.04.0

Funny: when I tried to compile/run with the WIN32 Version I've got a false Positive from AVIRA Virus Scanner ... seems I'll have to virii - virii FreeBASIC-1.04.0-2-win32-mingworg.zip | .7z archive - alternative to the normal FB-win32 package, may work better for older Win32 systems "fbc.exe&q...
by DOS386
Jun 23, 2015 17:51
Forum: Documentation
Topic: Min-GW/64 vs Min-GW/32
Replies: 2
Views: 1952

Min-GW/64 vs Min-GW/32

http://www.freebasic.net/wiki/wikka.php?wakka=CompilerRequirements http://downloads.sourceforge.net/fbc/FreeBASIC-1.02.1-win32.exe?download http://downloads.sourceforge.net/fbc/FreeBASIC-1.02.1-win32-mingworg.zip?download "alternative to the normal FB-win32 package, may work better for older Wi...
by DOS386
Mar 02, 2015 9:07
Forum: DOS
Topic: Strange bug in ISR
Replies: 6
Views: 3665

Re: Strange bug in ISR

> would to know, why my ISR timer is stopped when i change my screen resolution ? Because SCREEN installs it's own ISR and increases the PIT frequency: http://sourceforge.net/p/fbc/code/ci/master/tree/src/gfxlib2/dos/gfx_dos.c > where the SLEEP command was unloading my interrupt handler Funny. Seems...
by DOS386
Feb 09, 2015 8:41
Forum: General
Topic: [???] FBC 1.01.0 misevaluation (addition+wrap+compare)
Replies: 5
Views: 1895

Re: [BUG] FBC 1.01.0 misevaluation (addition+wrap+compare)

I see - yes, the result is as expected. Most operations will have a return type at least as big as the operands passed to it. All operands in my code are UINT8, so I expected 8-bit processing. Besides, the '1' in 'KK8+1' is an Integer Then the documentation http://www.freebasic.net/wiki/wikka.php?w...
by DOS386
Jan 30, 2015 10:54
Forum: General
Topic: [???] FBC 1.01.0 misevaluation (addition+wrap+compare)
Replies: 5
Views: 1895

Re: [BUG] FBC 1.01.0 misevaluation (addition+wrap+compare)

compiler doesn't optimise things like that - it doesn't try to rebalance comparisons. Nevertheless the result is wrong. Can anyone reproduce it ? > I would have expected any operands to have been cast up to Integer But this is AFAIK NOT supposed to happen. > What architecture and compiler parameter...
by DOS386
Jan 30, 2015 9:47
Forum: General
Topic: [???] FBC 1.01.0 misevaluation (addition+wrap+compare)
Replies: 5
Views: 1895

[???] FBC 1.01.0 misevaluation (addition+wrap+compare)

#define incv(Q) Q=Q+1 type UINT8 as UBYTE DIM KK8 AS UINT8 KK8=251 : ? "!!! BUG (addition+wrap+compare) !!!" DO ? STR$(KK8) + " " ; IF ((KK8+1)>128) THEN '' Broken in FBC 1.01.0 !!! ? "Truue" ; ELSE ? "False" ; ENDIF ? " " ; IF (CAST(UINT8,(KK8+1))>...
by DOS386
Jan 30, 2015 9:40
Forum: DOS
Topic: Presse a key in same time -> move my mouse. Ctmouse troubles
Replies: 4
Views: 3584

Re: Presse a key in same time -> move my mouse. Ctmouse trou

> I have a problem with my Ctmouse driver only together with FB or also with other programs? (FreeDOS mailing list) > when i move my mouse (USB) in same time that I press a key Is the keyboard also USB? ctmouse /u mouse.com mouse.com out ctmouse what is "mouse.com" ? M$ mouse driver? > and...
by DOS386
Jan 12, 2015 10:49
Forum: Windows
Topic: FreeBASIC 1.01.0 - illegal instruction
Replies: 8
Views: 2784

Re: FreeBASIC 1.01.0 - illegal instruction

I was testing code on old machines today (and ran into some DOS issues that I'll have to post about later), and downloaded the latest FreeBASIC to see if it made any difference ... Nothing compiled with 1.01.0 runs on my NT4 machine (Pentium MMX). Even a "hello world" program fails with a...
by DOS386
Jan 12, 2015 10:39
Forum: General
Topic: Ultimate "HELLO WORLD" - FBC 1.01.0 review
Replies: 2
Views: 1624

Re: Ultimate "HELLO WORLD" - FBC 1.01.0 review

I wrote: > Not yet tested on CPU older than P3. Done! Result: DOS "Hello world" runs on P1, while Win32 "Hello world" crashes at some CMOVNTQ-like instruction. Obviously the "-arch" option of FBC (called "March" in some other compilers) allowing to target 386,...
by DOS386
Jan 12, 2015 10:20
Forum: DOS
Topic: I have found the problem !! (FreeBASIC + Network)
Replies: 13
Views: 6720

...

dkl wrote:Just to be sure, does this FB code have the problem?

Code: Select all

var f = freefile()
if open("C:\texte.txt", for binary, access read, as #f) <> 0 then
    print "FB open() failed"
    end 1
end if
close #f
NO. It works (compiled by FBC 1.01.1) perfectly in EDR-DOS and FreeDOS.