Author Topic: Small CPU - Memory Info App.  (Read 2920 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8539
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Small CPU - Memory Info App.
« on: November 19, 2018, 02:49:20 AM »
This one comes with a sales pitch.   :biggrin:

Nearly lost in the mists of time, a technology so ancient that it comes out of the core of the earliest versions of Windows, a design freedom that almost no longer exists except in the nearly forgotten knowledge of the ancient. From the days when you used THE original Windows SDK in an era when code had to be efficient and small enough to run on 16 bit Windows.

While the great unwashed flounder away with their balloons of garbage occupying enough disk space to store an operating system, those who did not trade their skills for the wide and easy path that leads to a job at McDonalds have sharpened their wits with the truly wicked performance that pure assembler is capable of delivering.

---------------------------------------------------------------------------------------------

Funny story, I got this app up and going and it ran perfectly from the editor and from the old Windows File Manager but when I tested it on both the desktop and Explorer, it absolutely would not start. I found it would run if I set the compatibility to Vista which was somewhat less than useful so I tracked it down to using a remote procedure to fill out the Windows memory settings and for reasons that don't make sense, it absolutely would not start.

What I had to do was inline the function calls directly in the WM_CREATE message processing and it worked correctly in Win 10 64 bit. Hope someone likes it.

I can't post the code yet as I have not caught up with the documentation, it contains a couple of custom controls that are not in the last posted library. When I catch up I will post the code.
« Last Edit: July 02, 2019, 04:17:58 AM by hutch-- »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

xanatose

  • Member
  • ***
  • Posts: 411
Re: Small CPU - Memory Info App.
« Reply #1 on: February 17, 2021, 10:57:21 AM »
Working fine on Windows 10 64 bit.

Only nitpick is that the line with instruction set string gets cropped.


Gunther

  • Member
  • *****
  • Posts: 3738
  • Forgive your enemies, but never forget their names
Re: Small CPU - Memory Info App.
« Reply #2 on: February 17, 2021, 12:45:43 PM »
Steve,

The program works fine here under Windows 10 (64 bit). Quite fast and lean it does its job and displays what it should. If you find the code, don't forget to post it.

Gunther
Get your facts first, and then you can distort them.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8539
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Small CPU - Memory Info App.
« Reply #3 on: February 17, 2021, 12:55:57 PM »
I may have posted this zip file elsewhere in the forum. It may be missing some functions but if that is the case, let me know and i will find the missing stuff for you.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Gunther

  • Member
  • *****
  • Posts: 3738
  • Forgive your enemies, but never forget their names
Re: Small CPU - Memory Info App.
« Reply #4 on: February 18, 2021, 12:30:56 AM »
Thank you Steve.  :thumbsup:

Gunther
Get your facts first, and then you can distort them.

stevenxie

  • Member
  • **
  • Posts: 54
Re: Small CPU - Memory Info App.
« Reply #5 on: February 22, 2021, 10:45:58 PM »
Hi, Steve,It is very great!  :thumbsup: :thumbsup: :thumbsup:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8539
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Small CPU - Memory Info App.
« Reply #6 on: February 22, 2021, 11:47:56 PM »
Thanks guys, I gather it would build OK with the current libraries.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: