Basicbuilder plugins
Moderator: MaxCoderz Staff
Basicbuilder plugins
I am the author of basicbuilder and would like to ask a question to the (advanced) basic programmers here. I don't know if you've used basicbuilder but it's a windows program to package your application inside an app. When the app is started, your basic programs will be unpacked from the app, executed and deleted afterwards. It's the closest thing to actually executing from archive.
I've gotten some feature requests for advanced features and am considering to add a plugin system to basicbuilder in order to support them. For example I (or anyone else) might add a plugin that only extracts the main program and keeps the subprograms stored in flash. Whenever a subprogram is called, it is unpacked, executed and deleted. This means that only the programs that are actually running are in memory. For example program B and C might be 16kb (they don't fit together in memory) and program A is the main program (:prgmB:prgmC) What happens is that B is unpacked and run but it is deleted before C is unpacked and run. This means that there will be enough memory to execute C even if B and C don't fit together.
Another possibility would be to add features of XLib to basicbuilder. This would allow you to distribute your entire program as a single app that should work on any calculator. Or you could add a grayscale plugin.
Now my question is if there are enough people that would use the plugins? Also, please tell me any reason why you think this plugin system is useful to you. I will try to submit this as a google summer of code project and any reasons I can give in my application are handy.
Thanks,
Martin
I've gotten some feature requests for advanced features and am considering to add a plugin system to basicbuilder in order to support them. For example I (or anyone else) might add a plugin that only extracts the main program and keeps the subprograms stored in flash. Whenever a subprogram is called, it is unpacked, executed and deleted. This means that only the programs that are actually running are in memory. For example program B and C might be 16kb (they don't fit together in memory) and program A is the main program (:prgmB:prgmC) What happens is that B is unpacked and run but it is deleted before C is unpacked and run. This means that there will be enough memory to execute C even if B and C don't fit together.
Another possibility would be to add features of XLib to basicbuilder. This would allow you to distribute your entire program as a single app that should work on any calculator. Or you could add a grayscale plugin.
Now my question is if there are enough people that would use the plugins? Also, please tell me any reason why you think this plugin system is useful to you. I will try to submit this as a google summer of code project and any reasons I can give in my application are handy.
Thanks,
Martin
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
- elfprince13
- Sir Posts-A-Lot
- Posts: 234
- Joined: Sun 11 Dec, 2005 2:21 am
- Contact:
-
- Sir Posts-A-Lot
- Posts: 245
- Joined: Mon 14 Nov, 2005 9:47 pm
- Location: Getting overwhelmed by everything
- Contact:
Why do you need to ungroup groups? Basicbuilder already stores it's own equivalent for groups inside the app. This has the advantage that you can redistribute the app as a single item. While a normal basic program either has to be distributed as a group that has to be unpacked or it is distributed as a whole set of programs you need.
-
- Sir Posts-A-Lot
- Posts: 245
- Joined: Mon 14 Nov, 2005 9:47 pm
- Location: Getting overwhelmed by everything
- Contact:
At the moment you have a group of basic programs inside the app for each menu item. When a menu item is selected, the group is extracted and the main program is executed, after execution all programs are deleted. The pics are stored inside the app and can only be retrieved using RecallPic, which extracts them directly from the app to display them. The pics have global names which are the same for alle programs/menu items inside the app.