Script Files

Top  Previous  Next

The program ChipProgUSB can execute so-called script files in a way similar to how DOS executes the batch files.

The main objective of script files is to automate usage of the emulator. Using script files makes it possible to load programs, set up breakpoints, start program execution, manipulate windows and perform any actions available to you in automatic (batch) mode. It is also possible to display various messages in the Console window or other special windows, to create user's custom menus, etc. There is the option of displaying any graphical data in special windows.

The script language is similar to C: almost all C constructions are supported, except for structures, conjunctives and pointers. However, there are some differences. There are also many built-in functions available, such as printf(), sin() and strcpy().

The extension of script source file is .CMD.

Simple example of a script file

How to write a script file

How to start a script file

How to debug a script file

Description of Script Language

Script Language Built-in Functions

Script Language Built-in Variables

Difference Between the Script Language and the C Language

Alphabetical List of Script Language Built-in Functions and Variables