RAYNAUD@FRESE51.BITNET (Alain Raynaud) (05/16/91)
[Translate dcmd 1.0b1] Here is Translate 1.0b1, a dcmd (MacsBug external command), that displays the translation tree used by the Paged Memory Management Unit (PMMU) for a given virtual address. It is in fact an emulation of the coprocessor instruction PTEST, but gives much more information. Each level of table search is displayed, with the according flags (Used, Modified, and so on). This archive contains the dcmd (just paste it in the Debugger's Prefs file with ResEdit) and a small 100% text documentation created by MPW. Any text reader or word processor should be able to read it. I welcome all comments about this dcmd : it is now beta 1, and while all the algorithm of translation is implemented, the output is not perfect, mostly because my system cannot test every possible case. It works fine with System 7.0b4 virtual memory on a MC68030. I would like to know if it works with Virtual, or on a MC68851. Alain Raynaud <Raynaud@Frese51.Bitnet> --- (This file must be converted with BinHex 4.0) :%94bB@jcE'&dC5!a,M!ZFfPd!&0*9#&6593K!!!!!"-V!!!!!&+%8dP8)3!#!!! 6+h*-BA8"$!!!!"B!G!)#&%4[Bb"8FQ&ZFfaKG'8J+(4PH(3T!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!#Im!!!!!!!!!!&4&@&408&-J!3#N%h'cT"0 hQ!!!!D`!!!fY!!!"'J!!#&r8dT6I!!!!!!!!SGm!!!3)+0!03B-"I8K`&2#I23! %!"J!3%&!4))"@4!*L%%0!!%1)9)JmQB-##Tb`VLC`bB-R6)J8,c%3bF&#J%%U46 "3U8*P)!kHIUF!Q)J!$3!!'&FbT3JU3PaCJ9Xd#TJ!&C+-E)``Y%Mb)F4*eBNN!# 9))XMA6rq``F!!83!b!3m+"Y``EZ!$'6pfrX2ipTrdpkf8$"hDBX2H2Ab&GJ3hcp -%2ra-e!BB`X3LINZCSS%3))QEpb%'I-'`,m!JDb5%+L1'J!&!#CBP59!5B","#G 'j!'!4!"l!TB!i1dEq*+RGb!ha@JdS)IK[Am(Kejmq[+Qc3-J",$G"`!U%hJ9)%5 3!!-!l`#'5Q'XB%#l[FX(`)-IN!!*J#VpZ!"8j)4a-iG0'$TP3+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