Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
lain.church
Yardım
Üye Ol
Giriş Yap
izaya
/
OC-PsychOS2
şunun yansıması
https://git.shadowkat.net/izaya/OC-PsychOS2.git
İzle
1
Yıldızla
1
Çatalla
0
Kod
Konular
0
Sürümler
0
Wiki
Aktivite
Kaynağa Gözat
service/tape-iofs.lua
added a service to make an iofs node for each tape drive attached to the system, as /iofs/tapeN
pull/1/head
XeonSquared
4 yıl önce
ebeveyn
8e3ee7bcb2
işleme
77ceb65be6
1 değiştirilmiş dosya
ile
8 ekleme
ve
0 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+8
-0
service/tape-iofs.lua
+ 8
- 0
service/tape-iofs.lua
Dosyayı Görüntüle
@@ -0,0 +1,8 @@
local counter = 0
for addr in component.list("tape_drive") do
iofs.register("tape"..tonumber(counter),function()
local tape = component.proxy(addr)
return tape.read, tape.write, function() end, tape.seek
end)
counter = counter + 1
end
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet