Author Topic: General Software Testing  (Read 38154 times)

roberto

  • Hero Member
  • *****
  • Posts: 824
  • Karma: +3/-6
    • View Profile
Re: General Software Testing
« Reply #45 on: June 15, 2024, 12:22:04 pm »
Martin -- You can open wtih Zip Control ver 2.7.4
David -- Your file is bad, only can see the txt files, the rest is size 0.

This program work well.
This program work with the Caos teory.
Saludos

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: General Software Testing
« Reply #46 on: June 15, 2024, 05:12:35 pm »
Thanks for the Tip Roberto.

I installed ZipControl and it unzipped the file fine. I noticed that it is a DOS software and not OS/2, it works on DOS full screen session. I will repackage it and upload to hobbes /dos/ just to have it there.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: General Software Testing
« Reply #47 on: June 24, 2024, 11:03:17 pm »
Hello

I'm trying this Fractals software and it does not run.
http://cd.textfiles.com/ems/emspro17/disk3/OS2UTIL/FRACTZ.ZIP

It gives this POPUPLOG error.
Code: [Select]
06-24-2024  15:59:29  SYS3175  PID 00f1  TID 0001  Slot 008f
C:\HOME\MARTIN\DOWNLOADS\FRACTZ\FRACTZ.EXE
c0000005
000197ec
P1=00000001  P2=00000004  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00050048  EBX=00000004  ECX=00000000  EDX=00000001
ESI=00000000  EDI=1b30cb68 
DS=0053  DSACC=d0f3  DSLIM=5fffffff 
ES=0053  ESACC=d0f3  ESLIM=5fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:000197ec  CSACC=d0df  CSLIM=5fffffff
SS:ESP=0053:0003b250  SSACC=d0f3  SSLIM=5fffffff
EBP=0003b268  FLG=00010287

FRACTZ.EXE 0001:000097ec

Any tip on how to make it run is welcome.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5084
  • Karma: +117/-1
    • View Profile
Re: General Software Testing
« Reply #48 on: June 25, 2024, 12:00:52 am »
I increased the stack, which stopped it crashing, still doesn't do much besides a dialog box with weird characters with an OK button that exits.
Code: [Select]
exehdr /stackos2:20000 FRACTZ.EXE

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: General Software Testing
« Reply #49 on: June 25, 2024, 04:26:41 am »
Yes, it is very weird.

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5084
  • Karma: +117/-1
    • View Profile
Re: General Software Testing
« Reply #50 on: June 25, 2024, 06:26:30 am »
I tried building it with VisualAge 3.08 and os2tk45
Complex.h was missing, I got it from the Visualage includes, along with iostream.h. complexm.lib was missing, I edited it out of the makefile. Almost compiled, I don't know ibmcpp well enough, error was,
...
Code: [Select]
Object Modules [.obj]: /base:0x10000  /pmtype:pm  +
Object Modules [.obj]: "fractz.OBJ"
Run File [fractz.*]: "FRACTZ.EXE"
Map File [FRACTZ.map]: ""
Libraries [.lib]:
Definitions File [nul.def]: "fractz.def"
ILink : fatal error LNK1082: lnkods50.exe : stub file not found
NMAKE : fatal error U1077: 'W:\OS2\CMD.EXE' : return code '12'
Stop.

complex.h seems to be a bunch of math stuff in a class.

Steven Levine

  • Newbie
  • *
  • Posts: 48
  • Karma: +10/-0
    • View Profile
Re: General Software Testing
« Reply #51 on: June 25, 2024, 11:19:57 pm »

The executable included in the zip file will never run on a typical modern system.  It's limited to 256 colors.  With more it will eventually trap at or near

FRACTZ.CPP:1369
             pbmi->argbColor.bBlue  =  blTable & 0x000000ff;

because blTable is defined as

FRACTZ.CPP:246
static LONG blTable[256],   // color tables
            alTable[256];

You should be able to get FRACTZ.EXE to build with VAC 3.0.8 using nmake and tweaking the included MAKEFILE.

Since I wanted to see where the trap occurred, I built for debug with:

MAKEFILE:17
FRACTZ.EXE:  \
  fractz.OBJ \
  FRACTZ.RES \
  MAKEFILE
   ICC.EXE @<<
 /B " /pmtype:pm /de"
 /Fe"FRACTZ.EXE"
 fractz.OBJ fractz.def
<<KEEP

and

MAKEFILE:35
{.}.cpp.obj:
   ICC.EXE /J- /Gm /Gf /Ti /C   .\$*.cpp

My testing says stack size had nothing to do with the exception.  However, it
you find you really need a larger stack to support more colors, you can set
the stack size in the .def file with:

FRACTZ.DEF:9
STACKSIZE 0x30000

I'm not sure why your link attempt went wrong.  Probably the linker you attempted to use.  I can link here with either icc.exe or 3.0.8's ilink.


Dave Yeo

  • Hero Member
  • *****
  • Posts: 5084
  • Karma: +117/-1
    • View Profile
Re: General Software Testing
« Reply #52 on: June 26, 2024, 02:11:07 am »

I'm not sure why your link attempt went wrong.  Probably the linker you attempted to use.  I can link here with either icc.exe or 3.0.8's ilink.

Yes, it was using ilink 5.0. My env cmd had %VACPP%\bin towards the end of PATH so it was picking up the wrong ilink.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: General Software Testing
« Reply #53 on: June 27, 2024, 04:09:50 pm »
Thanks for taking a look at it. I guess that at the end it is not working in modern OS/2/hardware, right?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: General Software Testing
« Reply #54 on: June 28, 2024, 02:15:04 pm »
Hello again

Now I tried Lemon. (Musical Notation Recognition Software 1996-01)
- http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/apps/mmedia/sound/LEMON.zip

I run it in ArcaOS 5.1 and it quits with POPUPLOG message, and I even tried "start Lemon.exe" with the same results

Code: [Select]
06-25-2024  16:07:04  SYS3175  PID 0076  TID 0001  Slot 008f
C:\HOME\MARTIN\DOWNLOADS\LEMON\LEMON\LEMON.EXE
c0000005
0007aa0d
P1=00000001  P2=00000004  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000004  EBX=00000000  ECX=000b5444  EDX=0009cd9c
ESI=00000023  EDI=00000000 
DS=0053  DSACC=d0f3  DSLIM=5fffffff 
ES=0053  ESACC=d0f3  ESLIM=5fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:0007aa0d  CSACC=d0df  CSLIM=5fffffff
SS:ESP=0053:000b51b4  SSACC=d0f3  SSLIM=5fffffff
EBP=000b551c  FLG=00010202

LEMON.EXE 0002:0005aa0d

But some other people tell me it runs fine. Any idea?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5084
  • Karma: +117/-1
    • View Profile
Re: General Software Testing
« Reply #55 on: June 28, 2024, 05:02:12 pm »
Ran fine here, besides the default scaling being too small. After adjusting the scale to 100% looks good.

Steven Levine

  • Newbie
  • *
  • Posts: 48
  • Karma: +10/-0
    • View Profile
Re: General Software Testing
« Reply #56 on: June 30, 2024, 05:51:59 am »
Fractz could be fixed to work with systems with more than 256 colors.  All that is needed is to avoid array overflow.  It might be sufficient to increase

static LONG blTable[256],   // color tables
            alTable[256];

to hold 16M entries.  If this makes the program too big to fit in memory, there are other options.


Dave Yeo

  • Hero Member
  • *****
  • Posts: 5084
  • Karma: +117/-1
    • View Profile
Re: General Software Testing
« Reply #57 on: June 30, 2024, 08:50:34 am »
I did try that, along with a larger stack,
Code: [Select]
06-25-2024  22:00:48  SYS3175  PID 01d5  TID 0001  Slot 0082
H:\TMP\FRACTZ\FRACTZ.EXE
c0000005
1f9adf76
P1=00000001  P2=0c685000  P3=XXXXXXXX  P4=XXXXXXXX
EAX=00001740  EBX=00001740  ECX=00000230  EDX=121ff344
ESI=0c685000  EDI=122001c4
DS=0053  DSACC=d0f3  DSLIM=bfffffff
ES=0053  ESACC=d0f3  ESLIM=bfffffff
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1f9adf76  CSACC=d0df  CSLIM=bfffffff
SS:ESP=0053:0809278c  SSACC=d0f3  SSLIM=bfffffff
EBP=ffffe8c0  FLG=00010202

PMMERGE.DLL 0004:0001df76

I've since lost my work as it was on the ram disk

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5022
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: General Software Testing
« Reply #58 on: July 31, 2024, 04:46:45 am »
Hello

I found this software from 1992. I don't understand what it does or how to generate the dictionary it request.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.