Dbg Rom4EQU
Dbg Rom4EQU
Macintosh · PDF
| Filename | dbg-rom4EQU.pdf |
|---|---|
| Size | 0.27 MB |
| Subsection | prototypes / 1985_YACC / firmware / yaccsbug |
| Downloads | 1 |
Contents
THUE
FALSE
.EQU,
sizeCmds
.EOU
.EQU
$0000
.EOU
_: s ~ ze of screen
ful lsize/noterm/withdis)
.EQU
70
.EQU
n bi:J tes
~ oop i•.Ja i tJe of h i t t i t""u;I ~:.e§:JbC!ard
! oop 1..)::A i ue for tt.h:A it i n9 fc:r· ke1~bocird
AO_, -(Sf')
.~F
.ELSE
,-., 0
i
:-·L...Z a. t....
.ENDC
.EQU
dtu~He;:Jd
S\.tSTACK
(SP)+ .:AO
.; res tore AO
onL i sci Tri. .ie
$410900
:t;4 i iOOO
_; s t;:Jr t_
.;~auk
(1
ttum
f debu!;J;;ler
.: :;1rom do1JJn :.Jboi.}E! dr- i !....:er 9 ~ ob(.~ ~ s .:
~: be i ouJ
the d i spG t..c:h tab ! e
_; number of b?::I tes f c!r d f sp i i:l!J
.EQU
;add some slop so eight bytes
.: ~ mmed i Cf te i !;J j:u::is t end of screer-~
y=:: !_
- - ..l,
dGf fset
;offset bytes for display
.: The f o I ~ coJ i niJ equ:J r..es 1Ar·e used i::J commun i c:ci te iJJ ~ tn r_ne L t sci h;:4rduJGre
i f'¥ r.er r Gee .
.: The techn ! que is !..::= use the TRAPTO rrtc::]c:r·o uJ i th c:ne of the fo i i CdJ.i i riq equ:::1tes
.~ l::i f ter set_ ti t""1!~ t~p the (~ppri:1pr·. ~?:Ate re9 ! s ters .
Ai registers without exp! icit
.: r·e +JJrn '. )G i ues c~r·e preser:.}ed .
.:NOTE
.,11
. EQU
J<ei;:!fk1p
_J<e1::JbdE }en t
i ..
C"ni j
.. ;,_;-:;-.:;
58
.EQU
.EQU
140
i .•.-.
P'tL
.EQU
~EQU
170
r:r.1nc-
_; ( kili~:. )
_; +_1.!.im
• ~i n..:i_..
. iF
dSp:~e:e
~EQU
dOf fset
screenA
for 128K)
.EQU
. EQU
-:: Sc:rr-iS i ze ::- +2-dSpc1ce
$FA700
nf
- . -h!iti=a·:::
::: --_;offset b!Jtes for di sp i Cild
.; base address t:J f screen ( for 5 12K .: ~.uraps
.EQU
~EQU
.ENDC
sc:reenA
;stack grows down
.~ (kiJ.tk) - toJm
on\·J•J•::c: True
_; f_l.i.i!T!
.: rH.~mber of bi:J tes for d ~ sp I G~:J
.EOU
dlines*S*(LineLen>
<ScrnSize>+2-dSpace
.EQU
::;z::reer-!L1:!a.u
..Ji•:·:."""'
.r...:
.. ..."'"! ..- ••-~
.EQU
dOf fset
:=:c:reenA
_:f-~r_.;i_::
psuedo-absolute for Yacc
.EQU
OispatchTab-$800
dbgHer1d
.. i::rn
;....,·-:·-·!
SVSTACK
D ~ spc~ tch Tc;b-:t50
;offset bytes for display
.: bc~se :Jddres:s c1 f screen
;hardwired global area
;stack grows down
skip DeepShit
.ENDC
on68000=0
HTr·opFmt
tr~Jp
' 1010 ·
. Ef·1DC
.EQU
HEGPC
saved value of user's PC
S!::!=...::ed :.)(~ i t~e
HEGPC+4
HEGS
~EQU
HEGSH+4
.EQU
.EQU
BEGFMT+2
of user : s BtG tus t=~e=~ ~ s ter
. EL:3E
e::{cep t i or; f ormc£ t 1.}Cl i ue
S•J=.}ed t};:). ~ tjes C; f t~::::er s (iG tG reid, ~ s ters
t
.EQU
ABEGS
registers <AO-A4)
USEHR5
~EQU
REGAfi
.EQU
REGA?
. C"nii
. EQU
FiEGA7+4
DDBG1
. EQU
F!EGUS+4
DDBG2
. EQU
.EQU
DDEG1+4
DDBG2+4
:......~-::_:
AHEGS+20
ABEGS+24
AHEGS+28
sG~ied 1.}::A l t4e of tJ.ser ~ s A6 r·eg
si::fa.}ed !...JG ; t~e of user ~ s R7 re:d
DDBG
~=~8i:;it·l::l i
t
ke~~Rc; i
f c:r one l Ctt""1?; temp
_; Gno ther debL~!di~ i n!;J the debt.11;i9er temp
ke1:Jtn::=:lr-·d e:c:ns tan t ( UJ('l i t ~ fi:~ for +..o~:.er-; )
ke~JbO(Jrd c:::ns tGn f.. (de i G!J c:r· re: ~ i o!..)er
.~ spn:.1ce
. EQU
t_ ~me)
~ c.lstCmd
f (JstCmd
.EQU
.ELSE
.EQU
.rnoc
BEGUS+4
BPADO
i=rn !
.. ;;....·-:·-·
iGstCmd+2
BPTiL…
Showing first 3,000 characters of 6,194 total. Open the full document →