This is a continuation of https://retrocomputing.stackexchange.com/questions/27077
I am trying to port my father's game for the Z80 compiler. I have managed to read up on the tutorials and other resources (like other BASIC programming examples) to solve primitive issues with compiling the game, but still is unsolved by me:
dump.bas:182: error: Syntax Error. Unexpected token 'INT' <INT>
6220 GO TO 6221 ; INT(RND*3)*4
dump.bas:206: error: Operator AND cannot be used with STRINGS
7040 PRINT AT y(e)-1,x(e)+1;"__" AND r(e)=1
dump.bas:291: error: Cannot convert value to string. Use STR() function
dump.bas:292: error: Cannot convert value to string. Use STR() function
9992 READ L$: LET L=LEN L$: LET S=0: LET K=2: LET N=N+1
9993 IF L=0 THEN RETURN
dump.bas:295: error: Cannot convert string to a value. Use VAL() function
9996 IF K<L THEN POKE A,C: LET S=S+C: LET K=K+2: LET A=A+1: GO TO 9994
So for the first error the semicolon does not get recognized. Is it possible in Z80's BASIC dialect to change this code so that it runs? For each line I added the corresponding code unless there's two lines in a row.
This seems like a specific dialect, how do I port this for the zxbasic compiler(Z80)?
Or is this code corrupt from using a bad TAP converter?
I still have a tape recorded .WAV file.