stp@ethz.UUCP (Stephan Paschedag) (05/29/90)
For some days I've been trying to install Colored Memory on a 68020 System, but without success. Maybe someone out there can help me ! My memorymap looks like this : $000000 - $13ffff system memory $140000 - $1fffff special RAM the memorylist in the initmodule : MemList MemType SYSRAM,255,B_USER,4096,$000000,$140000,Mem0,0 MemType $155,255,B_USER,4096,$140000,$200000,Mem1,0 dc.l 0 Mem0 dc.l "System memory",0 Mem1 dc.l "Special memory",0 messages I got : 'bad memory list in init module' 'can't allocate system tables' Questions : - Do I have to include the definitions from the ROMlist, or are they automatically added to the list ? - May the lists from ROM and init overlap ? - Are there any other restrictions ? - WHAT'S WRONG WITH MY MEMORY-LIST ? Thanks for all hints ! stephan ============================================================================== OS/2 & PS/2 : half an operating system for half a computer Stephan Paschedag paschedag@strati.ethz.ch or stp@ethz.UUCP MPL AG, Zelgweg 12, CH-5405 Baden-Daettwil ..!mcvax!cernvax!chx400!ethz!stp ______________________________________________________________________________
herbert@cernvax.UUCP (herbert walseth) (05/29/90)
>My memorymap looks like this : $000000 - $13ffff system memory > $140000 - $1fffff special RAM > >the memorylist in the initmodule : > >MemList > MemType SYSRAM,255,B_USER,4096,$000000,$140000,Mem0,0 > MemType $155,255,B_USER,4096,$140000,$200000,Mem1,0 > dc.l 0 >Mem0 dc.l "System memory",0 >Mem1 dc.l "Special memory",0 > >messages I got : 'bad memory list in init module' > 'can't allocate system tables' > >Questions : - Do I have to include the definitions from the ROMlist, or > are they automatically added to the list ? > > - May the lists from ROM and init overlap ? > > - Are there any other restrictions ? > > - WHAT'S WRONG WITH MY MEMORY-LIST ? To take the last question first: I think you have mixed the first and second argument in the MemList entries. The first entry gives the memory type and the second gives the priority. Try with MemType SYSRAM,255,B_USER,4096,$000000,$140000,Mem0,0 MemType SYSRAM,155,B_USER,4096,$140000,$200000,Mem1,0 The other questions concerning the connection between the memory lists used by the bootstrap module and the OS-9 kernel are more difficult to answer as most of us do not have the source code for the Kernel handy. (My proposal: YES, YES and NO :-).) The kernel is passed the amount of free RAM found by the bootstrap module and a list of RAM and ROM areas but to me it looks like it generates its own lists pretty independently. My advice is to let the bootstrap module use the memory map that the board manufacturer set up and inform the OS-9 kernel of all ROM and RAM areas in you system through the init module. Hope this helps you enough to get your system up and running. Maybe some "real" expert somewhere will give a better answer to all of your questions. Good luck! +----------------------------+-------------------------------------------+ | | | | Herbert Walseth | No problem is so big or so complicated | | herbert@cernvax.cern.ch | that it can't be run away from. | | | | +----------------------------+-------------------------------------------+