0 Members and 3 Guests are viewing this topic.
Its not that I'm too busy (although that might be part of it). Its mainly because the app compiling is VERY dangerous. The only reason I understand how the code works now is mainly from BrandonW's help. There are a lot of very tricky bcalls and formalities that TI uses when jumping around the flash pages. Its already hard enough to allocate a single page for apps, but allocating 2 pages is really tricky because it sometimes involves swapping sectors if I remember correctly. The point is, I could do it, but I would need a lot of help to make sure there are no rom corrupting bugs (which are really nasty). Even if I did get it to work, it would still be data-only for the second page unless I create some kind of new syntax for off-page calls.I do plan to make more of the code open source after the next few releases including the application compiling, error scrolling, and other potentially useful sections. Tomorrow I will have a new update, I rewrote all of the archive reading code which took me about 4 days. I'm not sure if there will be any new commands, but I fixed a lot of bugs, safety, optimizations, and looser syntax.
...?
Has anyone asked for automatic backup of program dependencies?If I import prgmB into prgmA, then compiling prgmA would backup both prgmA and prgmB.
Backing up subprograms would be a little awkward to compile. It would first backup the main program then start compiling and whenever it sees a subprogram, pause compiling to back it up and then resume. The best solution is to just keep your subprograms in archive and only have the programs you're actually editing in the ram. But I will see if it is possible to have this as an option. I can't scan the program looking for subprograms ahead of time because it would have to ignore comments, quotes, characters, absorbed data, etc. which are taken care of during the actual compile.
It may not be convenient since sometimes you may not want to backup every single sub-programs when debugging. For now you have to backup the files manually, one by one.
Quote from: DJ Omnimaga on December 02, 2010, 12:23:24 amIt may not be convenient since sometimes you may not want to backup every single sub-programs when debugging. For now you have to backup the files manually, one by one.maybe make it an option to back up subprograms
Quote from: nemo on December 02, 2010, 04:23:00 pmQuote from: DJ Omnimaga on December 02, 2010, 12:23:24 amIt may not be convenient since sometimes you may not want to backup every single sub-programs when debugging. For now you have to backup the files manually, one by one.maybe make it an option to back up subprogramsI think this is a really good idea.