diff --git a/femto.tal b/femto.tal index b98ea10..dfcf79d 100644 --- a/femto.tal +++ b/femto.tal @@ -52,6 +52,8 @@ |10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ] |a0 @File [ &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 ] +( MAX file size is currently #c950, i.e. 51536 bytes ) + %dbg { #ff .System/debug DEO } %emit { .Console/write DEO } %sp { #2018 DEO } @@ -194,7 +196,7 @@ @open-file ( filename* -> ) .File/name DEO2 - #f000 .File/length DEO2 + #c950 .File/length DEO2 ;data .File/read DEO2 .File/success DEI2 #0000 GTH2 ,&ok JCN @@ -1306,5 +1308,4 @@ ] @filename $80 ( path to file being edited ) - -@data $f000 ( actual file data to be edited ) +@data $c950 ( actual file data to be edited ) diff --git a/regex.tal b/regex.tal index 83f0081..556c70b 100644 --- a/regex.tal +++ b/regex.tal @@ -83,7 +83,7 @@ ( avoid conficting with the program we're included in. ) ( ) ( remove this if needed when including it in other projects. ) -|2000 +( |2000 ) ( ERROR HANDLING )