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

#71
The Workshop / Re: Vulkan Triangle in MASM64 ...
Last post by zedd - June 10, 2025, 09:11:14 AM
Quote from: NoCforMe on June 10, 2025, 05:38:17 AM
Quote from: TimoVJL on June 09, 2025, 09:51:58 PMSSE (Sperm Spreading Equipments) works well with Blondes even with real 10 in Vulvan Triangle ?

Oh, you bad, bad boy ...
Very naughty. Too naughty for words.  :tongue:
#72
The Campus / Re: Parameters of SEGMENT dire...
Last post by sinsi - June 10, 2025, 08:09:25 AM
executable is wrong, try execute.
MASM SEGMENT
#73
The Campus / Re: Parameters of SEGMENT dire...
Last post by NoCforMe - June 10, 2025, 05:42:07 AM
... but why in the world would you want to use those old-school SEGMENT directives when we have the new simplified ones?
.data
[put initialized data here]

.data?
[uninitialized data]

.code

I just don't see the point. You ain't writing DOS programs here ...
#74
The Workshop / Re: Vulkan Triangle in MASM64 ...
Last post by NoCforMe - June 10, 2025, 05:38:17 AM
Quote from: TimoVJL on June 09, 2025, 09:51:58 PMSSE (Sperm Spreading Equipments) works well with Blondes even with real 10 in Vulvan Triangle ?

Oh, you bad, bad boy ...
#75
The Campus / Re: Parameters of SEGMENT dire...
Last post by Vortex - June 10, 2025, 05:37:17 AM
Hello Quan,

Adapting Timo's Poasm example to Masm :

.686
.model flat,stdcall
option casemap:none

MessageBoxA proto stdcall :ptr, :ptr, :ptr, :dword
ExitProcess proto stdcall :dword

_data SEGMENT PARA PUBLIC 'DATA'
    strF1A db 'Hello World!', 0
    strQuery db 'test.exe', 0
;    VA EQU $ - offset strCFA
    strTest db 260 dup(0)
_data ENDS

_text SEGMENT PARA PUBLIC 'CODE'

start:

    mov strTest, 'J'
    invoke MessageBoxA, 0, offset strQuery, offset strF1A, 0

    push 0
    call ExitProcess

_text ENDS

end start
#76
The Campus / Re: Parameters of SEGMENT dire...
Last post by TimoVJL - June 10, 2025, 03:56:45 AM
with poasm:.686
includelib user32.lib

MessageBoxA proto stdcall :ptr, :ptr, :ptr, :dword
ExitProcess proto stdcall :dword

forTest SEGMENT read write execute
    strF1A db 'Hello World!', 0
    strQuery db 'test.exe', 0
;    VA EQU $ - offset strCFA
    strTest db 260 dup(0)
   
start:
    mov strTest, 'J'
    invoke MessageBoxA, 0, offset strQuery, offset strF1A, 0

    push 0
    call ExitProcess

forTest ENDS

end start
#77
ObjAsm / Re: New Editor
Last post by Biterider - June 10, 2025, 12:27:29 AM
Hi JJ
Quote from: jj2007 on June 09, 2025, 09:18:56 PMPlease don't take it as criticism
Not at all! I'm always happy to receive comments that could help improve ADE.

I did not explain the content and structure of the ADE configuration file (ade.ini) because it is constantly changing.
If you look into it in its current version, you will see that it has four main sections. The first section is for general settings, while the next three describe the basic file types that ADE can handle: assembler files, resource files, and simple text files.
Each of these three sections can be modified to change colour settings, highlight groups, visual settings and so on.

The autocomplete feature is what I miss the most. Regarding the Win32 API, I will use a by-product of the h2inc+ project. These are the parsed lists of all the structures, constants, functions and arguments of the complete Win32 API.
This is not yet implemented, but when it is, it will be a huge help.

As stated previously, the 'Find and Replace' feature is not yet complete, but an overall match list would be useful.

Bookmarks (jump targets) are on the wish list.

When working on individual files, an MRU list comes in handy. ADE works using the concept of projects, where all relevant files are listed. In case that the code needs to work differently, it may be useful to consider this option. This raises the question of where the MRU list should be stored. I have seen implementations that use the registry, but that is not portable. The project file is also not suitable if the coder doesn't work with projects. Any thoughts on this?

Biterider
P.S. Does anyone know how to identify the current default browser?
#78
MasmBasic & the RichMasm IDE / Re: A guide to the RichMasm ed...
Last post by jj2007 - June 09, 2025, 10:14:49 PM
I found a crispy example demonstrating the usefulness of RichMasm's list of matches: a 4k lines source with some frequently used global variables.



"FW" in the upper right corner means "full word". It has three modes, e.g. for the search string tcC1:
- full word off: tcC1 and tcC1l (a local variant) will be found
- full word on: only tcC1 will be found
- not full word: all occurrences of tcC1 where it is NOT a full word will be found, in this case only the local variant in two procs
#79
The Workshop / Re: Vulkan Triangle in MASM64 ...
Last post by TimoVJL - June 09, 2025, 09:51:58 PM
SSE (Sperm Spreading Equipments) works well with Blondes even with real 10 in Vulvan Triangle ?
#80
ObjAsm / Re: New Editor
Last post by jj2007 - June 09, 2025, 09:18:56 PM
Looks good and works fine, but where is the build button?  :smiley:



Overall an impressive work, especially given that you don't use the richedit control :thumbsup:

What you might consider is less colour (see above) and less functions in the toolbar. There are some that I would probably never use, e.g. "save all files" - dangerous if you don't remember exactly what you did, and where.

What I would miss most is the recent files list and the list of found matches, see below. I could live without the bookmarks at the right edge, maybe, but the list of matches is essential for my work.


When you double-click on a word, e.g. edi, all occurences of edi get highlighted. That is certainly a useful feature to see immediately where edi is being used (and I might steal the idea), but it might be a bit overwhelming. Maybe do that only when Ctrl is pressed?

I am just brainstorming here to give you feedback. Please don't take it as criticism :thup: