XCSB under MS Windows is a 32 bit protected mode console app.It can be run directly from a command line console such as cmd.exe
The command console is normally invoked by clicking on the icon
NOTE:XCSB can also be run indirectly through an Integrated Development Environment (IDE) such as JALcc (which can be obtained from http://oase.uci.kun.nl/~mientki/PIC/Pic_frame.htmRunning XCSB from the command line console
Back to main XCSB documentationStep 1
From your list of programs locate the MSDOS icon and launch the command line console by clicking on it. This will result in the following window apearing on your screenStep 2
At this window type the commandThis will take you to the directory where XCSB is installed. If you have installed XCSB to a different directory, use the name of that directory instead.cd xcsb-BETA-0.22.0-pic-lite-win(this is shown highlighted in the image below)Step 3
Now compile your program using the XCSB compiler by typing the commandThe file prime02.bas is an example program written in XCSB. To compile your own programs you will use the name of the XCSB source file you have produced in place of prime02.bas.xcsb prime02.bas(this is shown highlighted in the image below)NOTE: the name of the file must be completely specified, this includes the .bas file name extension
Step 4
You now have an executable program that can be run on a PIC. The XCSB compiler has produced a .hex file and a .lst file from the .bas file your specified.The .hex file contains the executable in Intel Hex Format. This file can be downloaded into a PIC using a programmer such as the Wisp628.
The .lst file contains the assember listing that corresponds to the executable produced. The listing is in human readable form and the layout is described in the XCASM documentaion available online.
By typing the following you will see what has been produced
dir prime02.*(this is shown highlighted in the image below)