Import

There are different ways you can import vectorlists into vecci.

Text import



text import


On the tab "import" the first tab is called "text import".

As text import I summarize imports that one can do via "copy / paste" of some kind of text, sourcecode or other "text" data.

The first textarea is the place where you must put the "text data" that should be imported. This usually should be done via a copy (from some other place) and paste (to the said textarea).

The next textarea is the "interpretation" area. Here is where vecci shows what is its interpretation of the text data you supplied. This will be filled once you press the "!" button (or another interpretation mode is selected -> combobox).

To the complete right the black area is the same interpretation shown as a vecci vectorlist-display.

How does this work?

The text you enter is processed the following way:

After the above procedure vecci has an array of byte data, that array needs to be interpreted as a vectorlist. Here the user has to step in and help!

The upper right area of the textimport tab is occupied by a combobox. Here you can select what kind of (initially only) BIOS data format the data should be interpreted with.

Once you select an entry, vecci goes to work and shows you the result (in the interpretation as data "statements" and in the vector display window).

Initially vecci is supplied with the most used BIOS vector list formats, but you can add your own formats! That is what the next 4 textfields can be used for.

Patterns

The data is interpreted using patterns. The user can supply these patterns so that an arbitrary number of formats can be supported. The pattern in general can have 3 entries:

  1. first line
    (this usually might be something like a "count"), this can be empty

  2. line x
    every line between the first and the last line, here usually the vector list is kept in earnest

  3. last line
    the last line can have a break criteria (or can be left empty),
    the break criteria always refers to the first byte of the next "line x"

For examples look at the supplied BIOS format patterns.

Following symbols can be used in a pattern line:

Examples

Frogger



Frogger example


Patriots



Patriots example


Vaboom



Vaboom example


Bresenham



Bresenham example


Thrust



Thrust example


Spudster



Spudster example