mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-16 16:06:06 +09:00
a working internet modem that only reads
This commit is contained in:
10
assets/disk0/devipftest.js
Normal file
10
assets/disk0/devipftest.js
Normal file
@@ -0,0 +1,10 @@
|
||||
let fout = files.open("FBIPF")
|
||||
let fin = files.open(_G.shell.resolvePathInput(exec_args[1]).full)
|
||||
|
||||
let ipfRead = fin.bread()
|
||||
println(`Input file: ${ipfRead.length} bytes`)
|
||||
|
||||
fout.bwrite(ipfRead)
|
||||
|
||||
fin.close()
|
||||
fout.close()
|
||||
Reference in New Issue
Block a user