🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1844

ROM'ing JPI M2

#1844
From: Cobus Debeer
Date: Sun, 24 Mar 1991 19:27
26 lines
1548 bytes
After spending a few hours getting a two module programs into ROM I 
thought it wise to alert others out there of two items which is not 
stated in the manuals.  It is very important to have the pragma 
const_in_code => on in all modules, even if they don't explicitly use 
string or real constants.  The libraries need to be re-made with this 
pragma added to all the modules.  If this pragma is not included the 
code that sort the initialization code for the various modules fails 
and loops forever.
 
Some versions of the compiler ( V2 ) contain a file called INITSYS.a 
while others contain a file called INITESYS.a .  The second file seems 
to be a corrected version of the first one.  The difference is that the 
incorrect versions do not initialize the stach segment and stack 
pointer and this causes the initialization code to fail.
 
I hope this helps a few people out there.
 
Regards
 
Cobus de Beer.



--  
uucp: uunet!m2xenix!puddle!5!491!1.0!Cobus.Debeer
Internet: Cobus.Debeer@p0.f1.n491.z5.fidonet.org
Technical Details
Message-ID: <23.27EDAEE7@puddle.fidonet.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!rice!uw-beaver!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p0.f1.n491.z5.fidonet.org!Cobus.Debeer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!rice!uw-beaver!zephyr.ens.tek.com!tektronix!percy!m2xenix!puddle!p0.f1.n491.z5.fidonet.org!Cobus.Debeer
From: Cobus.Debeer@p0.f1.n491.z5.fidonet.org (Cobus Debeer)
Newsgroups: comp.lang.modula2
Subject: ROM'ing JPI M2
Message-ID: <23.27EDAEE7@puddle.fidonet.org>
Date: 24 Mar 91 19:27:39 GMT
Sender: ufgate@puddle.fidonet.org (newsout1.26)
Organization: FidoNet node 5:491/1.0 - Golden City Opus, Johannesburg RSA
Lines: 26