Date: Monday, 15 April 1985 From: ir320%sdcc6 at SDCSVAX.ARPA Re: New file PCPI.MAC Just because I ask for pcpi code so much I thought it would be nice to send this out. I have written a small piece of code for any computer to use the pcpi card to read/write a byte of apple memory. Doc: Parms should be placed on stack in reverse order: Peek mem: [2 bytes] : Address of memory to peek Poke mem: [2 bytes Ignore hi in data] : Poke with Call +2 to peek mem Call to poke mem. Turbo pascal code (if pcpi.mac resides at $1d76 for example): Procedure Poke(addr, data:integer); external $1d78; Function Peek(addr: integer): integer; external $1d76; PCPI.MAC is the module for PCPI work. It is for use in Turbo pascal. That's all there is to it.