Re: A86: tolerance
[Prev][Next][Index][Thread]
Re: A86: tolerance
>
>
>On Thu, 12 Nov 1998 02:26:58 -0500 "Dux Gregis" <assets@eden.rutgers.edu>
>writes:
>>
>>>"TOL" at $0b04: C1 00 12 C3 45 3F 54 4F 4C 00
>>> jp $3f45 ;page d at $50fd
>>
>>The difference is in the parameters. I think that $01 loads the
>>parameter
>>into hl and $c1 and $41 loads the parameter into either de or bc. I
>>figured
>>it out before, I might have posted something, or I might have even
>>written
>>something into the menu structure doc I made.
>>So, TOL would have the input of $0012 ($1200?) in hl.
>
>that's a $c1.
>here's the registers after the jump to $3f45 according to ti86emu:
>af: c593
>bc: 00c1
>de: c200
>hl: 0b07
>ix: c210
>
>i don't think anything would load into hl, because the way these are
>executed is by a jmp (hl) into the menu entry
>
the way they are executed is it runs the code in the entry; that's why I
believe there is a $c3 there, but anyhow, $01 loads bc, not hl ... TOL in my
ROM reads as $c1 (whatever that is)
the opcode for ld bc,x is 01 .. but I don't think that has anything to do
with it