[A83] Re: PolySmlt


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

[A83] Re: PolySmlt




> From: "Dan Englender" <dan@calc.org>
>
> You could probably optimize that a bit, but if you really need to be as
> efficient as possible (but suffer the "risk" of dealing directly with the
> hardware), you can do this:
>     in    a,(2)            ;Port two bit 7 is HW type (1=SE)
>     rla
>     jr    nc,NotSE
>     ld    a,1                ;Port 20h 1=15MHZ
>     out    (20h),a
> NotSE:

Would setting port 20h, without checking the HW type, suffice? Or is port
20h used on the 83+?





Follow-Ups: References: