Vb81 XuR able to run a text basic file as a "P" file.
...and it's cool!
But, all graphics characters are not allowed on the standard windows font.
You had to install two specials fonts to display them.
Go to the VB81_XUR directory and open the "Zx81_fonts" folder... (C:\Users\you\Desktop\Vb81_XuR\Zx81_Fonts)
Install "ZX81_riched.fon" and "Zx81_Riched_V3.3[XavSnap].ttf" using "Install", on the right mouse click.
Open a text file with the note-pad, and open the font setup in the "Format>font" menu.
Select "Zx81_Riched_V3.3[XavSnap].ttf" or "ZX81_riched"...
The "ZX81-Riched-ZXBASIC" is the true-type font and is recommended.
To get specials Zx81 characters, open the "ASCII_TABLE.TXT" located in the font folder.
Now, you can copy and paste all inverted characters...
Note, the upper-case are displayed as normal characters, and lower-case as inverted characters.
The [""] character is a special character : \" or À
In case of ASM, in a REM statement, this code will be store in hexadecimal or decimal.
But the 1 REM HELLO can be use.
The same line names are allowed:
1 PRINT "HELLO"
The \ is the continue-line separator:
1 PRINT "ABCDEF"
can be split as
1 PRINT "AB\
The # is the comment tag (at the begin of the line)
ASM codes :
1 REM [HEX: AA,BB,CC,DD,EE,FF]
2 REM [DEC: 127,128,129,255]
VB81 will check the text file to retrieve bad lines numbers in a window...
Now return to the basic editor by using the "Return to Basic" button.
The program is in the Basic memory!
- SAVE"HELLO.TXT" will save the program in a text mode
- ':V' Save the Basic variables segment. (VARS memory)
- ':C' for CBI codes (by default Zx81 Basic functions)
- ':R' for ZxText2P ASCII characters codes.(by default Windows TTF Zx81_Riched font)
- ':D' to save ASM codes in decimal
- In case of emulator panic (ASM bad code or ASM loop), type "esc" key to try to save your program...
- In text mode, floating-point values can be corrupt, just use VAL("0,1234566").
Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
1 post • Page 1 of 1