Search found 774 matches

by DOS386
Jan 12, 2015 10:17
Forum: DOS
Topic: Windows 8.1 not running my dos program?
Replies: 8
Views: 4707

Re: Windows 8.1 not running my dos program?

Are 32bit Protected-Mode DOS programs not the same as your typical average 32bit Windows program? (Obviously they're compiled in different languages, but 32bit is 32bit , or is it?) Just curious, hopefully somebody can explain. Well, definitely NO. Why? Because Win32 programs use Win32 API, and run...
by DOS386
Jan 01, 2015 17:36
Forum: General
Topic: Ultimate "HELLO WORLD" - FBC 1.01.0 review
Replies: 2
Views: 1078

Re: Ultimate "HELLO WORLD" - FBC 1.01.0 review

- fbc no longer includes full ldscripts, a supplemental snippet (fbextra.x) is passed to the linker instead (except for the DOS/DJGPP version which still relies on a modified ldscript) The linking trouble (warns + strange binary) is most likely due to this ^^^ change in 0.24. Taking AS.EXE + LD.EXE...
by DOS386
Dec 31, 2014 13:37
Forum: Documentation
Topic: Printer (it is unclear written) (SOLVED)
Replies: 6
Views: 2863

Re: Printer (it is unclear written) (SOLVED)

VANYA wrote:can't understand this sentence:
Preprocess the graphics, program the printer and send the pixels in FB.
Can someone explain it in other words?


IMHO the sentence was pretty bad ... I improved it now.
by DOS386
Dec 31, 2014 11:41
Forum: General
Topic: Ultimate "HELLO WORLD" - FBC 1.01.0 review
Replies: 2
Views: 1078

Ultimate "HELLO WORLD" - FBC 1.01.0 review

'' "HELLO.BAS" - ultimate "HELLO WORLD" program '' (C) 2015-Jan-01 All fights reserved '' For DOS (FreeDOS/EDR-DOS/...) and Win32 (ME/NT/10/XP/...) '' Compile with FreeBASIC Compiler only !!! '' Tests FBC efficiency - the (smallest possible) bloat of executables '' Define "...
by DOS386
Dec 31, 2014 11:20
Forum: General
Topic: TIMER inaccuracy on 486/Pentium
Replies: 2
Views: 596

Re: TIMER inaccuracy on 486/Pentium

I discovered that TIMER is inaccurate in certain cases. Not really: http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgTimer > During 30 real seconds, the TIMER function would only count 15-25 seconds. Bad if true. Please supply a complete testcase. > It only happened when using a graphics mode, un...
by DOS386
Nov 12, 2014 7:37
Forum: General
Topic: FBC 1.0 doesn't work on ME
Replies: 11
Views: 2226

Re: FBC 1.0 doesn't work on ME (and 98)

dodicat wrote:I ask ???, not sure why this is relevant ???


It is relevant since bloat avoidance is a crucial quality of programmers and software. ;-)

> thought that Win 98 (second edition) would be similar to Win ME

Me too.
by DOS386
Nov 11, 2014 17:22
Forum: DOS
Topic: New DOS Ver 1.00.0
Replies: 14
Views: 6514

Re: New DOS Ver 1.00.0

FBC 1.0 DOS works well, most notably, it removes the 70 KiO of extra bloat added in 0.90, and the "FBC.EXE" file itself is also much smaller than in 0.22, thanks to the devels :-) After replacing the "binutils" by those from 0.22 (actually just "AS.EXE" and "LD.EXE...
by DOS386
Nov 11, 2014 17:14
Forum: General
Topic: FBC 1.0 doesn't work on ME
Replies: 11
Views: 2226

Re: FBC 1.0 doesn't work on ME

FBC 1.0 Win32 doesn't work on ME, also the special MinGW version of "FBC.EXE" doesn't work there, it crashes just differently. 0.90.1 does work on ME like the 0.90rc2 does, but "binutils" don't. While "binutils" from 0.24 do work perfectly, those from 0.22 do brew a bun...
by DOS386
Nov 09, 2014 6:42
Forum: General
Topic: FBC 1.0 doesn't work on ME
Replies: 11
Views: 2226

FBC 1.0 doesn't work on ME

http://www.freebasic.net/wiki/wikka.php?wakka=CompilerRequirements The FreeBASIC compiler (fbc.exe) and the executables generated by it, need at least Windows 95 to run -- it was not tested in Windows 3.x with the Win32 system installed yet (??) . Windows 3.x ? It doesn't work on ME/98 anymore. 0.90...
by DOS386
Oct 27, 2014 7:33
Forum: DOS
Topic: DPMI and Programs Made with FBC?
Replies: 11
Views: 3962

Re: DPMI and Programs Made with FBC?

> Therefore, do my FreeBASIC programs really work under plain old DOS? > Or do I need to worry about including some type of "extender" in the programs I distribute? http://www.freebasic.net/wiki/wikka.php?wakka=FaqDOS :-) > My only exposure to DOS nowadays is under Windows ME Maybe you can...
by DOS386
Oct 27, 2014 7:03
Forum: DOS
Topic: New DOS Ver 1.00.0
Replies: 14
Views: 6514

Re: New DOS Ver 1.00.0 - worx for me

> I installed the new FreeBASIC-1.00.0-DOS. Cannot compile simple program. Worx for me in both FreeDOS and EDR-DOS. Was there a silent update or did it always work? See shot: http://users.freebasic-portal.de/dos386/fb1ok.png See also about messy slashes: http://board.flatassembler.net/topic.php?t=90...
by DOS386
Jul 12, 2014 10:25
Forum: DOS
Topic: QB code > FreeBasic fblite HELP
Replies: 6
Views: 2593

Re: QB code > FreeBasic fblite HELP

tcpCall.es = VARSEG(strGetData) '' !!! BIG PROBLEM HERE !!! I have translated to tcpCall.es = int(sizeof(strSendData)/16)+1 I don't understand why ... most like it won't work like that ... you have to set: 1. ES in the structure for INT $31 / AX=$0300 and 2. to the segment address of your buffer in...
by DOS386
Jul 12, 2014 8:57
Forum: DOS
Topic: QB code > FreeBasic fblite HELP
Replies: 6
Views: 2593

Re: QB code > FreeBasic fblite HELP

> I would know if possible, you can to convert a QuickBasic (4.5) > code to FreeBasic with fblite for me ? :-) tcpCall.es = VARSEG(strGetData) '' !!! BIG PROBLEM HERE !!! tcpCall.di = VARPTR(strGetData) tcpCall.cx = 1500 tcpCall.dx = 0 CALL interruptx(tcpDriver.IntVector, tcpCall, tcpReturn) It's po...
by DOS386
Jul 09, 2014 13:30
Forum: DOS
Topic: EXE sizes
Replies: 20
Views: 5145

Re: EXE sizes

If I write a "hello world" program for DOS, about how many bytes would the executable be? 16-bit ASM: cca 20 Octet's 16-bit HLL: cca 1 KiO to 10 KiO 32-bit HLL: cca 30 KiO to 300 KiO Quack-64: cca 10 MiO (YES it runs in DOS http://www.bttr-software.de/forum/board_entry.php?id=8785) This h...
by DOS386
Jun 23, 2014 15:14
Forum: DOS
Topic: Com File Inline Assembly
Replies: 4
Views: 2249

Re: Com File Inline Assembly

Hello , this is me again , i made a com file with FB Just wandering , do you think this code is safe ? Sure it's safe, assuming that it works at all ... this had been already discussed: http://www.freebasic.net/forum/viewtopic.php?t=21085 - FBC can't generate 16-bit code (only 32-bit) - FB lib's ar...

Go to advanced search