Skip to main content
Home Documents Macintosh Dbg Dm
Dbg Dm

Dbg Dm

Macintosh · PDF
Filenamedbg-dm.pdf
Size0.48 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads1
Contents
Memory display uti ities 8-Sep-84 fieoJ TcujG~:J (a] ~ uJc:f~Js f i ::-::bt~ f before pr i n t i ni;i ~ 1t:-Sep-84 t·1or·e DLE s t11 i th count 22-Sep-84 No DBBA cit top of I oop ! ~ ~ 2:3-Sep-84 Added Oi·1bc1 i l out_ for pr i n t i n1;i 26-Sep-84 Added i-l l ND ::lTERC temp ~ (Ates 15-Sep-84 C: l eGnup .· bt~1~ f i xes ) = There c4r·e three debU1;i9er 9 i ob!::: i s used ~n d i sp i (.l!~ i r~1;i memor··!:f . The first is DMmemPtr) UJh i C:h Ni:Jbb ~ e Nt::tme ( e::-:: t.ens i on ni:Jbb l e ) HEX BiJ"te/i-Jor. d/:Lon9 i •.Ja ~ ues Length of asci i field Pr~ nt $2 the f1P Gs 6 he::-:: di i;I its Pr i t-! t ckA 1:1:A ~;t-1P GS ~n:Asc::::~ ~ s tr ~ n:;? TEXT D i sp ~ (.ii:J the f c: i I CdJ.i i n:~ te::.:: t s tr i n=~ Pr i r-¥ t sp::.1c:es Print :~ r1eUJL; ne SP NL Len9 th c1 f te:=-:: t s tr i n·~ Nt4mber of spGic:es 'l'..O pr i n t FWDMP Hmount Bi-lDf·iP Rmot~r-it the to decrement_ f1P -} REPEAT END Nc.unber of Terminate t ~ mes to loop/lemplet~ C:f·1D ~.}:J i ue ) ( ??? f u tt.Ere ) :f;F NOTE ~ n ter-·pr·e ted c1s Ofle mor·e thGn the Ge t1...l:::~ i ras:Jbb i e i r~ the biJ te c:ommcu..td .: comm:::ind to print 4 spaces. AO ( ~ nput) Function ptr to memory template Uses the memor'd temp!;:~ te spec: i f ~ ed t:;;=' HO to G ! sp i ay the memory spec:~ f ~ ed bEd DHmemP tr t.ip to Ot·imemEnd Pm.Tc.xi Ct·1P ~ L BNE.S set up for n1 i ptr test any memory template ptr? iJes ~· t.ise i t A0 DO 1 ~ ~r-ld~t i emp _:AO AO.~ -(SP) Temp ; ::~ teLoop t·10t)E. L CLH.L test f !~ke r-·epe(~ t.. (:i:!un t make sure 10 buffer CmdB~J teLoc1p f·10tiEQ r·10t)EQ :i+O)DG Dt·1cmdP tr.; A 1 (A 1 )+·'DO At·iD.8 A 1~l Dt·1cmdP tr DO .:D1 #:t;OF.! uu ADD. i~ D1,D1 LEA Dr-id i spT .~ H:::: ADD.H Dt·1memP tr·' RO <A2> !bi .L BNE.S clear out extens!on nybble c: i eGr out c:c!mmGnd bid te get the command pointer qe t the c:omm(:ind b1:1 te set neu.1 c:c=mm=:Ar!d pc: ~ n ter· set up c:md rot~t ~ rie offset DO e::< tens i or-·: r-tidbb i e 01 = command nybb!e double it (word offset) ;Jet c;;:•mm.:~r!Ci d ~ sp•::d:;::h tcib i e 9et Gddress of code i t-itO A2 get memory ptr into AO = re ~ ~ c:ommt:And p tr =} Dlk:mdPtr !.:.t1:: re done no, keep looping Dt·imemP tr.: DO ~jet the mem p tr DrimemErid DO _l Temp:::;ateloop ADDQ _~40RD pop memory.template ptr Df·1He:~<-Dt·1d ~ sp T Df1Asc ~ ~ -Df·1d i sp T ~ ~-JOF!D Dt·1f·1P-Dt·1d i spT . i-~OHD Dt~1sTH-Dt·1d i spT .WOBD Df·1T e::.:: t -Dt·1d ~ sp T Ott:;P-Di·1d i sp T Dt·1NL-Dt·1d i spT Dt·lr1t~ ~ i -Dt·id i sp T Dl1F•.>.•df-1P-Dt·ki ! spT Dt·1Bwdt·1P-Dt·1d i spT . t-JOHD - . .. . HOF!D Df·int~ i ! -Dt·kl i sp T . i-~ORD Dt·lHepe:J t-Dt·1d ~ sp T Dt1Er-1d-DMd i sp T Dt·1STACK-Dt·1d i spT Dt·int-i l i -Dt·1d i sp T nMP t-·r·MP-nMd .... - .. - ..~ ·=:n - r T .. ~ CLF!.L D~-1cmdPtr· !-·£Ct ! :_.:_r: . :_ Dt·1memEnd BSH ADDQ (SP)+ :=AO - -· #f; ::;p .: AO.: <SP)+ sa!..Je re tur·n :::iddress pop off d1. .~mmiJ toord c:c•Ut""! t =l c:md ~;tr…

Showing first 3,000 characters of 9,293 total. Open the full document →