Steven Hirsch wrote:
So, if I have this right your code sets up a client/server relationship
with
the Z80 hardware?
ZBRUN supports nearly the same kind of dialog between the Z80 and the 6502
sides as CP/M calling the BIOS side to handle general I/O (implemented by
routines written in 6502 code).
You may call this a client/server relationship, but I would have difficulty
to designate who is the client, who is the server (or should I say "who is
the customer and who is the the waiter? ;-)
Anyway, both chips cannot run concurrently, when one is active, the other
sleeps. On CP/M the 6502 is waked up upon interrupt and upon BIOS function
invocation by the Z80 side program.
Hope this is clear and by the way you can find further details within the
provided Appleworks documentation.