Package libsidplay

Schnittstelle Ultimate64

Alle bekannten Implementierungsklassen:
HardwareEnsemble, Player, Ultimate64Window

public interface Ultimate64
Makes use of the Ultimate64 (FPGA-C64) debug interface to use JSIDPlay2 and Ultimate64 simultaneously. https://github.com/GideonZ/1541ultimate/blob/master/software/network/socket_dma.cc https://github.com/GideonZ/1541ultimate/blob/master/python/sock.py https://1541u-documentation.readthedocs.io/en/latest/data_streams.html
Autor:
ken
  • Felddetails

    • SOCKET_CONNECT_TIMEOUT

      static final int SOCKET_CONNECT_TIMEOUT
      Ultimate64 socket connection timeout.
      Siehe auch:
    • MAX_COMMAND_LEN

      static final int MAX_COMMAND_LEN
      Maximum length for a user typed-in command.
      Siehe auch:
  • Methodendetails

    • sendRamAndRun

      default void sendRamAndRun(IConfig config, SidTune tune, byte[] c64Ram) throws InterruptedException
      Send RAM to Ultimate64 C64-RAM and type Run.
      Note: whole RAM is currently transfered, no matter how long the program is.
      Parameter:
      config - configuration
      tune - tune to play
      c64Ram - C64 emulator RAM
      Löst aus:
      InterruptedException
    • sendRamAndSys

      default void sendRamAndSys(IConfig config, SidTune tune, byte[] c64Ram, int startAddr) throws InterruptedException
      Send RAM to Ultimate64 C64-RAM and start machine code.
      Note: whole RAM is currently transfered, no matter how long the program is.
      Parameter:
      config - configuration
      tune - tune to play
      c64Ram - C64 emulator RAM
      startAddr - start address of machine code to execute
      Löst aus:
      InterruptedException
    • sendReset

      default void sendReset(IConfig config, SidTune tune)
      Send Reset to Ultimate64.
      Parameter:
      config - configuration
      tune - tune to play
    • sendCommand

      default void sendCommand(IConfig config, String command)
      Send a keyboard command, as if a user pressed these keys.
      Note: command length is limited to max. 16 characters. You can simulate a return press by sending carriage return (e.g. "LOAD\"*\",8,1\rRUN\r"). Sending special characters or pressing additional keys like shift is not supported.
      Parameter:
      config - configuration
      command - command to send
    • sendWait

      default void sendWait(IConfig config, int delay)
      Wait on the Ultimate64 server side
      Parameter:
      config - configuration
      delay - delay to wait (600 ~ 3 seconds)
    • sendInsertDisk

      default void sendInsertDisk(IConfig config, File file) throws IOException
      Insert D64 image into Ultimate64 floppy disk drive.
      Parameter:
      config - configuration
      file - d64 file
      Löst aus:
      IOException - I/O error
    • startStreaming

      default void startStreaming(IEmulationSection emulationSection, Ultimate64.SocketStreamingCommand command, String target, int duration)
      Start streaming.
       192.168.0.119:11000 unicast address on the local network, port number 11000
       myserver.com unicast address, using DNS and default port number
       myserver.com:4567 unicast address, using DNS and specific port number
       239.0.1.64 multicast address, using default port number
       239.0.2.77:64738 multicast address with port number specified
       
      Parameter:
      emulationSection - emulation configuration
      command - streaming VIC/SID
      target - network target to receive the stream
      duration - duration in ticks (one tick is 5ms, 0=forever)
    • stopStreaming

      default void stopStreaming(IEmulationSection emulationSection, Ultimate64.SocketStreamingCommand command)
      Stop streaming.
      Parameter:
      emulationSection - emulation configuration
      command - streaming VIC/SID