Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER->Code Bank Switching->Using the Virtual Workshop

Memory banks can be supported with the 8051 Virtual Workshop through the provision of a suitable Virtual Workshop extension.  Once this extension is in place, you can fully simulate your banked program.  The Virtual Workshop extracts the information that it needs from the IEEE695 format program file which enables it to load the code into the appropriate code bank.  As it loads the program code, it will use the same method to switch banks as you have specified in the bank pragmas.  As it runs your program, it keeps track of the active code bank and so is able to display the correct source information, distinguish between breakpoints in different code banks, etc.