Schnittstelle IParallelCable

Alle bekannten Implementierungsklassen:
DisconnectedParallelCable

public interface IParallelCable
Parallel cable is a custom modification between C64 and C1541, connecting the two via C64's user port and extra wiring attached to the one of the VIA chips. In addition of 8 data lines, 2 signal wires are connected to let both parties be aware of when the other is ready. The pulse() is used to indicate the drive that C64 is ready; the signal is constructed by the CIA automatically on any use of register PRB. The other direction is handled via the handshake parameter on the driveWrite().
Autor:
Ken Händel
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    byte
    C64 reads data.
    void
    c64Write(byte data)
    C64 writes data.
    byte
    driveRead(boolean handshake)
    Floppy reads data.
    void
    driveWrite(byte data, boolean handshake, int dnr)
    Floppy writes data.
    void
    CIA synchronization.
  • Methodendetails

    • driveWrite

      void driveWrite(byte data, boolean handshake, int dnr)
      Floppy writes data.
      Parameter:
      data - written data
      handshake - handshake?
      dnr - drive ID
    • driveRead

      byte driveRead(boolean handshake)
      Floppy reads data.
      Parameter:
      handshake - handshake?
      Gibt zurück:
      read data
    • c64Write

      void c64Write(byte data)
      C64 writes data.
      Parameter:
      data - written data
    • c64Read

      byte c64Read()
      C64 reads data.
      Gibt zurück:
      read data
    • pulse

      void pulse()
      CIA synchronization.