home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,801 of 4,255   
   Joe Monk to All   
   Re: PDOS/86   
   22 Aug 21 14:40:47   
   
   From: joemonk64@gmail.com   
      
   > I am not sure what that means. Is it that the CSECT contains code,   
   > variables, and records (i.e. memory set aside for records rather than   
   > declarations which don't in themselves occupy memory)?   
      
   CSECTs contain executable code, variables, etc. DSECTs are for DATA ONLY.   
      
   > If so, it sounds as though such programs would not be re-entrant. Nor   
   > could you have multiple copies of records other than what you'd   
   > pre-arranged space for. That all sounds a bit limiting so I guess you   
   > mean something else.   
      
   They can be written to be re-entrant. As an example, the entire MVS OS is   
   written in re-entrant assembler. Re-entrancy is a construct on the mainframe.   
   We also have something called refreshable code, as well as re-usable code.   
      
   > BTW, in IBM Assembler how do you request memory dynamically? Is there   
   > some equivalent of malloc?   
      
   We use a macro called GETMAIN, which calls the memory management SVC 120. When   
   done, you free the storage via a FREEMAIN macro.   
      
   Joe   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca