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: Looking for MASM feature p...
Last post by Shintaro - June 22, 2025, 04:52:51 PM
Thank you!!!

I have been searching for that for ages!

Maybe they thought it was no longer needed.

Thanks again.
#92
The Campus / Re: Nested .REPEAT, .IF and .W...
Last post by Quan - June 22, 2025, 04:15:10 PM
Yea, that doesn't work. I did find out about the .BREAK directive, but it doesn't really do the same thing.

Quote from: _japheth on June 22, 2025, 12:37:33 AMNo, since this is an error and no warning. You have to use the LOCAL directive ( inside the macro and tightly following the MACRO directive) to declare your label inside the macro as "local".
Got it, thanks  :thumbsup: I totally misunderstood the purpose of the LOCAL directive. I thought it was for declaring local variables and not labels. It's working now, thanks!
#93
The Campus / Re: FillConsoleOutputCharacter...
Last post by NoCforMe - June 22, 2025, 09:47:51 AM
Well, it looks to me as if you haven't figured out why it didn't work in the first place, so you've learned nothing. Poking code here and there in hopes it might work isn't the way to learn how to code.

Plus, any reason you're using 64-bit assembly? 32-bit is much easier and more straightforward, plus the MASM32 package is pretty complete and robust, unlike MASM64 which is kind of a piece of shit at this time.
#94
The Campus / Re: FillConsoleOutputCharacter...
Last post by zedd - June 22, 2025, 09:38:37 AM
Quote from: sskaiser on June 22, 2025, 01:36:29 AMsorry for wasting your time
Its not wasted time. As I do not know your level of experience, I must ask seemingly silly questions sometimes.

Quote from: sskaiser on June 22, 2025, 01:38:34 AMAnd to answer your questions I did use the GetConsoleScreenBufferInfo and made sure it works...
:thumbsup:

Quoteand I use VS Community 2022 to watch the registers, function returns 1 so i guess no errors
Okay.  :smiley:
#95
The Campus / Re: Nested .REPEAT, .IF and .W...
Last post by NoCforMe - June 22, 2025, 06:39:29 AM
Quote from: mabdelouahab on June 22, 2025, 05:00:54 AM        .IF !ZERO?
                    ;GOTO found
        .ENDIF

??????
Looks like net effect is ... nothing.
#96
UASM Assembler Development / Re: Linux users, please
Last post by mabdelouahab - June 22, 2025, 05:28:53 AM
hi LordAdef
I'm excited about the project, even if my time is limited. Where do you suggest we begin?
#97
The Campus / Re: Nested .REPEAT, .IF and .W...
Last post by mabdelouahab - June 22, 2025, 05:00:54 AM
.IF !ZERO?
                ;GOTO found
.ENDIF
#98
Windows API / Re: How do I get access to my ...
Last post by NoCforMe - June 22, 2025, 04:48:19 AM
I wrote up a tutorial on how to do recording with Windows Waveform Audio, attached here.
Wish I had a website to publish this on, but this'll have to do. I think it pretty much covers the subject. Could even be used by non-assembly-language programmers.

(This was inspired by the tutorial that Timo posted a link to earlier in this thread.)
#99
The Campus / Re: FillConsoleOutputCharacter...
Last post by sskaiser - June 22, 2025, 01:38:34 AM
And to answer your questions I did use the GetConsoleScreenBufferInfo and made sure it works and I use VS Community 2022 to watch the registers, function returns 1 so i guess no errors
#100
The Campus / Re: FillConsoleOutputCharacter...
Last post by sskaiser - June 22, 2025, 01:36:29 AM
Quote from: zedd on June 21, 2025, 11:16:28 PMOffhand I would say we need more information. Are you using GetConsoleScreenBufferInfo to fill the CONSOLE_SCREEN_BUFFER_INFO structure? Is the structure getting filled properly? Is the handle to stdout valid?

Perhaps post the (pertinent) code that you used prior to calling your clr procedure??
Have you stepped the code in a debugger? (While watching return values in rax and watching whether or not any exceptions are found)

It just started working after I did absolutely nothing sorry for wasting your time