XRAM CF-Interface for simulation

Top  Previous  Next

The XRAM CF-Card interface is created for the purpose of testing the File System routines without hardware.


You can use an external RAM chip (XRAM) for the CF-interface but of course it is not practical in a real world application unless you backup the power with a battery.


For tests with the simulator it is ideal.


Just specify the Config_XRAMDrive.bas file and select a micro that can address external memory such as the M128. Then specify that the system is equipped with 64KB of external RAM.


You can now simulate the flashdisk.bas sample program !


In order to simulate Flashdisk.bas, set the constant XRAMDRIVE to 1. Then select 64KB of external RAM and compile.