Posted on September 22, 2004 at 13:32If you have a working assembler and you are trying to rewrite the same thing in C just compare the output of the compiler with your working assembler to see what's different. Looks like a small program, so it shouldn't be too difficult. Regards, Luca
For generating an s19 file in an STVD7 3.0.1 version, you can do the following:
1.Go to Project 2. Then settings 3. In th Pop-Up window, go to Post-Build TAB 4. In the description write ''Running Post-Build step'' In the commans section write following: chex -o $(OutputPath)$(TargetSName).s19 $(OutputPath)$(TargetSName).st7 For using your own lkf file, you can ub-check the ''auto'' button in Projects-Settings-Linker window. Btw there are good application notes avialaible on internet for STVD0 usage Normally, the method toggling the DDR register of instead of DR is used as it is safer and avoids the use of Read-Modify-Write