Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ZX Basic 1.4 (beta) is out
#19
boriel Wrote:Please, Ardencret, download 1.4.0s1853
It now includes soporte for Spectranet but the syntax is not the same as BASIC. As an example:
Code:
#include <spectranet.bas>

10 LET mpoint = 0 : REM 0..3
20 SNETmount(mpoint, "tnfs", "192.168.1.100", "", "", "")
30 LET f = SNETfopen(mpoint, "screen.bin", "r")
40 SNETfread(f, 16384, 2048)
50 SNETfclose(f)

Quote: 12:36:02 -> Compilation starts(7 Lines)
 12:36:02 -> Source G:\Game software\dist\new.bor saved
 12:36:02 -> G:\Game software\dist\zxb.exe "temp.bor" -S 24200 -o "G:\Game software\dist\testfiles\output.bin"

 12:36:08 -> Exit code: 0

spectranet.bas:67: warning: FUNCTION 'SNETbind' declared as FASTCALL with 2 parameters

 12:36:08 -> Done: Compilation successfull
 12:36:08 -> FAIL: Compiler cannot write output file in directory (Protected Or does Not exist?)
 12:36:08 -> Compilation time: 6031ms
"C:\Program Files\Fuse\fuse.exe" "G:\Game software\dist\testfiles\output.tap"


Is it looking for the port address ie 16384

test file crashes


Attached Files
.tap   test.tap (Size: 3.83 KB / Downloads: 402)
I'm always on the chat or facebook.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)