From: Kalus M. <mic...@on...> - 2011-05-14 09:00:58
|
Hi. Here is some gforth code to make a one-file amforth assembler source from your application.lst file. Edit wowrd GO on line 76 in delister.fs to your needs. : go s" my-application.lst" delist bye ; Then on comand line do: gforth delister.fs -e go > my-application.asm Befor you do so prepare your application: - Deactivate all .nolist commands in amforth source. - Exclude all words you do not want in your final application source. - After my-application.lst has been generated by AVRA, change those few header and footer lines AVRA added into comments. Finaly let AVRA assemble your application using your brand new source, check if result is ok by comparing my-application.hex with the orignal, may be with DIFFMERGE. I am using amforth-3.6. http://dl.dropbox.com/u/1170761/delister.fs Hope it works fine. NO WARANTIES. Save your application befor you use delister! Have fun. Michael |