Search found 758 matches

by Mysoft
Oct 14, 2019 14:56
Forum: DOS
Topic: freebasic on win32s
Replies: 20
Views: 756

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: 20
Views: 756

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: 20
Views: 756

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: 20
Views: 756

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: 20
Views: 756

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: 20
Views: 756

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: 20
Views: 756

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: 151

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: 20
Views: 756

Re: freebasic on win32s

some screenshots... https://i.imgur.com/RZ9kNJ6.png https://i.imgur.com/XcyVXr4.png https://i.imgur.com/5KUoKj9.png https://i.imgur.com/EpK990T.png https://i.imgur.com/R8HM5bR.png https://i.imgur.com/nBqZ4AA.png
by Mysoft
Oct 10, 2019 14:10
Forum: DOS
Topic: freebasic on win32s
Replies: 20
Views: 756

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: 151

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: 422

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" :)
by Mysoft
Sep 21, 2019 0:02
Forum: General
Topic: fbgfx MMX misdetect
Replies: 1
Views: 422

fbgfx MMX misdetect

ok, i have been making changes to have freebasic/fbgfx running on win32s ... and then while my tests worked on dosbox... on a real IBM AST 133mhz... (pentium?), all fbgfx program crashed... and so they crashed on ANIMFULL executed an invalid instruction in module ANIMFULL.EXE at 0137:0040c88c. Regis...
by Mysoft
May 04, 2019 22:17
Forum: General
Topic: constant pointer to global struct member
Replies: 8
Views: 673

Re: constant pointer to global struct member

Type UDT Dim As Integer I = 123 Dim As String s = "ABC" Dim As Double d = 3.14 End Type Static Shared As UDT u Static Shared As Integer Ptr pi pi = Cptr(Any Ptr, @u) + Offsetof(UDT,I) Static Shared As String Ptr ps ps = Cptr(Any Ptr, @u) + Offsetof(UDT,s) Static Shared As Double Ptr pd pd...
by Mysoft
May 04, 2019 21:39
Forum: General
Topic: constant pointer to global struct member
Replies: 8
Views: 673

Re: constant pointer to global struct member

as an addendum... some examples type MyUDT A as integer B as integer end type static shared as MyUDT tTest 'ok this works... static shared as MyUDT ptr pWork1 = @tTest '*** this fails **** 'static shared as any ptr pFails1 = @(tTest.B) '*** this ALSO fails **** 'static shared as test ptr pFail2 = ca...

Go to advanced search