Frequently Asked Question
If I want to change the name of the C program. What actions should I do?
Last Updated 6 days ago
- Modify the name of the C program from user.c to ***.c. Ex:cipherlab.c
- Open the Z.BAT with notepad.
- Replace the user with the new name. Ex:cipherlab
Original:
@echo off
if exist user.map del user.map
if exist user.abs del user.abs
tulink user.lnk
if exist user.abs goto step1
echo ***** Link Error, Try Again *****
goto end
:step1
tuconv -Fs32 -o %user.SHX user.abs
:end
Modified:
@echo off
if exist cipherlab.map del cipherlab.map
if exist cipherlab.abs del cipherlab.abs
tulink cipherlab.lnk
if exist cipherlab.abs goto step1
echo ***** Link Error, Try Again *****
goto end
:step1
tuconv -Fs32 -o % cipherlab.SHX cipherlab.abs
:end - Open the LINK file with notepad. Change the name of *.rel. Ex: cipherlab.rel
-lm -lg -ll
user.relè cipherlab.rel
84wlan.lib
8400lib.lib
c900ml.lib
/*******************************************/
/*User could provide suitable values*/
/*to the following variables*/
/*******************************************/
MainStackSize = 0x001000;
HeapSize= 0x000100;
MaxSysRamSize = 0x020000; - Change the name of the LINK file as the new file name. Ex: cipherlab
- Open the cmd.exe. Input “Y newname.c”. Ex: Y cipherlab.c
- Input “Z”
- If you can see the diagram, you change the file name successfully.