home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / C25SIM.ZIP / foo.cmd < prev    next >
OS/2 REXX Batch file  |  1993-12-30  |  1KB  |  27 lines

  1. /* For programs that start from 0 */
  2.  
  3. MEMORY
  4. {
  5.     PAGE 0 :   Vectors  : origin =    0h , length = 020h     /* VECTORS */
  6.                Eprom    : origin =  020h , length = 07FE0h     /* PROGRAM */
  7.  
  8.     PAGE 1 :   Regs     : origin =    0h , length =    06h       /* DATA    */
  9.                Block_B2 : origin =  060h , length =   020h
  10.                Int_RAM  : origin = 0200h , length =  0200h       /* B0 & B1 */
  11.  
  12.                /* Sram     : origin = 0400h , length =  0200h */
  13.                Sram     : origin = 0400h , length =  7C00h
  14.            /* Nota bene: This mod assumes that when you leave the loader,
  15.            you're not coming back, so it's OK to trash whatever variables
  16.            the loader was using, so the loader gets to use all the RAM it
  17.            wants. */
  18. }
  19.  
  20. SECTIONS
  21. {
  22.     vectors : { } > Vectors   PAGE 0        /* VECTORS                      */
  23.     .text   : { } > Eprom     PAGE 0        /* CODE                         */
  24.     .cinit  : { } > Eprom     PAGE 0        /* INITIALIZATION DATA TABLES   */
  25.     .bss    : { } > Sram      PAGE 1        /* GLOBAL VARS, STACK, HEAP     */
  26. }
  27.