News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

POASM Project testbed BETA 1.1

Started by hutch--, February 01, 2006, 01:31:56 AM

Previous topic - Next topic

hutch--

I have just screwed together an early version of a project that is fully powered by Pelle's tools. It contain the latest versions of Pelle's normal tools and the current Beta of POASM.EXE. It is a simple Winrar install that MUST be put in the "poasm" directory directly off the root directory of any selected partition. Run it and it will copy the files and build the libraries as well as setting up a desktop icon for the editor.

There are a few working examples and I have pinched some of the masm32 library just to get it up and going. It should be a reasonable vehicle to help Pelle in developing POASM.

http://www.website.masmforum.com/poasm/poasm.zip  <<<< UPDATED 4th February 2006

I have added a number of modules from the masm32 library, fixed a problem that Shantanu reported where a C calling convention API was failing. I have added a few C modules I had floating around and put a pair of options on the Project menu to build either STDCALL or C calling convention C modules.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

anon

Very nice, I will get a lot of use out of this package.
Thank You  :U

Vortex

Nice work Hutch, the package is installed without any problem on my Win Xp Home Sp2.

Shantanu Gadgil

Hi, hutch,
I am still struggling with wsprintf.

I have installed the poasm.zip as per your instruction in C:\POASM

I get this error for wsprintf:
POLINK: error: Unresolved external symbol '_wsprintfA'.

Could you please explain what I might be doing wrong. I am quite at my wits ends here !!!

There is the nudef.zip (update to xplibs, I think) sitting in the def folder. Why ?
To ret is human, to jmp divine!

hutch--

#4
shantanu,

For the moment, just use the copy of user32.lib from the masm32 project.

LATER : Problem solved. Use the attached version of def2inc.exe and change the prototypes in the USER32.DEF file for both wsprintfA and wsprintfW so that they do NOT have a leading underscore.


LIBRARY user32
EXPORTS
"wsprintfA"
"wsprintfW"
"_ActivateKeyboardLayout@8"
[snip]


Place def2inc in the DEF directory and run makeit.bat AFTER you have modified the user32.def file.

Thanks for reporting this bug, made it easy to fix.  :U

[attachment deleted by admin]
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Vortex


Mark Jones

A.) During lib creation I'm getting:

creating: libc.lib
POLIB: fatal error: Unable to read module-definition file 'libc.def'.
creating: libcntpr.lib
POLIB: fatal error: Unable to read module-definition file 'libcntpr.def'.
creating: libcpsx.lib
POLIB: fatal error: Unable to read module-definition file 'libcpsx.def'.


These DEFs do not exist.

B.) I do not have this package installed, but am using PORC as rc.exe and POLINK as link.exe and things work fine this way. I cannot get "GetFileVersionInfoA" to extern either, like what Shantanu was experiencing. Commenting out the underscore in version.def and rebuilding the libs does not help. "GetFileVersionInfoA" is also defined in minidump.def and miglib.def.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

Mincho Georgiev

Mark, did you forget to unzip the archive to 'drive:\POASM' named directory ?

hutch--

Mark,

I have updated the beta testbed, removed the defs and calls to them. There was a problem with C calling convention APIS which I have fixed by changing the tool that creates the include file and removing the leading underscore on their names in the def files. It is still a beta but its getting better as I can learn more about the assembler.

I added the capacity to use Pelle's C compiler as well as this is very useful for testing out C algorithms in assembler.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Mincho Georgiev

QuoteMark, did you forget to unzip the archive to 'drive:\POASM' named directory ?
Maybe it was silly, but i had that problem once or twice, till i thought that maybe that is.
I know it's written on the zip package, but i guess i was too tired to see it.
Dont get angry for that dump question, Mark.

ramguru

Hi, am I forced to use PORC with POASM, are there any dependencies between it and other tools? I still want to use RC, can I ? I decided to code something big to see how good it is (or vice versa).

hutch--

You can use either, all I do when converting an example from masm to poasm is change RC to PORC.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

PBrennick

Hutch,
Very nicely done.  Every time I open QEditor, I I find something I like to play with.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

Mark Jones

PORC 4.0.0.0 seems to ignore comments (";") in .RC files and read those lines anyway. Is that intentional?
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

ramguru

Maybe it works the way rc does: understands C like comments