starting ucsim fresh from zip with a few modifications for the compilation
Added an include for the compilation and added Hello from Calypso in s51 launch message.
Added registers for the CC2530
added radio hardware emitting stderr messages when register RFIRQF1 is written into. Also added stderr messages Hello from Calypso in different parts of the program.
Added read and write notifications when sfr registers specific to the CC2530 are accessed.
Added XREG registers of the CC2530.
Modified MOVX instruction to use MPAGE instead of P2 when CC2530 is defined.
Modification of uc51.cc so that if CC2530 defined, timer registers that are not specific to CC2530 (these registers have different function for CC2530) are not reset.
Added xreg and flash in mem_class, mem_ids, mem_.._id, cl_address_space, cl_address_decoder, and cl_memory_chip.
Changed the MOV instruction set to be able to access xreg (xreg is supposed to be part ox xram, when the xreg part of the xram is accessed, the separately defined xreg memory block is also accessed, and vice versa).
Modification of dump command to access xregs instead of xram when xram dumped at xreg addresses.
Modification of dump command to dump correctly sfr and iram when accessed via xram. Addition of xram_offset in cl_address_space (difference between start address of memory space and its start address in xram).
Added flashbank 1-4 as memories, modified rom read and get to access correct flashbank according to fmap.
Added sram and removed xregs as a memory, changed address_space read/get and write/set for sram.
Changed cl_address_space read/get write/set for all types of cc2530 memories, dump indicates which memory is being dumped, Mov instructions are back to their original code, as write handles the redirections due to memory mapping in cc2530.
CC2530timer1 was added, some bit masks were also added for the cc2530.
Changed timer 1 modes and capture compare functions for every channel, made a structure for channel, changed the print_info function and added tick function.
Created new class cl_CC2530_timer from which CC2530 timers 1, 3 and 4 classes will be inherited. Added timer 3.
Added timer 4. Corrected bugs in timers. Started to change cl_it_src class (added a constructor). Optimized cl_address_space class.
Added MAC timer (timer 2). Fixed a few bugs in all timers.