🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.vm-util
Article #3779

Re: Question about NUCXLOADing a program

#3779
From: Ken Hornstein
Date: Thu, 23 Jan 1992 23:38
25 lines
1936 bytes
In article <VM-UTIL%92012313430714@OHSTVMA.IRCC.OHIO-STATE.EDU>, "Scott (nmi)
Mattes" <COTRSSM@SEA04VM.NAVSEA.NAVY.MIL> says:
>
>  I am writing a REXX function to search stems.  In an effort to speed
>it up and have it work properly I want to NUCXLOAD it (eventually it
>will be self loading, for now I am just doing the load by hand).  When I
>run my test case, where the match is the 500,000 occurance in the stem,
>the program works correctly and gives the expected results.  After
>NUCXLOAD, both with or without the SYSTEM option, the program ends early
>after the second stem item is searched.
>  Why should this program work differently when NUCXLOADed?  In both
>cases it is only called once.

Is your program relocatable?  If not, then weird stuff will happen, since
the ADCONS will point to stuff in the transient area.   You can fix this for
now by generating modules with the RLDSAVE option on load, but if you want
to make your program NUCXLOAD itself, you either have to make sure there are
no adcons in your program, or fix them in your front-end loader program.

(or it might be what Matt Kromer suggested, I dunno)

---
"It's such a fine line between stupid and clever" - David St. Hubbins.

Ken Hornstein       kxh105@psuvm.psu.edu      Phone: 814/867-8002
Technical Details
Message-ID: <92023.183826KXH105@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!psuvm!kxh105
References: <VM-UTIL%92012313430714@OHSTVMA.IRCC.OHIO-STATE.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10ab65,7d1fea8214c054da
X-Google-Attributes: gid10ab65,public
X-Google-ArrivalTime: 1992-01-23 16:28:50 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!psuvm!kxh105
Organization: HAM - Hackers Against MUDs
X-Subliminal-Message: IBM/370 assembler is your friend.
Date: Thursday, 23 Jan 1992 18:38:26 EST
From: Ken Hornstein <KXH105@psuvm.psu.edu>
Message-ID: <92023.183826KXH105@psuvm.psu.edu>
Newsgroups: bit.listserv.vm-util
Subject: Re: Question about NUCXLOADing a program
References:  <VM-UTIL%92012313430714@OHSTVMA.IRCC.OHIO-STATE.EDU>