Search found 821 matches

by Mysoft
Aug 31, 2023 18:58
Forum: Emscripten
Topic: freebasic web (toughts)
Replies: 4
Views: 1535

Re: freebasic web (toughts)

i will use the WASI sdk as base which includes clang and i assume a C runtime... https://github.com/WebAssembly/wasi-sdk so, what you guys think? Why do you choose all that bloat? Why not directly let FB generate WebAssembler bytecode? ok... aside the inconvenience that that would not have gcc/clan...
by Mysoft
Aug 31, 2023 17:03
Forum: Emscripten
Topic: freebasic web (toughts)
Replies: 4
Views: 1535

Re: freebasic web (toughts)

As I understand it emscripten is simply a compiler and framework. It used to target whatever Javascript was available, but now that WASM is a thing, emscripten targets WASM. So it's definitely not an incompatible monster. All the WASM examples I've seen, including using SDL for graphics, are all bu...
by Mysoft
Aug 31, 2023 15:40
Forum: Emscripten
Topic: freebasic web (toughts)
Replies: 4
Views: 1535

freebasic web (toughts)

ok... i remember some conversation around a web version for freebasic... i had like 10 years ago made some concept using emscripten before wasm even existed... but that was not really great on browser , but now things changed a bit (many for worse)... and so now emscripten is a fat garbage incompati...
by Mysoft
Feb 08, 2023 11:37
Forum: DOS
Topic: freebasic on win32s
Replies: 22
Views: 14225

Re: freebasic on win32s

so if anyone have interest on that, or want more details, or get it for testing, usage, i can provide, (i just didnt released because its a WIP, just because i was doing tests on it... for some other project :) Im interessed because I want use Windows 3.11 API for make interfaces, Actually I Use Vi...
by Mysoft
Aug 31, 2022 2:32
Forum: Community Discussion
Topic: 6502 emulator in FB
Replies: 18
Views: 5499

Re: 6502 emulator in FB

so i was bored last week, and a friend showed me the online 6502 emulator... so i decided to make my own to check speed... https://github.com/MyTDT-Mysoft/Fantasy6502 so i made an assembler/emulator/debugger... with a few functionalities more than the site but nothing that much fancy :) btw... what ...
by Mysoft
Aug 31, 2022 2:29
Forum: Community Discussion
Topic: 6502 emulator in FB
Replies: 18
Views: 5499

Re: 6502 emulator in FB

oh last week i was bored so i made one myself...

not sure the state of this one if it improved... but mine is

https://github.com/MyTDT-Mysoft/Fantasy6502 :)
by Mysoft
Aug 30, 2022 0:07
Forum: Emscripten
Topic: What happened to the Emscripten branch?
Replies: 131
Views: 38051

Re: What happened to the Emscripten branch?

does anyone know a place where to get latest emscripten binaries to use with this? (that work on windows... 32bit)?
by Mysoft
Jun 27, 2022 22:22
Forum: Libraries Questions
Topic: raylib vx.x headers built with type vs constructor
Replies: 13
Views: 6015

Re: raylib vx.x headers built with type vs constructor

heh i lost count already on how many times i had to fix those stupid headers to get rid of that garbage crap... from a library that is C... and MUST NOT CONTAIN fellow OOP on it... And who told you that constructors/destructors are OOP? As stated above, they're just a convenience. FreeBasic can't r...
by Mysoft
Jun 27, 2022 21:41
Forum: Libraries Questions
Topic: raylib vx.x headers built with type vs constructor
Replies: 13
Views: 6015

Re: raylib vx.x headers built with type vs constructor

heh i lost count already on how many times i had to fix those stupid headers to get rid of that garbage crap... from a library that is C... and MUST NOT CONTAIN fellow OOP on it...
by Mysoft
Jun 25, 2022 13:14
Forum: Windows
Topic: weird behavior of msvcrt
Replies: 5
Views: 1398

Re: weird behavior of msvcrt

also on that note... seems the locale.bi constants for LC_* are wrong on windows...

because mingw have LC_ALL as 0
while freebasic one have LC_ALL as 6

so the call to SetLocale to set something different than the 1252 (that is default on my system it seems) was failing as well :)
by Mysoft
Jun 25, 2022 12:57
Forum: Windows
Topic: weird behavior of msvcrt
Replies: 5
Views: 1398

Re: weird behavior of msvcrt

cnt is 3 in code page 1252 as 0xb2 is a superscript 2, so it counts as a digit that scanf reads while parsing the float. In code page 850 (which I think is the default C one) it's an accented e, which doesn't. yeah, you're probabily right... i even had see the ² on C (while on freebasic it shows th...
by Mysoft
Jun 24, 2022 12:55
Forum: Windows
Topic: weird behavior of msvcrt
Replies: 5
Views: 1398

Re: weird behavior of msvcrt

hum... i will try in NASM or FASM as well... so see if i get the same behavior calling the msvcrt.dll , and i will check if the GCC version is calliing msvcrt in the end... to confirm if the problem is with msvcrt.dll implementation of that, altough i dont see how the "built-in" implementa...
by Mysoft
Jun 23, 2022 23:11
Forum: Windows
Topic: weird behavior of msvcrt
Replies: 5
Views: 1398

weird behavior of msvcrt

so... code speaks for itself... #cmdline "-gen gcc -O 3" #include "crt.bi" var hCrt100 = DylibLoad("msvcr100.dll") var hCrt = DylibLoad("msvcrt.dll") dim as typeof(@sscanf) pfsscanf = DyLibSymbol(hCrt,"sscanf") dim as typeof(@sscanf) pfsscanf100 = Dy...
by Mysoft
Jun 16, 2022 18:32
Forum: General
Topic: probabily oldest freebasic bug :P
Replies: 17
Views: 1710

Re: probabily oldest freebasic bug :P

I think it as angros47's test, it can be compiled pass that the FBC need treat (5)+ShowNum(10) as parameters, or it shows error 10: Expected '=', found 'ShowNum' in 'ShowNum+ShowNum' , but in my thoughts, show the error message is more reasonable. if you mean it to throw an error when a function is...
by Mysoft
Jun 16, 2022 16:53
Forum: Community Discussion
Topic: Tim Keal ban
Replies: 9
Views: 1223

Re: Tim Keal ban

[/quote] How to know ? User with only 2 seniority posts ! [/quote] yeah probabily newer account for whatever reason, he keeps losing his accounts/files (but i guess now cloud is helping with that) he also have a disorder, so can't blame him, he is on the same line as ronen, that people also being ha...