GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
181 stars 46 forks source link

new feature: play/run TAP files via network (socket_cmd) #311

Closed 4ch1m closed 1 year ago

4ch1m commented 1 year ago

Hey there,

the 1541ultimate/Ultimate64 already has a few awesome network features; like sending and running PRG and D64 files (via SOCKET_CMD_DMARUN and SOCKET_CMD_RUN_IMG):

https://github.com/GideonZ/1541ultimate/blob/27951e6bf9babc4982a7c5197ebcf461efdd13eb/software/network/socket_dma.cc#L22-L35

Would it be possible to also add support for TAP files as well?

Tape support is already present and working fine in the user interface; where it's already possible to select a TAP file and run it.

Making this available via socket command would be great.

(Note: This may also mean to loosen the 200 kilobyte limitation for the payload; since some TAP files can reach up to 1 megabyte.)

Thanks!

4ch1m commented 1 year ago

Oh, I just read issue #285 and realized that the socket_cmd feature might be removed/replaced at some point.

So... it would be cool if a "run tape" endpoint would be considered/implemented for the REST-api. :smile:

GideonZ commented 1 year ago

No new features will be added to the socket dma. The socket dma is deprecated and will disappear in 3.12.

In 3.11 there will be a proper http API, and a grace period for socket dma.

Op zo 2 apr. 2023 14:08 schreef Achim @.***>:

Hey there,

the 1541ultimate/Ultimate64 already has a few awesome network features; like sending and running PRG and D64 files (via SOCKET_CMD_DMARUN and SOCKET_RUN_IMG):

https://github.com/GideonZ/1541ultimate/blob/27951e6bf9babc4982a7c5197ebcf461efdd13eb/software/network/socket_dma.cc#L22-L35

Would it be possible to also add support for TAP files as well?

Tape support is already present and working fine in the user interface; where it's already possible to select a TAP file and run it.

Making this available via socket command would be great.

(Note: This may also mean to loosen the 200 kilobyte limitation for the payload; since some TAP files can reach up to 1 megabyte.)

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/311, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSKEVTR7WS3RCLUVDB3W7FT33ANCNFSM6AAAAAAWQIKFQU . You are receiving this because you are subscribed to this thread.Message ID: @.***>