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
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic enumstatic enum -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intMaximum length for a user typed-in command.static final intUltimate64 socket connection timeout. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault voidsendCommand(IConfig config, String command) Send a keyboard command, as if a user pressed these keys.
Note: command length is limited to max. 16 characters.default voidsendInsertDisk(IConfig config, File file) Insert D64 image into Ultimate64 floppy disk drive.default voidsendRamAndRun(IConfig config, SidTune tune, byte[] c64Ram) Send RAM to Ultimate64 C64-RAM and type Run.
Note: whole RAM is currently transfered, no matter how long the program is.default voidsendRamAndSys(IConfig config, SidTune tune, byte[] c64Ram, int startAddr) Send RAM to Ultimate64 C64-RAM and start machine code.
Note: whole RAM is currently transfered, no matter how long the program is.default voidSend Reset to Ultimate64.default voidWait on the Ultimate64 server sidedefault voidstartStreaming(IEmulationSection emulationSection, Ultimate64.SocketStreamingCommand command, String target, int duration) Start streaming.default voidstopStreaming(IEmulationSection emulationSection, Ultimate64.SocketStreamingCommand command) Stop streaming.
-
Felddetails
-
SOCKET_CONNECT_TIMEOUT
static final int SOCKET_CONNECT_TIMEOUTUltimate64 socket connection timeout.- Siehe auch:
-
MAX_COMMAND_LEN
static final int MAX_COMMAND_LENMaximum length for a user typed-in command.- Siehe auch:
-
-
Methodendetails
-
sendRamAndRun
Send RAM to Ultimate64 C64-RAM and type Run.
Note: whole RAM is currently transfered, no matter how long the program is.- Parameter:
config- configurationtune- tune to playc64Ram- 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- configurationtune- tune to playc64Ram- C64 emulator RAMstartAddr- start address of machine code to execute- Löst aus:
InterruptedException
-
sendReset
Send Reset to Ultimate64.- Parameter:
config- configurationtune- tune to play
-
sendCommand
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- configurationcommand- command to send
-
sendWait
Wait on the Ultimate64 server side- Parameter:
config- configurationdelay- delay to wait (600 ~ 3 seconds)
-
sendInsertDisk
Insert D64 image into Ultimate64 floppy disk drive.- Parameter:
config- configurationfile- 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 configurationcommand- streaming VIC/SIDtarget- network target to receive the streamduration- duration in ticks (one tick is 5ms, 0=forever)
-
stopStreaming
default void stopStreaming(IEmulationSection emulationSection, Ultimate64.SocketStreamingCommand command) Stop streaming.- Parameter:
emulationSection- emulation configurationcommand- streaming VIC/SID
-