News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#21
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Vortex - January 27, 2026, 10:03:26 PM
Quote from: Kochise on January 27, 2026, 01:38:09 PMYeah, it's not about the installer but the installed files.

There is a reason why MD5 values ared supplied with large iso files. A MD5 hash tied with the host iso file is easier to manage. No need to calculate the hashes of the individuals inside the iso.
#22
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Kochise - January 27, 2026, 09:33:50 PM
Thank you for the clarification.
#23
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by TimoVJL - January 27, 2026, 04:11:15 PM
With WinMerge, those bin files are identical with Pelles C 13.00.
#24
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Kochise - January 27, 2026, 01:38:09 PM
Yeah, it's not about the installer but the installed files.
#25
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Vortex - January 27, 2026, 10:13:19 AM
It's easy to calculate the hash of the latest installer, setup.exe v13.01 with Powershell :

D:\>Powershell -Command "(Get-FileHash "setup.exe" -Algorithm MD5).Hash"
4ABBD312312B7D2F1EDF5C0A9A2D1DC4

D:\>Powershell -Command "(Get-FileHash "setup.exe" -Algorithm SHA1).Hash"
65B178ECF29C3C59121818E794969F1E4A0987E4

D:\>Powershell -Command "(Get-FileHash "setup.exe" -Algorithm SHA512).Hash"
14E6339D5F55063E91A331201C9E20B77402941C8E157639CB9FE77FD16BD9309ABB8058CDDCC83DDA3852A51828F3E674AB47EB79B9C13A6E89F7CE7C2F5315

D:\>Powershell -Command "(Get-FileHash "setup.exe" -Algorithm SHA256).Hash"
84E586D1FCA7B9FEC55BD294A103AF16A045D1DF1BCB77A3F4FDF13D8F239141
#26
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Kochise - January 27, 2026, 09:35:01 AM
Since you questioned the "integrity of those file" it was only fair to check them by yourself, just to be sure.

It is nice to know that the "official current version of Pelles C" is back online.

Keep in mind the "GitHub hosted Pelles C files" can be executed online, without even having to install or clone them locally.
#27
Assembly discussions / Re: Getting memory capacity
Last post by Vortex - January 26, 2026, 06:09:10 PM
Another version based on the API function GlobalMemoryStatusEx :

include     GetMemory.inc

.data

fc1         db 'The computer %s '
            db 'has %u Gb of memory.',0

nSize       dd 32

.data?

CompName    db 32 dup(?)
MemStat     MEMORYSTATUSEX <?>

.code

start:

    invoke  GetComputerName,\
            ADDR CompName,ADDR nSize

    mov     edx,OFFSET MemStat
    mov     MEMORYSTATUSEX.dwLength[edx],SIZEOF(MEMORYSTATUSEX)

    invoke  GlobalMemoryStatusEx,\
            ADDR MemStat

    mov     edx,OFFSET MemStat

    mov     eax,DWORD PTR [edx+MEMORYSTATUSEX.ullTotalPhys]
    mov     edx,DWORD PTR [edx+MEMORYSTATUSEX.ullTotalPhys+4]

    mov     ecx,1024*1024
    div     ecx

    invoke  printf,ADDR fc1,ADDR CompName,eax
           
    invoke  ExitProcess,0

END start
#28
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by John Z - January 26, 2026, 04:47:47 PM
Hi Kochise,

There is no need to use the wayback machine right now because the PellesC.se web site is distributing the official current version of Pelles C.  So this is what one would/should use to compare files with the GitHub hosted Pelles C files.

I'm not really interested in doing the comparison however, and I do not use the Total Commander program.  Of course there are other methods to compare and validate, but it is of little interest.

I do not know why Pelle decided to not renew the old site.  Maybe he got a better deal ..

John Z
#29
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Kochise - January 26, 2026, 10:57:43 AM
No problem, could you check the github clone/fork content vs wayback machine and tell us about your findings ?

Download the github branch as zip and unzip it, install the legacy 13.00 version and go into the installation folder.

You can then use Total Commander to "synchronize" the two folders and their sub folders to check on the bit level if there is any difference.

Why is the old smorgasbordet.com site abandoned ?
#30
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by John Z - January 26, 2026, 10:43:33 AM
OK - Thanks,

That information at least makes it a bit more legitimate.

There was a minor bug release, I believe, when Pelle started the new PelleC.se web site.
MrBcx commented on it first -

John Z