How do you enable Pelle's tools ?

Started by grofaz, September 08, 2008, 08:51:49 PM

Previous topic - Next topic

Vortex

Hi MichaelW,

Delete the GeneSys entry in the registry and re-try to select Poasm or Jwasm. It worked for me.

MichaelW

Hi Vortex,

There is no GeneSys entry in the registry, but there is a GeneSys Editor Plus entry, and deleting it did not correct the problem. There was an older Editor+ entry, and deleting it also did not correct the problem. So I deleted all the relevant registry entries, renamed my current installation, and downloaded and installed the SDK 2008 package (data.rar dated August 19, 2008), then updated the editor (August 17, 2008) with the September 9, 2008 version, and the problem still exists. The editor will use polink or porc OK, and I can select Use Pelle's Assembler or Use Japheth's Assembler, but the editor continues to use ML. Here is a listing for the bin directory:

Directory of C:\GeneSys\bin

09/16/2008  02:03p      <DIR>          .
09/16/2008  02:03p      <DIR>          ..
08/14/2008  11:43a              11,776 asmlib.dll
08/14/2008  11:43a               3,072 bin2h.exe
08/14/2008  11:43a              15,632 cvtres.exe
08/14/2008  11:43a               2,048 dumpbin.exe
08/14/2008  11:43a               2,048 editbin.exe
08/14/2008  11:43a              20,992 GeneSys.dll
08/14/2008  11:43a              21,880 h2inc.err
08/14/2008  11:43a             294,912 h2inc.exe
08/14/2008  11:43a             364,544 IconEditor.exe
08/14/2008  11:43a               2,658 IconEditor.txt
08/14/2008  11:43a               3,584 inc2lib.exe
07/24/2008  01:43p              19,280 JW-History.txt
07/03/2007  01:39p              21,128 JW-License.TXT
07/24/2008  01:42p             286,720 JWASM.EXE
07/24/2008  01:42p             368,640 JWASMD.EXE
08/14/2008  11:43a               2,048 lib.exe
08/14/2008  11:43a             462,899 link.exe
08/14/2008  11:43a               9,687 ml.err
08/14/2008  11:43a             385,072 ml.exe
08/14/2008  11:43a             117,520 msdis100.dll
08/14/2008  11:43a             164,112 msdis109.dll
08/14/2008  11:43a             157,456 mspdb50.dll
08/14/2008  11:43a               5,056 nmake.err
08/14/2008  11:43a              65,536 nmake.exe
08/14/2008  11:43a                 693 nmake.txt
06/07/2008  04:24p             653,488 poasm.exe
06/07/2008  04:27p             399,872 podump.exe
06/07/2008  04:28p              88,240 polib.exe
06/07/2008  04:28p             164,528 polink.exe
06/07/2008  04:29p              59,904 pomake.exe
06/07/2008  04:11p             145,584 porc.dll
06/07/2008  04:11p              30,208 porc.exe
08/14/2008  11:43a               4,880 rc.exe
08/14/2008  11:43a             136,161 rc.hlp
08/14/2008  11:43a             105,744 rcdll.dll
07/24/2008  11:58a               8,171 README.TXT
08/14/2008  11:43a             340,992 ResEd.exe
08/14/2008  11:43a             126,464 upx.exe
08/14/2008  11:43a              32,768 upx32-Shell.exe
              39 File(s)      5,105,997 bytes

eschew obfuscation

PBrennick

Michael,

GeneSys Editor Plus is correct.

Please do not get angry, but we have had these issues with Wiindows 2000 before. It is less tolerant of sloppy code and perhaps my code is sloppy I will have to look, but, my goodness, it works fine with XP. Of course, I will check the code. Are you having this problem with JWASM, also? I'd like to know as they are two differnet coding areas.

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

MichaelW

Hi Paul,

I cannot get the editor to use poasm or JWASM. I don't understand your reference to "angry". Perhaps you are reading a tone into my posts that I did not intend. My only interests in this are to satisfy my curiosity and to try and help you find bugs. I have seen other applications misbehave under my Windows 2000 installation, which as I have stated before is a very early pre-SP version.  I have all of the available SPs and updates installed, and the system is very reliable, but it could still have some significant uncorrected problems. Sooner or later Microsoft will stop updating it, and I will then have to move to XP.

eschew obfuscation

PBrennick

Michael, by angry, all I meant is for you not to think I was picking on you or Windows 2000. It is important to me for the editor to work on all systems. you have always been very proper in your dealings on this board.

Please download the lastest from the usual place. I have high hopes.

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

MichaelW

Nope, even after I deleted the old registry entry, when I try to build an example with either Other Tools \ Use Pelle's Assembler or Other Tools \ Use Japheth's Assembler selected, I get:

Calling the Assembler.

C:\GeneSys\templates\imDialogs\mousedraw.obj has been deleted.

\GeneSys\bin\ml.exe /c /coff /Zi /Zd C:\GeneSys\templates\imDialogs\mousedraw.asm

Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: C:\GeneSys\templates\imDialogs\mousedraw.asm

Assembly completed successfully.

Calling the Linker.

\GeneSys\bin\link.exe /SUBSYSTEM:WINDOWS /DEBUG /DEBUGTYPE:CV C:\GeneSys\templates\imDialogs\mousedraw.obj

Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

The executable was successfully created.


I also tried the above just assembling the object module, and the editor used ML. And after I renamed poasm.exe, selected Other Tools \ Use Pelle's Assembler, and attempted a build, the editor did not complain.
eschew obfuscation

PBrennick

Okay, back to the drawing board. Let's establish one thing, however, deleting the Registry entries is not going to help this situation as none of that stuff is in there.

I am curious about something, however, I notice that debugging code instructions are in  the ml.exe tail. Did you ask for that? Pell's assembler will not use that tail so it does not matter; but, if you are not setting the debugging option and it is being used anyway it will give me a place to look. For now, I will assume the worst.

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

MichaelW

Hi Paul,

I'm on a borrowed system right now, so I can't check my system, but I don't recall enabling a debug build, or even if there is such an option.
eschew obfuscation

Vortex

Hi MichaelW,

Today, I tried the GeneSys editor on a Windows 2000 Sp4 system. Selecting Poasm or Jwasm has no any effect as you stated. I will work with Paul on this issue.

PBrennick

Gentlemen,
I think I may have a handle on why this is happening; please try, again,
--Paul
The GeneSys Project is available from:
The Repository or My crappy website

MichaelW

Nope, the editor still uses ML. This time I tried selecting polink in combination with poasm, and the editor still used ML. I hope you can find the problem, I would like to know what difference between 2000 and XP could cause something like this.

Also, /Zi and /Zd are always present in the ML command line, regardless of the selected state of the Add Debug Code for Testing option, and once I select this option I cannot toggle it to deselected. And when I open the editor and select New or Open, without touching the edit window, I get a message box that prompts, "Want to save changes to (untitled)."
eschew obfuscation

PBrennick

Michael,
I suspect it is a problem with the handling of high level constructs so I am removing them one at a time. It is possible that there is more than one issue with them so as long as it continues to work in XP, I will not restore any changes. Key to the problem is the value of hPoASM, it must be one and I suspect it is not.

Next test in the morning.
-- Paul
The GeneSys Project is available from:
The Repository or My crappy website

PBrennick

Michael,
Please try again. I am doing things one step at a time so that when it finally works I can post exactly what it was.

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

MichaelW

Nope, still uses ML. Could this have anything to do with an environment variable, or something in my system configuration?
eschew obfuscation

PBrennick

Michael,
I do not think so but who knows. I am going to rewrite the routine so that I am looking for the presence of a checkmark in the menu, instead, Currently, the two flags are set in one part of the program and tested in another. something similar was happening with the problem we had some time ago. My solution at that time was to put everything into one procedure, which worked, but I never discovered what the problem really was as a result. I am afraid I will have to do something similar, here, as this is getting time consuming and I have contracted a job building installation programs for a mid-sized ISP in the New York City area. I want to finish this first, though.

I am committed to solving this problem (and I will dammit). Without your patient help, I would be lost as I do not have a test machine.

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