Re: A83: ROMcall questions


[Prev][Next][Index][Thread]

Re: A83: ROMcall questions





> [about LD_HL_MHL realy being in 0033h]
> Yeah TI does the same on the TI-86.  Since the rst's are generally just
> jp $xxxx, they have 5 extra bytes which happens to work perfectly for
> _ldhlind: ld a,(hl) \ inc hl \ ld h,(hl) \ ld l,a \ ret

I aready knew that, I just wanted to know if it is was true for all the
ROM-versions...
Those are: 1.0200, 1.0300, 1.0400, 1.0600, 1.0700, 1.0800, 1.10
 (and 1.1001, but that doesn't count)
I already know this is, for the 1.0700 and the 1.10 versions.

> And UNPACK_HL divides HL by 10 and stores the modulo in a.

Thanks about that one, but just to be sure:
123/10 = 12 modulo 3, right?




Follow-Ups: