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

Re: Apple Game Server - updates



> The serial port part isn't particularly hard, having done that kind of
> thing before. :-)  I started that work a while ago, but got bogged
> down in trying to detect (remotely, automatically) which kind of Apple
> is at the other end.  It would be a whole lot easier if one just
> picked ahead of time which kind of device one were talking to.

You wouldn't happen to have a sample of a polling read loop would
you?  I have something that **almost** works but gets stuck.  What I'm
trying, assuming port 2, is

                 lda #$01
.readLoop
                 bit $c038
                 beq .readLoop
                 lda $c03b
...

Also, on a similar note (i have now 2 hours of 65816 asm experience
under my belt), if I enable emulation mode that automatically sets the
accumulator and index registers to 8-bit right?

-B