[A83] Re: MirageOS and _getkey


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

[A83] Re: MirageOS and _getkey




> Any idea why the os even needs to use op1 in the romcall 
_getkey ?  Seems
> kinda stupid.
> 
I never really bothered to dive into the inner workings of 
the rom routines, but it seems logical that they reuse 
pieces of code. Besides, OP1 is fairly frequently referred 
to, so it might happen that a sub-subroutine uses it. In 
fact, _getkey does a bit more (and less as well) than a 
simple direct port reading, so this is quite possible.

PG



References: