Samples

Samples and sample playing code is generated in vedi, using the popup on the project file tree. By chosing the entry "build vectrex samples" the dialog for sample generation is displayed. (see also the vedi→Samples documentation)



build samples in vedi




samples dialog


Exiting the above dialog with "create source" will (...hm...) create sources in the current project directory.
(After asking for a name for the file which is to be generated. In the following it is assumed that the name given is "TestSample".)
The generated sources are accompanied by an example player program.

Following sources are generated:

A vectrex playable binary file can be generated by setting the generate SampleMain file as the main file in the project.



set example player as main


The format and the actual play routines are documented in the source code. Just a few bullet points...

Provided subroutines, that also play sample data "in between" when needed:

The sample generator generates:

Data - TestSample.asm

Subroutines - digitalPlayer.i

Example - TestSampleMain.asm

(not further mentioned, but also generated: "VECTREX.I")



sample data that is generated




example that is generated (sample is looping)




start of digitalPlayer.i