<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 15 Dec 2011 02:00:36 +0000
From   : jgh@... (jgh@...)
Subject: 32016 + 32082

Eelco Huininga wrote:
> This might suggest that they explored the use of a MMU during the
> development of Pandora v0.61 but abandonded it by the time Pandora 
> v2.00
> was developed, or that they moved MMU functionality from the firmware 
> to
> software.

It could be they changed the programming assumption that if you were
running on Pandora 2.00+ it was up to running software to decide
whether there was MMU present or not.

Indeed, on startup Pandora 2.00 explicity sets the local copy of the
config settings to &01, so calls to OS_CONFIG return "no MMU present".

029A DC D0 31    ??1  MOVQB  +1,&31(SB)   ; FPU=1, MMU=0

; SVC &36 - Read config switches
090E CE 58 D0 31 ?X?1 MOVZBD &31(SB),R1   ; Get byte from workspace
0912 EA BD D8    ???  BAL &000046EA       ; Jump to exit

...and on startup configures the hardware to not use an MMU:

0000 0E 0B 01    ...  SETCFGD +2            ; Configure FPU present, 
IRQ, MMU, CSLV absent
0003 7F AA C0 F0 01 7E
                  .???.~ JUMPD @&00F0017E    ; Jump to startup code

suggesting it's up to running software to chose to detect, enable and
use any MMU.

Interestingly, there is something in the OSFILE code that reads the
config switches from hardware, &0AFC onwards. I haven't investigated
enough to work out what's going on there.

http://mdfs.net/Software/Tube/32016/v200/Pandora.lst

JGH
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>