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

#91
The Workshop / Re: A useful tool: BMP data vi...
Last post by NoCforMe - November 25, 2024, 07:39:12 AM
OK, I just learned something important.

That loooong delay where my program goes into a catatonic state? That's not my code.
My code is pretty fast.
The delay is the time it takes to dump the text in my buffer to the edit control!

Yikes.

I proved this by displaying "done" in the edit control when my pixel-displaying code is finished. The long wait happens after that. While that operation is going on, Windows goes into a coma.

So now, questions (to self):
I could display the text myself in a window using GDI text functions, which would surely be faster than waiting on the edit control to churn through all that text.
However, that would defeat the purpose of having the edit control in the first place, which is to make the text selectable in case the user wants to copy any of it.

Maybe copying the text from my buffer into the edit control in smaller chunks would be faster? I'll try that.

So what do y'all think I should do? Is it important that the text be selectable? Another option would be to write the text to a file, which I'm sure would also be faster than waiting on the edit control to fill up.

Copying the buffer to the edit control in small chunks only makes it more painful, so scratch that.
I tried hiding the window, hoping that would speed things up by not actually displaying anything:
          INVOKE ShowWindow, ResultsDispHandle, SW_HIDE
but for some reason that didn't work at all.
#92
RadAsm IDE Support / Re: RadSTM32 update
Last post by Biterider - November 25, 2024, 05:57:17 AM
Hi KetilO
Works nicely. Thank you!  :thumbsup:

Biterider
#93
RadAsm IDE Support / RadSTM32 update
Last post by KetilO - November 25, 2024, 05:03:37 AM
Hi

I have made a major update to the RadSTM32 package.
The update improves code complete capabilities
and fixes code parser bugs.
Se WhatsNew.txt and ReadMe.txt for more info.

How to:
Download zip and unzip to empty folder.
Copy all files (except .txt files) to C:\RadSTM32

#94
The Workshop / Re: A useful tool: BMP data vi...
Last post by TimoVJL - November 24, 2024, 09:02:04 PM
Worked with Windows 7 x64
#95
The Campus / Re: Fatal error A1000
Last post by TimoVJL - November 24, 2024, 08:56:48 PM
Quote from: NoCforMe on November 24, 2024, 07:13:18 PMSounds like the gremlins decided to take a day off.
It's Sunday and they want to rest too :biggrin:
#96
The Campus / Re: Fatal error A1000
Last post by NoCforMe - November 24, 2024, 07:13:18 PM
Sounds like the gremlins decided to take a day off.
#97
The Campus / Re: Fatal error A1000
Last post by zedd151 - November 24, 2024, 06:28:54 PM
Quote from: Baroooo on November 24, 2024, 06:19:49 PMBrothers, somehow my system fixed itself lol. :biggrin:  :biggrin:
... it was able to assemble and link all the example programs and I finally ran a Hello World successfully. Thanks to everyone for helping me out!

Well great! That's good news.   :thumbsup:
#98
The Workshop / Re: A useful tool: BMP data vi...
Last post by zedd151 - November 24, 2024, 06:21:08 PM
Quote from: NoCforMe on November 24, 2024, 05:57:38 PM
Quote from: zedd151 on November 24, 2024, 05:18:43 PMAnyway, I have updated my little test proggie in reply #31, if anyone is interested.
I tried it. It faults (on PUSH ESI). ???
Exactly where? I see no issues, even running in debugger, stepping in every instance where esi is pushed to the stack. No such errors here.  :undecided:  Maybe I'll have to fire up windows 7 to see if any difference, than when run on win 10.

Anyway, I added a check for whether the bitmap (2.bmp) is present. If not present, the program simply exits.
#99
The Campus / Re: Fatal error A1000
Last post by Baroooo - November 24, 2024, 06:19:49 PM
Brothers, somehow my system fixed itself lol. :biggrin:  :biggrin: I really dont know what exactly happened but today after powering up my laptop I thought, "why not check the assembler once again" and somehow it ran perfectly today, it was able to assemble and link all the example programs and I finally ran a Hello World successfully. Thanks to everyone for helping me out!
#100
The Workshop / Re: A useful tool: BMP data vi...
Last post by NoCforMe - November 24, 2024, 05:57:38 PM
Quote from: zedd151 on November 24, 2024, 05:18:43 PMAnyway, I have updated my little test proggie in reply #31, if anyone is interested.
I tried it. It faults (on PUSH ESI). ???