Search found 821 matches

by Mysoft
Jun 03, 2020 21:50
Forum: Sources, Examples, Tips and Tricks
Topic: Iterative Variadric Macro
Replies: 0
Views: 1413

Iterative Variadric Macro

so... freebasic have variadric macros... and unlike C, freebasic supports #preprocessor definition inside preprocessor... the only thing blocking a Iterative Variadric Macro, is because freebasic blocks recursive defines... BUT! you can fool it to accept that, and call a macro, with a variable numbe...
by Mysoft
May 16, 2020 16:17
Forum: Libraries & Headers
Topic: raylib headers
Replies: 88
Views: 32022

Re: raylib headers

who was the genius bright fellow, that converted a beauty .h interface into fellow garbage OOP?? genius people these days...
by Mysoft
Dec 03, 2019 23:07
Forum: Community Discussion
Topic: option escape
Replies: 0
Views: 1600

option escape

why "option escape" requires fblite lang? when it makes more sense to have it for fb than fblite... i.e. a way to make all strings work like C...

unless, theres a way to have that on lang fb without the option escape (and obviously without using !"..." on all strings ^^)
by Mysoft
Oct 14, 2019 14:56
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

ok then :) well my point was that win32s programs works fine even on win10, theres no attempt to unite anything... and i was point out some factors that make win32s superior in terms of teaching good practices even to win32 programmers, and that most of the commercial programs are easily doable even...
by Mysoft
Oct 13, 2019 22:23
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

and talking about win32s compatibility... its somewhat "harder" to write for it with modern tools, because theres no debuggers that can debug properly... so the only way to debug would be use MSVC 4? that support win32s and then it can be REMOTELY debugged to a NT 3.52 machine... and it wo...
by Mysoft
Oct 13, 2019 22:13
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

Hi MySoft, that's a great project! I am still running a big 16-bit application that uses lots of 32-bit stuff through thunking, it runs fine in XP but I doubt it would run in a Win 3.1 plus Win32s environment. May I ask what is your motivation to do this? Even finding the hardware must be non-trivi...
by Mysoft
Oct 13, 2019 21:08
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

@Mysoft looks really nice, what screen resolution are you using on DOSBox? 1024x768... i also made a "mouse program" to have a seamless mouse on win3.11, and the win3.11 on dosbox have winsock using Trumpet TCP, because the drivers for native MS Network or MS Lanman does not work on dosbo...
by Mysoft
Oct 13, 2019 21:05
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

The point is that you can't do things like you normally do, and what internet recommends. This complicates things for people mostly working on newer windows. Just like any Windows code after 2000-2005 will probably call -W functions a lot. Things like that are basically behind the advise to not add...
by Mysoft
Oct 12, 2019 19:42
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

You can't make use of timers like in still supported versions of Windows. (and for a lot more, like unicode etc). actually you can... is just freebasic method that didnt used multimedia timers for win95/98, and... using multimedia timers is possible to make a sleep on win95/98 using an event.... (s...
by Mysoft
Oct 11, 2019 18:55
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

not to mention that the programs compiled for win32s work on windows 3.11 to windows 10 :P heh, and yeah even on DOS freebasic gfx have the problem of not working properly inside windows, because of unecessary use of the PIT interrupt, and automatic "full" update, so many of the concepts i...
by Mysoft
Oct 10, 2019 16:17
Forum: General
Topic: andalso on preprocessor
Replies: 2
Views: 653

Re: andalso on preprocessor

yeah indeed... because the "andalso/orelse" on preprocessor is doing the same as "and/or" i.e. its not shortcicuiting the parsing... the same difference from dim as integer ptr pBad = 0 if pBad andalso *pBad = 32 then print "ok" 'this would work fine if pBad and *pBad =...
by Mysoft
Oct 10, 2019 16:04
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

Re: freebasic on win32s

some screenshots...

Image
Image
Image
Image
Image
Image
by Mysoft
Oct 10, 2019 14:10
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14508

freebasic on win32s

i know this is the DOS forum.... and even that win32s is "windows" in almost all senses... it belongs to win3.11 that was basically over DOS... so if any, it will be relevant mainly for people on this forum... and that's what i'm checking... i made changes so that freebasic can be compiled...
by Mysoft
Oct 10, 2019 13:03
Forum: General
Topic: andalso on preprocessor
Replies: 2
Views: 653

andalso on preprocessor

#if defined(MyInt) andalso MyInt > 10 #print "woooo" #endif i came across a .h that did that and apparently it was valid on C... but on freebasic andalso on preprocessor does not act as the shor circuited version... FBIDETEMP.bas(1) error 20: Type mismatch in '#if defined(MyInt) andalso M...
by Mysoft
Sep 21, 2019 0:08
Forum: General
Topic: fbgfx MMX misdetect
Replies: 1
Views: 1823

Re: fbgfx MMX misdetect

and seems this was already fixed on newer fb version.... so it was a bug... but ok... the fix was a hack... so i missed it the first time i looked... but now when i went to confirm... it was there "mov al,0" :)