[Vb81] How to export D_Files datas.

Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
Post Reply
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

[Vb81] How to export D_Files datas.

Post by XavSnap »

Hi,

The simply way to save a memory bloc like the D_File memory segment, in Vb81 XuR to TASM...

1) Draw a pretty picture with the Easy Draw or the bitmap digitalizer window.
2) Target the D_File in the binary viewer.
3) Open the disassembler windows.
4) Select the lower and the upper limits memory offset to export.
5) On the mnemonics board, click on the start memory offset (right click), it set the first offset to a "data" argument.
6) Press "shift", juste on time, the cursor will change and display "DATA" (select a memory bloc to…).
7) Go to the end of the board, and click on the right button (… select the and of [argument] bloc).
8) All datas will be set to "DATA" on this segment (instead of "Machine code Mnemonics").
9) Open the export icon, "Save codes" (floppy icon).
10) select the TASM export button, and name the exported file.
11) All screen datas will be displayed as pure datas, to add them to a machine code program.
12) Have fun.
D_file.JPG
Note:
To 'compress' the D_file, juste erase all "$00" datas at the end of the line (before the new-line $76 code), but you had to clean the screen using a CLS to expend the screen and use the full D_file segment.

To get the ASCII coded characters codes save the D_file in the "Tools" > "D_File tool" using the ".BAS" argument, to convert all codes in the Vb81's text Basic standard (Vb81's true-type character font, to add it in a Basic ".BAS" text file using copy&paste).
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Post Reply