Skip to main content
Home Documents Macintosh YBug
YBug

YBug

Macintosh · PDF
FilenameyBug.pdf
Size0.08 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YBug
/
Loading…
OCR / Text contents
3:20 #4.H .---------------------------------------------·------------------------- .' 40 Th~s Gdded 01 /:30/85 l ' ont·1Gc: True ': . . onL ~ sci True equG t..es for i·/ACC cn·-1d ::lbot.}e ~ c~n68000 , .:. on=·/:Jcc: True l i 1: ·---------------------------------------------------------------------- .• .EQU .EQU NOT on G r·!Gc: i n tosh tiOT on e1 L 1sG ( MGc: ::(L ) t.tnder H::.:1e:f~Jor~:$s Yes, it's on a Yacc on68000 noTer·m .EQU ~APc:rt_ ~EQU set to 0 if RS232 s/b used use A Port for terminof stJJc;pS:::reen .EQU .EQU .EQU set if disassembf er full command set UJi thDis fui !Sized 0 set i f .sc:reen su.1::1p r-:-1i; .C..i:..!U .EQU ~EQU DDBG .EQU Ti'"li:Aiif8S ~EQU NOT debt~=;l:~ i n9 the debu:~1;Jer :::. ; ;u:.:J tr·(".lP r·u::Ui'i.eS .PBOC INCLUDE iNCLUDE iNCLUDE mc~c/t ~ ~::fsm-Gr1::4fEQU. TE)::T mGc ;l t i ctsm- Toc: i EQU . TEX:T mete/+..~ asm-HeapDefs. TEXT mac/' ti (~sm-si:JSm::Acs . TEXT .ENDC onL i s.::i True ~NCLUDE iNCLUDE INCLUDE t.. i t:~sm-Gr~:A fEQU . TEXT !NCLUDE t!asm-ToolEQU.TEXT tlasm-HeapOefs.TEXT t i c1sm-s1;:1smi:K:s . TEXT . Et·iDC iF onVGce:True ~NCLUDE !MCLUDE ~NCLUOE INCLUDE ~NCLUDE t_ ! 1:Asm-8:·/SEQU . TEXT t i ::1sm-Gra fEQU . TEXT t i c1sm- Ti:10 i EQU . TEXT t ~ Gsm-He::::1pDe f s . TEXT t IGsm-s,::1smac:s . TEXT .ENDC .LIST INCUJDE equates/global defs !NCLUDE db9-rmri4EQU . TEXT dtu;i- i r! i t . TE)::T dtu;t-cmds . TE)::T iNCLUDE dbg-io.TEXT INCLUDE dtu;1-1J trGp . TE):~T rs2:32/'d ~ sp i.at:_l stt~ff a::r tr=~p s: tu ff iNCLUDE dtu;i-he1:::ip . TEXT db9-dm. te::-::t heGp stuff ~NCLUDE INCLUDE dba-orint.TEXT printing uti !ities INCLUDE memc1ri:J d f sp I Gi:J code 2 fF f?...fi IS ized iNCUJOE :jtu;1-SiJmS . te::-:: t .ENDC . f·iOL i ST F . J . iMCLUDE .ENDC IC' ll ~NCLUDE .ENDC .END UJi thDis dbg-D.TEXT TnGmes d ~ sc.1ssemb i er
Home Documents Macintosh YTermBugA
YTermBugA

YTermBugA

Macintosh · PDF
FilenameyTermBugA.pdf
Size0.07 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads4
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YTermBugA
/
Loading…
OCR / Text contents
Debu99er for the Mo t_or··o ~ G fi8000 This tlavor is terminal base APort~ 20 ines with disassembler 2/ ~ ! /85 GPort suJ1:ApScreen !}Ji thDi s .EQU .EQU . EQU .EQU .EQU . EQU i·iOT on G L ~ sci ::: t·1cic.: XL ) ur!der t·iac!. .~orks \·'es.; ~ t = s on (~ ~l::.7ic:c 0 t·iOT on G t·tc~c or L ~ s::A set to 0 i f RS232 s /b t4sed use A Port for term i n=:.:1 i .EQU .EQU set set if disassemb;er f u l ~ command set .EQU hecipPr ~ r1 t dL~nes .EQU .EQU .EGU 20 20 .EQU 0 DDBG rat4mt=er or ~ i nes to d i sp ~ GiJ f'"it~mber c=f i i ries tc: i L (def GU~ t) t·10T debu9!;1 ~ n9 the debt~!;J9er DONT shouJ tr·Gp n=~mes 0 .PHOC ~NCLUDE ~NCLUDE ~NCLUDE ~NCLUDE ~NCLUDE mcic: / t ~ (Asm-He1JpDe f s . TE::<T mGc / t ~ 1:lsm-s1:f::m1Jcs . TEXT .ELSE ~NCLUDE ~NCLUDE jfiCLUDE tlasm-ToolEQU.TEXT iNCLUOE t i asm-HeapDe f s . TE:KT t ! asm-s!:tsmacs . TE)::T ~NCLUDE .ENDC equates/global defs jNCLUDE dbi~-rom4EQU . TE):~T INCLUDE INCLUDE db!;;- ~ rj i t . TE::(T db=;i-cmds . TE:::::T dtu;;J- i o . TE):~T db;;i-c~ trctp . TE)::T ~NCLUDE :JD1;1-nei:4p . i t:.}... i hecip stuff INCLUDE dbg-dm. te::.::t memi:ir-~;:J ..-i!-...-:-:-.::...~ ; .:..-.. .f. printing ut1 I ities IMCLUDE ~NCLUDE :1 ! .n..::::f pt 1••• !F iNCLUDE . ENDC lNCLUDE .ENDC -:"'::--•••·-:"" 1~·:··-r ! ! t :_ • ! !..-..··~.. I more e:ommGn(iS rs2:32;ld i sp i CUJ stuff d i sp ¥ a;:J code iNCLUDE .ENDC .END
Home Documents Macintosh Dbg Init
Dbg Init

Dbg Init

Macintosh · PDF
Filenamedbg-init.pdf
Size0.79 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Dbg Init
/
Loading…
OCR / Text contents
F!LEMRME: !nit.TEXT 12-Ru=;i-84 i :3-Aui;i-84 1C:-AuQ-B4 20-AUi;l-84 24-Au•;:-B4 1-Sep-84 8-Sep-84 9-Sep-84 10-Sep-B4 14-Sep-84 22-Sep-84 2:~;-Sep-84 25-Sep-84 i-Ni:;;.}-84 1-No:.}-84 Adc!ed ~ n i t of t·it·1 ~ keiJ for L i sci Added Fit·1 cc1mmc~nd (re tt~rn tc1 t·1(:tC: ) Bemc!t.Jed hGnd i ~ rI:~ of ~ e'.)e i s 4-C: j r1 ter·r·up ts F i ::-::ed F i r·;d Lon9 ( mi sses i f out of word pni:Jse ..! Added Exit-to-she! Added Lisa check cmd, Find now goes to Disp!ayMem routine, Be- i fiS t(~ i i ed 4-6 i n t '-}ec tors i f on f·1::JC; Ad:je!j s tcK::k c:rG!JJ 2 c:::1mmG:nd S t=:Jc:k c:r(~~JJ i morks ,: ei. .hE!t-t t..r ~ es to 1;ie t 1;ocu:J re turn c.iddres.s l c:hec:ks Chcin:;ied CS e:md tc~ t4s:e t1JJ0 Gddresses c~s (~r·:;tt~mer1 ts Added ~ OPB/~-~ I ND/TEHC: temp f (~tes F ~ ::-::ed i.JH cmd tu :lpr1 tched tra.Aps .= Gi so cons i s tGn t lJ i sp ~ Gs~ F i ::-::ed ~~H nor1-res tore of A-trGp d i spG tcher Gddr·ess Hemc:1.....1ed in~ ti ci i s::::p.}e of PostEi.}ent/B i c;c~:Jio 1..}e !:.iddress (eou id be + 9 for a magic location. use the =;1 j obci ~ siJs tem :.}::~ i t~e MOf..JEQ ADD . L Di .. Ai #$FF_. (R 1) onL. i S•:A True . !F are we on a Lisa? @O BEQ.S cg c·c . !-L..·-'i- BNE. S *"'-d= ru-: ~:._:._! ·' LH_! :iA9C;;i t·10t)EQ "=""" . t~ORD LEA BUSEBH . =AO f·iOi.)E ~ L . -....-. •+••-.. MU . ;~=V LEA ADDHEHF~ ·' AO AO_,:t:c LEA ~ LLEGAL .: AO r~101..JE. L RO.~ $10 LEA DIl..JZHO .• RO LER AO_, $14 CHK I MST_: AO RO.i$18 LEA nUHFi ...... -·t.J·::.·Rn ·- LEH AO_.$K THACE .:AO A0 .. $24 - t·10t.JE. L LEA MOUE.L LEA to ABORTB.:AO interrupt for lF AO_. i;?O level 4 interrupt vector ~ e:.}e i 5 i n ter·rup t 1.}ec tor I e•.)e i 6 ~ nt...errupt 1.)ector A0.:~£;74 i·iOt.JE. L A0.=$78 ~ EfiDC level 7 interrupt vector LER trap F :...i!;:c tor f c~r brr=:cikpe: i n ts CHKBP,AO AO_. :!;Bi:: LEA SAi..JEA .• AO LEA $28.: <AO) 5=] 1.ie ct~r~ren t T:.-: in . . rt:u get trap intercept AO.J$2H ~ fiS i.1:.i i i HEGPC.lAO #db9i-lrdC:n t- 1) DO (twm) c!ear out globals -.:-u-li A trcsp ours (f!O)+ DBFiA DO.: lMiT rsoTerm screeni. .J(:n..·s .: RO LEA CLB~L (AO>+ .._,,. #:dOf fset . . <RO)+ #dL i ties.! (RO) offset .··.l, ·= ·-· !.!=r! iF Ni·1i key = t·mUEQ THAPTO .ENDC (~t-id set ~ t . . -r ~- .:i ! ! C'U '-i-: i rS!:JSC:mds A 1 #0.iDO #s j zeCmds .•DO .1 ll:' i! nr1C1t"7: i..:i-::....:::_: set up keyboard constants #~:.bdRo i I .= KE:i:JHO x/50 ro! lover va ue for #kbdi·k:i i t . Kei::1l·k~ .ENDC BTS This al This 1s the command table which gets moved into the top of the global area. i f i:JOiJ Gdd or si.~b t.:rcK: t a commc~nd _, remember to Gd j us t the S i zeCmds constGnt in EOt·14EQU. '!!M' .A:3C! l ! ;~ r :i ,_-.:-·: :_....:: .ENDC ,,.... n- ODBG !r,n :-n...: . 1 .A8Ci i =KRt . ASCl l , K!-J • . ~-~ORO C"t·lni-~ .. L-: u...u_. Register commands .RSC! i . i-JOHD .RSCi l -~·40RD .ASCi ~ :D€:' SETD-S lSCt·iDS 1 .. 'F@' ::;ETA-S\':3CMD…

Showing first 3,000 characters of 16,053 total. Open the full document →

Home Documents Macintosh Dbg D
Dbg D

Dbg D

Macintosh · PDF
Filenamedbg-D.pdf
Size0.94 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads3
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Dbg D
/
Loading…
OCR / Text contents
·------------------------------------------------------------·---------F i LE D . t.e:;d. ·' lc::Jkt~p CG~ is ADD . t·J t·10t)E . !·J EA *+$HHHH pr i n ts abso i u te t'.:1ddress .: :;g2 ;~:3 0 ( :~:3 .: ~t2 ) ;:{;4 .i .2 \.JPB LEA CLB. i-l ~~ 1,; :;g:3 MOUE.B 0(13,12),14 LEA ~~5 .t ~~:3 ~~4 ~LLEGRL . f·1RCHD BSET i LLEGRL #i5.tD7 . EtiDt·i APPCHAH e:hGr . i"i!iCRO RPPCHAF; fw10t.JEQ ii=:~ 1.t DO BSB APPCH ,-Ir-on USE8!FO ._,. -·::s USE8!FO t·10t.JE . i~J TST. i·J BNE.S DO LocrktJpPC L ~ ne A i ns tr·t4i:: t i ons ·tJ···ans ~ :::t te i n to 27-Sep-84 18-0c:t-84 PC byte RDDQ . t·1ACEO B6T07 r·10t}E . i.J D4 .: ~t AND . L·l #:3 .~ !;g t·iOt.JEQ AND . ENDt·1 #:;: ·' :~ i D4;J :;g 1 DHTRHEG dreg . r·1ACRO t·10t.JE . l-l BSR ct..£ru.; DATAHEG :~ 1.~ - ( R7 > DB . :....! n.n; t·10t)E . i.4 ;~ 1.~ - ( R? ) BSF~ AH . t1ACBO fiOt)E. i-~ :~ 1_, -<R7) f·iO(JE . ~-J . iF fc10t}EQ AND C:t·iP . ~.J ;~2 .~ -( R? ) :::t'..C! = ~==~ i == LONG .ENDC I ;~:3 : = #FALSE -(ff{) .ENDC . iF :3T = #:3 .= DO D4_.00 #2 .= DO -( R7 ) -<A7) .ENDC BSB RPPNDSZ stze 1 I . Mf1CRO APPMDSZ f·10t.JE. i.~ :~ 1.i -(A7) BSH APPSiZE . ENDri t-101..JE. i.~ #:;s 1_.-(Fi?) BSH APP .ELSE .ASC:i ! :~2 .ENDC BSB RSC~ OPC2 ~~2 .ENDC !F BSB :~1 =4 DPC4 .RSC! .ENDC iF 5 CPC5 .ASCi .ENDC .RSC! .ENDC :~1 BSR =7 OPC7 .RSC!! ~ENDC MO!..JE. ~-i #~;g i _, -(H7) BSB OPC 0 .ELSE .ASC i .ENDC .EMDM ErYter tu i th : R5 ~:is pc~ i ri ter t::i the code to d i s:::1ssemb i e R4 c~s pc: i n ter to strinq for opcode !en A:;; (JS po ~ n ter· 1en for operGrid He~~ ~ s ter·s : 07 1s first word of opcode D6 ! s td ts0to2 D5 is bi t..s:3to5 r~1ot)E ~ L t·10t¥E _L and restore new PC DO.; A5 A5 .• -(SP) TEMP SWAP D7 ·-·: . !::-·..;! ,....,=~! :: MOt}E. L ~as Di SRStt:( <SP)+, fi5 ADDQ CLH.B CLH.B *~·::: OPCODE HTS 4; : $$$$: diassemb!y val id ? no, get old PC address bump PC one word Qt:; ....... 4:: ;1;·-~ <A4) reset opcode Gifid oper::AnG s t_r-·· i n9s (ft:3) push 'bad disassembly sign nope stuff long lengtn TC·T 1 :: ._·q • ;_ LOOKUP (R7)+ i n S!Jmbo ~ tc1b ~ e ~" s t:::;ck hGs Ci!_.£ tpu t. s tr i ra:;t p tr !Jddress to ! Cn:!kup . ~ c:okup i~ddress (U...;d LOOKUP . iF f·iOt.JE. L (R? )+.i HL <H7 )+.:A 1 (fi7)_,AO Fu i ~ S ~ zed H2., -(SP) BSR LookupPC push rettJrr·i 1Jddress pr i n t out tuhG t_ pr·oc: the ~Jser t·10i.)E. L (SP)+~! A2 res tore re turn ciddr·ess iJ.ihere t.:, pr i r-, t s1Jmbo i Ioc:Gtion of FC ~ENDC ~ iF LEA LEA 0 STHS1·lt·1.: AO (AO).: AO ENDs=-lt·1.~ A 1 symbol taoie base imit is l t"°! (81).~Ri CMP.L AO_lt11 BEQ.S CfiP~L BEQ.S ADD 8(80).: DO #$C_.AO t·10i.}E. L €: 1 #P- .-:.-iHi- SUBQ # ~i_;DO BBR.S (f!O)+ (fi1)+ ~EMDC APPCH APPCH t·10t.JE ~ B DO_; -(A7) f·10t)E . L R:3 AO (RO)+_.DO .I ( A7 )+ -~ 0 (AO} DO ) APPCHAB 44 TRBOEST TABDEST APPC:HRB 32 f·1Gt)E . S <A:3 ) _, DO CMP ~ 8 BLT . ;:; # i 5 -~ DO TA8DE:3…

Showing first 3,000 characters of 19,803 total. Open the full document →

Home Documents Macintosh YMaxBug
YMaxBug

YMaxBug

Macintosh · PDF
FilenameyMaxBug.pdf
Size0.15 MB
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YMaxBug
/
Loading…
OCR / Text contents
2/11/85 ·---------------------------------------------------------------------- . NOT Ofi ;] .EQU onL i si:::iTrue .EQU 0 Ci-t!! MOT on G L i s;:l 1_.1r1der t·lacJJorks \-'es.= on l::f '.bJcc \/Gee i s (=i 680 10 ... L-;;-::_; .EQU .EQU GPort 0 use A Port for terminal stoc~pSc:reen .EQU U.! ~ thD ~ s ~EQU set set fu f IS j zed .EQU .EQU .EQU nt.anber· o T ~ ~ nes .EQU number of lines to IL (default) heGpPrint dLines DDBG .EQU 0 i f screen s1.1.iGp to d i sp i GiJ NOT debu!;iz~ i n9 the debu1;J1~er· DONT shotu trGp r1Gmes .PHOC .NOL~ST iNCLUDE mGc/'t... i 1:=1sm-GrofEQU. TEXT iNCLUDE mac/tlasm-Too!EQU.TEXT mGc/tlGsm-HeGpDefs.TEXT mc.tc: l. t i osm-s1:Jsm;:.1c:s . TE):~T INCLUDE iNCLUDE .ELSE iNCLUDE tlasm-GrafEQU.TEXT ~NC:LUDE t~Gsm-TooiEQU.TEXT INCLUDE t i 1:lsm-He::::pDe f s . TEXT t ~ a:=:m-s1Jsmacs . TE)::T iNC:LUDE bENDC .Li ST iNCLUDE iNCLUDE dbg-rom4EQU.TEXT dbg- i ri i t . TEXT dbg-cmds.TEXT ~NCLUDE dtu~- ~ o . TE::(T equates/global defs basic debuqqer. init more c:ommcinds rs232/d i sp ! 1Ji:J sh~f f INCLUDE dbg-c~ tr:::ip . TE)::T ;~trap INCLUDE INCLUDE dbg-he:Jp. TEX~T dt:u;i-dm . te::,.:: t hea~p ~NCLUDE st.tiff s tt.i ff memor1::1 d i sp ~ Gi;:! code ~NCLUDE iF iNCLUDE symbols code/table .ENDC: i.sJi thDis ~NCLUDE .ENDC d ! :=:ctssemb I er 2 lF Tnames !MCLUDE dbg-trapname5.t~xt .END t~.om :Added '! = CJrt:.i::lC:C: .EQU .EQU .EQU .-.:_1 on68000 . t:.L!U 0 no Term . c.=-~u: onia/:Je:c Trt-ie i ,.'"')t...• .._., i.:.:..t··•• i nes uJ i th disassembier for :.:: 40 This or1CaBOOO' ont·hicTr·t4e' ~ oriL i sciTr·ue = ,.; Gnd Tr··ue = equ::::I tes for r./ACC and cd:uJiv=e :r NOT or·1 (:f t·iar.: i ntosh MOT on G L ! s;:~ (Mete: :::::L ) t~nch2r UGc~·~or~=~s 0 r-r.d' ::~Pc:r·t.. ~EQU stuapScreen uJ i thD is .EQU .EQU .EQU h~GpPr~nt .EQU dL ~ t-feS t·ium ~ L .EQU .EQU use A Port for terminal set i f screen st~Jap set if di s1::issemb i er f u i ~ c:omm:And set 40 DDBG nt~mber of numt=er-~ of .. : .; : •. !..OeTi:.".lU l T_} ~ MO.: r!O t debt~!;l1;l ! ni;l tne debU!;l:~er shouJ trGp n(Ames 0 Tnc.!mes .PHOC .t·iOLiST !F :_!f ~NCLUOE ffK~c: l t.. i i:ism-S\.!::;EQU . TEXT iNCLUDE mi~c: / t ~ :Jsm-GrG fEQU . TEXT m=Jc: / t ~ Gsm-Too ! EQU . TE::(T mc~c / t i Gsm-HeGpDe f s . TE)::T mGc: ,l t i Gsm-s1:Jsm::~c:s . TE:::::T -.- .. t.o!- - T .. -· · - ~NCLUDE INCLUDE INCLUDE u ~;_.n..: i r ·:_-1t: .ENDC ~NCLUDE t ! ==~sm-S\-=sEQU . TE:::::T ! t i (ls:m-Gr!::l f EQU ~ TE):~T tlasm-TooiEQU.TEXT t I iJsm-HeGpDe f s . TE)::T t ~ 1:lsm-s1:Jsma:.ic:s . TE>::T :.. : . -.. :.: : !!"-.. :"""'- i ril...LUUt. iNCLUDE ~MCLUOE iNCLUDE . ENDC JC !l INCLUDE iNCLUDE iNCLUDE on\.ti::;cc: True t I c1sm-s=·lSEQU. TEXT t i (lsm-Grc~ fEQU . TE)::T t_ l i:.'.ism- Too i EQU . TEXT !MCLUDE tiasm-HeapDefs~TEXT ~NCLUDE t i Gsm-si.Jsmc1c:s . TE:KT .ENDC : :,.-.. .Lf:: i ~ 1 dbs~-r~:!m4EQU ~ TE)::T db9- i n i t. . TE)::T eqt~(~ tes i~ !~…

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

Home Documents Macintosh YaccEqu
YaccEqu

YaccEqu

Macintosh · 1989 · PDF
FilenameYaccEqu.pdf
Size0.31 MB
Year1989
Subsection prototypes / 1985_YACC / firmware
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
YaccEqu
/
Loading…
OCR / Text contents
Thu, Mar YaccEqu.Text on Mac onlisa on Yacc .EQU .EQU .EQU 16, 1989 11 :31 PM 0 0 '·----------------------------------------------------------------; System Constants ;----------------------------------------------------------------Physical Device Equates The YACC is a meg machine with memory management that aliorJs mapping of the memory into 1 kilobyte pages. There are 8 video p1anes which are 640*480 pi;.~eis in size. This is 37.5K of ram per plane; the 1K resolution of the pages force an allocation of 38K for each plane. The Video DMA system uses physical addresses 19 to 17 for the selection of the 8 planes, thus forcing the division of the physical 1 meg of memory into 8 128K partitions. There is a 16 bit register that is 1oaded with a physical address that points to the start of the frame buff er in each of the 8 p1anes. The Sound subsystem makes al 1 accesses from partition O, which has addresses 17, 18, and 19 = .(i. It ai so has a 16 bit register i·Jh ich points to the start of the sound buffer. The system rJi 11 fetch a 16 bit value at the start of video scan 1ine (15.734 KHz horizontal scan rate), of ~~hich the low 10 bits are used as input to a PWM c irwi t. The PvJM circuit di vi des the line into 585 cycies; a value of 585 or higher will turn on the sound for the entire i ine whi 1e a value of 0 rJi 11 turn off the sound for the 1ine. The Sound DMA system will continue to fetch successive words of data until a word is read that has bit 15 = 1, whereupon the circuit rJi 11 reset the starting -:.iddress to the int iai vai ue in the 16 bit register. The floppy disk PliJM circuit for speed control is two 8 bit registers/counters that are written in para1 lel. . When 16 bits are written, the lm:.s 8 bits are loaded into a PWM Low register and the high 8 bits are laoded into a PWM High register. The circuit provides Pulse Width Modulation and Pulse Frequency Modu1 at ion. Each register is fed into a counter that increments at an 8MHz rate until it reachs 255, ~·Jhereupon it hait and reload itself. The other registericounter is enabied and it folim&Js an identical process. The number of times that both counters increment is proportional to the square-wave frequency that is produced • ~Ji th a sum of counter increments equa 1 to 256, a square wave of frequency 31.25Khz is produced ( 1000/ \256* ( 1000000/BMHz))) • The vaiue in the PWM_Low register/counter divided by 256 is the proportion of the square ~-Jave that rJiii be 'low and the vaiue of Pl>JM_High divided by 256 is the proportion of time that will square wave will be high. The memory management hard~111are consists of 2K ;{ 16 of read/write registers. 8 megabytes can be mapped but only 1 megabyte can be mapped at any one time. Any 2 accesses that has the l ow 19 bits the same and the high 3 bits are different v4ill cause a memory translation error. To address 1 meg, bits 19-10 are provided by the MMU and 9-1 come directly from the address. The high 3 bits (22-20) are used b…

Showing first 3,000 characters of 10,716 total. Open the full document →

Home Documents Macintosh Tlasm HeapDefs
Tlasm HeapDefs

Tlasm HeapDefs

Macintosh · 1987 · PDF
Filenametlasm-HeapDefs.pdf
Size0.18 MB
Year1987
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm HeapDefs
/
Loading…
OCR / Text contents
HeapDefs.Text Thu, Mar 16, 1987 11:09 PM Heaplefs - Definitions for Macintosh Assembly Language Memory Manager. Supports multiple heap zones with mixed relocatable and non-relocatable storage blocks. Reorganized from code designed and written by Bud Tribble, 27-Nov-81, and maintained and modified by Angeline Lo, Larry Kenyon, and Andy Hertzfeld. Modification History: 17 Feb 83 LAK added dfltStackSize for defltAppiLimit. 20 Mar 83° MPH changed memory size constants to support 512 K byte machine; added PtrMask and HandleMask to allow garbage in high byte of ptrs or handles passed to memory manager; removed "checking" conditional from ChkZone macro. 29 Mar 83 MPH added purgeFrec and moverelProc. entries to zone object. iG Jun 83) MPH Removed Definition of Nil, use Nil from GrafTypes. 17 Jun 83 MPH Removed moveRelProc from Heap object, inserted spare. 2i Jun 63 MPH Put FreeList code under assembly switch: FList. 18 Jul 83 LAK Removed FreeList stuff completely; removed TLock, TPurge; removed Trap macro and check hook offsets. for Flags byte: FNSelCompct ,FNoRvrAl loc ,FNSel Purge ,FRel AtEnd. 12 Aug 83° LAK Added ClearBit equate. ; These constants control conditional assembly. Checking +Equ Q ycheck arguments and data structures Statistics »Equ 6 ygather statistics on usage Robust »Equ 0 yenables super-robust internal checks CountHPs «Equ it) senables counting of master pointers DF tFlags sEqu 0 yChecking is on when zone is init’d H 3 Constants: HinFree »EGU 12 312 byte minimum block size TagMask »EQU #00000000 sMask for the 2-bit Tag Field BCOFfMask EOL SOF 000000 sMask for the 4 bit Byte Count offset BCMask »EQU $00FFFFFF yMask for the 24 bit Byte Count PtrMask »EQU SQ0FFFFFF jMask pointer to low 24 bits Hand] eMask »EQU FQOFFFFFF sMask handle to low 24 bits Freelag -EQU #0 slag for Free block NRel Tag »EGU $40000000 ylag for Non-Relocatable black RelTag »EQU $80000000 3Tag for Relocatable block MaxSize »EQU #800000 jMax data block size is 312K bytes Mindddre »EGU $0 3Min legal address MaxAddr »EBU S800000 yMax legal address for 512K machine MaxMasters »EGU $1000 sRidiculously large allocation chunk size dfl tasters »EQU 32 pDefault to 32 master pointers df] tStackSize EGU $00002000 38K size for stack anStackSize +EQU 00000400 31K minimum size for stack i H Block Types H t ybk Mask »ERU 3 yMask for block type 30 Jul 63 LAK Added equates for PurgePtr and AllocFtr. Aiso added equates HeapDets.Text tybkFree tybkNRel tybkRel Heap Zone ? BkLim PurgePtr HFstFree ZCBFree 62ZFroc MAT ocOnt Flags FOnCheck FChecking FGZAl ways FNGZResrv FN5el Compct FNoRvral loc FNGel Purge FRel AtEnd cntRel maxRel cntNRel maxNRel entEmpty cntHand]es minCBFree purgeProc sparel AllocPtr Heaplata MinZone ' 3 TagbC Handle BikData SysZoneSize AppZoneSize Structure StartPtr LimitFtr CMoreMasters -EQU EGU EGU Offsets: »EQU EGU EGU »EGU »EQU »EGU «EGU »EGU +EQU +EQU »EQU »EQU »EQU EGU »EQU »EQU »EQU »EQU »EGU »EGU «EGU »EGU »EQU EGU E…

Showing first 3,000 characters of 5,210 total. Open the full document →

Home Documents Macintosh Tlasm ToolEQU
Tlasm ToolEQU

Tlasm ToolEQU

Macintosh · 1989 · PDF
Filenametlasm-ToolEQU.pdf
Size0.75 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm ToolEQU
/
Loading…
OCR / Text contents
ToolEqu.Text File TOOLEQU.TEXT Thu, Mar 16, 1989 11:24 PM 1 User Interface ToolBox Equate File This file contains global variable and data structure definitions for the MacIntosh User Interface ToolBox. It is included with all toolBox source files and possibly with some application programs. written by Andy Hertzfeid May 3, 1982 MODIFICATION HISTORY: AJH AJH AJH AJH AJH AJH AJH AJH AJH AJH BLH AJH BLH AJH AJH AJH BLH BLH AJH AJH AJH AJH AJH BLH AJH AJH AJH AJH AJH AJH BLH 8c 8c AJH AJH AJH AJH AJH AJH SC AJH 6C AJH ELH $C AJH 23-May-B2 22-Jun-82 27-Jun-82 3i-Jul-B2 10-Aug-82 29-Aug-82 06-Sep-82 12-Sep-82 14-Sep-82 20-Sep-82 24-Sep-82 05-Oct-82 7-Oct-82 12-ict-B2 14-Nov-82 21-Nov-82 i?-Dec-82 i9-Dec-B2 19-Dec-82 24-Dec-82 28-Dec-82 05-Jan-83 24-Jan-83 5-Feb-83 5-Feb-83 4-Feb-83 12-Feb-83 é-Mar-83 7-Mar-83 S-Apr-83 20-Apr-83 20-Apr-83 09-May-83 i0-May-d2 25-May-83 3i-May-B3 02-Jun-83 08-Jun-83 14-Jun-83 23-Jun-83 08-Jul-83 05-Aug-83 05-Aug-83 06-Aug-83 13-Aug-83 28-Aug-83 Added window stuff Added icon stuff Added menu stuff Added control stuff; changed menu data structures Got rid of scrapWindow Added UragPattern , 1ShapeHook to globals, dragMsg to controls Added growWindow message Got rid of Alert and Dialog Window; added fneDne, MinusQne Changed for new font manager fidded “goAway" boolean to windows; added symbolPtr globals Added alert, dialog globals and data structures Added ContriAction field to control data structure Added indirect globals--took main globals out of low mem Switched over to new font manager globals; gratport now 64 bytes Added TaskLock for desk manager LGlobais,GPortSize change for ROM 1.8 Changed Dialog, Resource constants and globals Changed names for Resource upheaval Added CurActive Curfeactive ,deskHook globals Made defProcs defHandies, other data structure changes Broke off resource type and Il defs into separate file moved global base to #E80; put dialog stuff at end replaced HICONLIST with MBARENABLE Removed alertWindow, UDialogWindow globals. Changed Dialog data .structure defs. added MicroSoft bytes, other changes globais for scaling font manager got rid of checkFlag, made curfiragAction 4 bytes Jong added GotStrike field for fontMgr (used byte from defSize) added scalelisable added GhostWindow field in MicroSoft giobals Changed alert and dialog templates. Removed AlertKind. Added journal stuff at end Added text edit defs, changed dialogs Added CloseOrnHook, FPAddress Added AppPacks table Changed size of grafFort for new QuickDraw, Added SyskesNane Changed PicScrap to theScrap Added AppParmHandie Added OSErrCode Removed systemKind (it’s now any negative number) Made it match the documentation New TE record Added WGIconMsg to window defProc messages Added ResErrProc at end of tool globals. Made LastMap a temporary filler. Dropped scrapinfo, thedcrap Changed AppleMark, CheckMark to final values ToolEqu.Text : Thu, Mar 16, 1989 11:24 PM AJH = 29-Aug-83 added…

Showing first 3,000 characters of 20,343 total. Open the full document →

Home Documents Macintosh Tlsam GrafEQU
Tlsam GrafEQU

Tlsam GrafEQU

Macintosh · 1989 · PDF
Filenametlsam-GrafEQU.pdf
Size0.12 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlsam GrafEQU
/
Loading…
OCR / Text contents
GrafEqu.Text Thu, Mar 16, 1989 11:07 PM File GRAFEQU.TEXT - Macintosh graphics equates file. Written by Bud Tribble 26-May-81 All system graphic routines include this equate file. MODIFICATION HISTORY: i 5 : 3 i 3 BLT 2-Oct-ai For new LisaGraf 3 AJH 31-Oct-81 Moved variables down to make room for driver variables 3 alo 03-Feb-82 Lisagraf vars moved down to #800 for more system globals 3 AJH 06-Jul-82 Added stuff for ObscureCursor y LAK 26-Ju1-B2 Added JUPDATEFROC pointer to update event generator 3 LAK 05-Sep-82 Added MaxX and MaxY equates : AJH 15-Sep-82 Modified for new cursor interface 3; LAK 16-Oct-82 updated for 512 dots y AJH 20-Nov-82 added JournalFlag, font manager jump vectors 3 AJH 02-Jan-83 added Journal Hook 3 $C 21-Jan-83 font scaling/coupling stuff 3 $C 02-Jun-83 Added 3 vars for jerky cursors H §C 23-Jan-83 changed JournalHook to journal Ret 3 AJH 1i-Aug-83 added MScaleThresh, MScaleFactor y; LAR 13-Aug-83 changed above two to MicaleTbl, added NScaleQld 3 LAR 18-Aug-89 changed above two to CrsrThresh and CrsrQuad. H moved JCrsrTask here from Sysequ. ; LAK 20-Aug-83 Removed CrerGuad. 3 i ; System Constants 3 SCRNROWE EGU 640/8 MaxX EGU 640 Max EGU 44 SCRNBYTES EGU SCRNROWB#Max ¥ i : ; System Graphic Jump Vectors - Long pointers to H system routine entry points. 3 GRAFBEGIN EGU #800 ;GRAF GLOBAL AREA JHIDECURSOR EGU GRAFBEGIN J5HOWCURSOR »EGU JHIDECURSOR+4 JSHIELDCURSOR EGU JSHOWCURSOR+4 ASCRNADDR EGU JSHIELDCURSOR+4 ASCRNSIZE »ERU JSCRNADDR+4 JINITCRSR EGU JSCRNSIZE+4 JSETCRER EGU JINITCRSR+4 JCRSROBSCURE »EQU ASETCRSR+4 JUFDATEPROC »EGU ACRSROBSCURE+4 LGRAF JUMF EDU JUPDATEPROC+4 ;LAST VECTOR LOCATION : ; System Graphic variables : GRAF VAR EGU LGRAFIJUMF s5YSTEM GRAPHIC VARIABLE AREA SCRNBASE EGU GRAF VAR yPOINTER TO BASE OF SCREEN MTENF -EQU SCRNBASE+4 sPOINT, TEMPORARY MOUSE COORDS RawMouse «EGU NTEMP+4 ; Faw mouse coordinates (un-jerked) GrafEqu.Text MOUSE CRSRPIN CRSRRECT THECRSR CRSRADDR CRSRSAVE CRERVIS CRSRBUSY CRSRNEW CRSRCOUPLE CRSRSTATE CREROBSCURE CRERSCALE MouseMask Mouselffset Journal Flag JSwapFont JFontInfo Journal Ret CrsrThrash JCrsrTask -EQU »EGU »EGU »EGU EGU +EQU »EQU +EQU +EQU EGU +EQU »EQU »EQU »EQU EGU EGU EGU +EQU »EGU EGU «EGU ; NOTE -- JCrsrTask GRAFEND »EGU Thu, Mar RawMouse+4 MOUSE+4 CRSRPINtE CRSRRECT+S THECRSR+48 CRSRADDR+4 CRSRSAVE+44 CRSRVIS+1 CRERBUSY+1 CRSRNEW+ 1 CRSRCOUPLE+1 CRSRSTATE+2 CRSROBSCURE+1 CRSRSCALE+3 MouseMask +4 Mouselffset+4 Journal Flagt2 J5wapFont+4 JFontInfot4 Journal Retf+4 CrsrThresht2 CrsrThresh = must JCrsrTask+4 ié, 1987 9 14:07 PM ;POINT, MOUSE COORDS USED BY CURSOR 3RECT, CURSOR PIN LIMITS sRECT, CURSOR HIT RECTANGLE 348 BYTES. CURSOR DATA, MASK, HOTSPOT LONG, ADDR OF DATA UNDER CURSOR 316 LONGS, DATA UNDER CURSOR sBYTE, CURSOR VISIBLE FLAG sBYTE, CURSOR LOCK-DUT FLAG 3BYTE, CURSOR CHANGED FLAG yBYTE, CURSOR coupled flag ;WORD, FOR NESTED CURSOR CALLS ybyte semaphore for obscure cursor sbyte c…

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

Home Documents Macintosh Tlasm Sysmacs
Tlasm Sysmacs

Tlasm Sysmacs

Macintosh · 1989 · PDF
Filenametlasm-sysmacs.pdf
Size0.27 MB
Year1989
Subsection prototypes / 1985_YACC / firmware / yaccsbug
Downloads5
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Tlasm Sysmacs
/
Loading…
OCR / Text contents
SysMacs.Text FILE: SysMacs.Text MACWORKS Copy Thu, Mar 16, 1989 11:22 PM SysMacs.Text Written by: - System macros include file. should All system components include this file of standard system macros. Bud Tribble 28-Oct-61 Modification History: AJH = 30-Oct-81 AJH = G2-Nov-B1 AJH = 15-Nov-81 alo 2-Feb-82 LAK 05-Sep-82 LAK 07-Sep-82 MPH (29-Oct-82 LAK 23 Dec 82 LAK LAK LAK MF LAK LAE LAK LAK AJH LAK LAK 5b LAK LAK LAK LAR LAK a 2 18 2i 03 ia 23 06 il 1é ce Jan Jan Jan Feb Feb Feb Feb Feb Apr Jun Jun dun Aug Aug Sep Nov Nov 83 83 83 83 83 added added - changed MOVE.L to LEA in “_ CORE" macro ~ deleted SEEK and old memory management macros ~ added ASYNC option - added some utility core routines DrvrRemove - added 5 object manager core routines option to mem man. macros. - removed object manager calls; added new file system traps (_UnMountVol, MountVol, FlushVol, FlushFile, - added DrveInstall, - added System/Current _DpenRF) and options (FilNam,FilNum) ; removed file system traps _ReadLabel, WriteLabel. CapString, GetTrapAddr, SetFillock, RstFillock, made consistent reorganized remove SetHLock, SetHFurge Delay (again) and Addiirive macros. Changed added Exit added added to LoadFile. SetGrowZone, CompactMem, ROrveinstal 1 trap 463 is now Initutil. Added Removed NOSAVE option Fixed REGS to GetTrapAddr SetTrapAddr macros SetFillype macros with Andy’s SysMacs macros to add new memory manager calls, PurgeMem (no longer used); added SetAppHase. macros for Freetlem, MaxMem, DisposPtr, SetPtrSize, GetPtrSize, DisposHandle, ReAllocHandle, EmptyHandle, Compacthen, Added Added WARES for string compares. SetHandleSize, GetHandleSize, SetAppiLimit, HeapValidate, IMMED option for control Added Resrviiem trap in place of HeapValidate; CompactHem, FreeMem, FurgeMem, and MaxMem traps adjusted for ,575 option. ;CLEAR option for memory manager; added ,CASE and and PurgeMem to reflect correct options, reg save. calls. Made CompactMem, FreeMem, FurgeNem, and ResrvMem use SAVE instead of REGS. Added Offline trap for file system. MoreMasters call for memory manager. Added Macro TrapTo Parameter Misc. “i is the magic number associated is used to call the hardware »MACRO HOVEN.L MOVE TRAF MOVEM.L +ENDM system macros TRAPTO DS/D7,- (SP) #41 07 #5 (SP) +, 05/07 interface routines. with the routine begin called. troutine> save register routine number trap restore register SysMacs. Text »AHACRO IF LEA »ENDC IF » WORD »ENDC IF «WORD ENDO IF »WORD »ENDC IF «WORD sENDC IF WORD -ENDC -ENDM »MACRO IF LEA 2ENDC IF WORD »ENDC lF -ENDC Thu, Mar 16, 1989 11:22 PM __CORE ale dp 41,00 yylost FA000T72 43) = (REGS? $AL00+72 90 = CARYN! FA400+72 ay = "Sys" FA400F12 a' = IMME! SALON YE _ Core Ui ab ef 41, AG Mya te SA000+T2 "E3) = ‘SAVES IF aes '5Y5" WORD = $A400+%2 »ELSE WWORD = $AG00+22 -ENDC "49/0 = ‘REGS? LF YA = *5Y5" wlF aa’ = ‘CLEAR’ wWORD = BA7O0+%2 sELSE «WOR…

Showing first 3,000 characters of 7,298 total. Open the full document →

Subscribe to firmware
mp.ls