This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
straikkeri's profile picture

on computer startup, copy from disk to turtle?

Started by straikkeri, 29 November 2014 - 01:33 PM
straikkeri #1
Posted 29 November 2014 - 02:33 PM
Hallo!

I'm here among the pros to ask a grass root level question. I want to be able to have a startup program on my computer, that copies stuff from a disk drive next to it (simple) and then copies it as startup on the turtle, then reboots the turtle.

I'm not sure how to get the code in to the turtle through a computer. Note, the point here is that I cannot touch the turtle as a player, only the computer can interact with it. Can you give me any clues as to what I should be looking at to do this?

Or is there a simpler way to get the turtle to adopt a startup?
Edited on 29 November 2014 - 06:08 PM
Lyqyd #2
Posted 29 November 2014 - 08:05 PM
Put the turtle next to a disk drive with a startup file that copies all appropriate files from the disk. Use the computer only to call the turnOn method on the turtle.
straikkeri #3
Posted 29 November 2014 - 08:35 PM
Ah thank you much. It was much simpler than I thought. Didn't realize computers and turtles natively checked their surroundings for diskdrive and startup there. Very handy :)/>