News:

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

Main Menu

Recent posts

#11
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.
#12
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.
#13
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
#14
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.
#15
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
#16
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
#17
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 ?
#18
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
#19
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by Kochise - January 25, 2026, 09:40:15 PM
Hello, the PellesC.se says 13.01 but with no release note and difference from 13.00

For the github clone / fork, you can check against what is available on wayback machine I guess.

As for the notes, comments and attributions, maybe go to the main branch :

https://github.com/wenuam/wm_app_dev_lng_c__PellesC
#20
General discussions / Re: smorgasbordet.com/pellesc/...
Last post by John Z - January 25, 2026, 11:31:53 AM
Hmmmm - someone in France cloned / forked smorgasbordet.com into Github.

This could save Pelle from adding all the examples to the new PellesC.se site, but control over the integrity of those files could be questioned imo.

Downloaded cc.exe  just to check the version it shows 13.0.1.0 but I'm not trying it..

No sources for PellesC of course,the actual programs, just copied from the installed directory I suppose. No notes or comments or attributions either.

Personally I'd go to wayback machine before this GitHub without more details from the poster.

John Z