News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Recent posts

#51
UASM Assembler Development / Re: JWasm development has been...
Last post by _japheth - May 20, 2025, 01:43:14 AM
Quote from: 16bitPM on May 20, 2025, 12:39:54 AMWell if you ever get bored, you could start on LIDATA support for OMF ;-)

That's a strange suggestion. OMF is mainly used for DOS - 32-/64-bit Windows uses COFF format. Also, the virtually only benefit from supporting LIDATA is that the object module may become smaller - not really THAT important in times where HDs may usually store TBs.

A true progress would be to support COMDATs ...

#52
MASM64 SDK / Re: Installing the Masm64 SDK
Last post by Quan - May 20, 2025, 01:36:57 AM
Ah I see, I understand the function of those functions now. So seems like the error that I mentioned here occurs when I trigger the makeit.bat file.
#53
The Laboratory / Re: Fast and precise pow (Rebu...
Last post by jack - May 20, 2025, 01:23:55 AM
guga
ask your favorite AI can you explain how the LUT are computed using the "Harmonized Parabolic Synthesis" for the power function?

ChatGPT session
#54
The Laboratory / Re: Fast and precise pow (Rebu...
Last post by jack - May 20, 2025, 01:06:44 AM
Harmonized Parabolic Synthesis is a hardware-efficient methodology for approximating mathematical functions, including the power function. It combines Parabolic Synthesis with Second-Degree Interpolation to achieve high precision and low complexity. By using multiple intervals to approximate a mathematical expression, it can calculate functions like the inverse square root within a unit in the last place (ULP), according to DiVA portal.
#55
UASM Assembler Development / Re: JWasm development has been...
Last post by 16bitPM - May 20, 2025, 12:39:54 AM
Quote from: johnsa on March 13, 2025, 02:15:37 AMLol - there aren't any differences - I'm just a grumpy old fart with limited time, so it would be nice if things were just "easy" haha :)

Well if you ever get bored, you could start on LIDATA support for OMF ;-)
I've been looking into it for a while to learn, but I don't know where to start as I don't have experience with open source development. The relevant code (which is still based on WASM) is rather intimidating for me, TBH.


#56
MASM64 SDK / Re: Installing the Masm64 SDK
Last post by zedd - May 19, 2025, 11:29:14 PM
Quote from: sinsi on May 19, 2025, 07:57:37 PMThis tells you how far MASM64 has to go, qeditor only has the option to assemble a project, not assemble and build.


That is what "&Makeit.bat" is for. It runs a batch file in the project folder that compiles the resource file, assembles and links... Of course the user must make their own batch file named "makeit.bat" and it must be in the same path as the source file. And the project must be on the same drive\partition as the masm64 installation.

From the file "menus.ini" in the Masm64 SDK installation...
[&Project]
Assemble 64 Bit Module,\masm64\bin64\assemble.bat {b}  ; assembles asm source only
-
&Makeit.bat,makeit.bat "{b}"  ; build project with batch file: "makeit.bat"
-
&Run Program,"{b}.exe"      ; run the executable
#57
Pelle's C compiler and tools / win32-doc md files
Last post by TimoVJL - May 19, 2025, 08:58:02 PM
https://github.com/MicrosoftDocs/win32

Not useful for local help

MS Win32 help files in md-format.

Test program just open zip-file and check all md-files for "api_name:" keywords.

At first might be better just to extract one folder and zip it again for testing.

One full test 58416 files.

Keyword test for first keyword in file
int ParseFile(char *pMem, int nSize, char *szFile, int nLen, int nIdx)
{
    char *pPtr, *pPtr1;
    //pPtr = strstr(pMem, "api_name:");    // CRT
    pPtr = StrStr(pMem, "api_name:");    // shlwapi.dll
    if (pPtr) {
        printf("%s\t", szFile);
        pPtr += 9;    // pass
        while (*pPtr != 10) pPtr++;
        pPtr++;
        pPtr1 = pPtr;
        while (*pPtr1 != 10) pPtr1++;
        *pPtr1 = 0;    // cut to newline
        printf("%s\n", pPtr);
    } else printf("%s\n", szFile);
    return 0;
}
#58
Showcase / Re: mcLB2, a new Windows contr...
Last post by sinsi - May 19, 2025, 08:04:53 PM
OK, tried a thrash test by clicking Populate Control over and over until something broke...
First, all OK, then maybe 20 or so clicks later rows were added with no text, later (another 20 clicks?) the column headers' text disappeared, eventually
(5640.62e0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=00000000 ecx=00000000 edx=000d0000 esi=11011220 edi=0060e9c0
eip=76c7a06e esp=004ff1f8 ebp=004ff29c iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
gdi32full!ScriptStringAnalyse+0x61e:
76c7a06e 0fb783a0000000  movzx   eax,word ptr [ebx+0A0h]  ds:002b:000000a0=????
#59
MASM64 SDK / Re: Installing the Masm64 SDK
Last post by sinsi - May 19, 2025, 07:57:37 PM
This tells you how far MASM64 has to go, qeditor only has the option to assemble a project, not assemble and build.
#60
The Orphanage / Re: Ramblings...
Last post by TimoVJL - May 19, 2025, 07:56:05 PM
Lot of source files was removed after 2022-02-24 with good reason.