Create a file on magnetic tape: Difference between revisions
Content added Content deleted
(task2 -> task) |
m (Category:Hardware / move Category to top) |
||
Line 1: | Line 1: | ||
{{task|File System Operations}} |
{{task|File System Operations}} [[Category:Hardware]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
The task is to create a new file called "TAPE.FILE" of any size on Magnetic Tape. |
The task is to create a new file called "TAPE.FILE" of any size on Magnetic Tape. |
||
Line 204: | Line 220: | ||
=={{header|ZX Spectrum Basic}}== |
=={{header|ZX Spectrum Basic}}== |
||
The ZX Spectrum does not have file type extensions, so we save as TAPEFILE, |
The ZX Spectrum does not have file type extensions, so we save as TAPEFILE, |
||
rather than TAPE.FILE. |
|||
We can use any start address, depending on where we want the data to come from. |
|||
Here we dump the contents of the screen: |
|||
<lang zxbasic>SAVE "TAPEFILE" CODE 16384,6912</lang> |
<lang zxbasic>SAVE "TAPEFILE" CODE 16384,6912</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |