mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
21 lines
361 B
Lua
21 lines
361 B
Lua
%import textio
|
|
%import diskio
|
|
%import string
|
|
%zeropage basicsafe
|
|
%option no_sysinit
|
|
|
|
main {
|
|
|
|
|
|
sub start() {
|
|
diskio.directory(8)
|
|
diskio.save(8, "blabla", $2000, 1024)
|
|
diskio.directory(8)
|
|
diskio.rename(8, "blabla", "newname")
|
|
diskio.directory(8)
|
|
diskio.delete(8, "newname")
|
|
diskio.directory(8)
|
|
}
|
|
|
|
}
|