| Shahzad 05/23/04 05:57 Read: 461 times Lahore Pakistan |
#70985 - Conclusion and why Linux Responding to: Shahzad's previous message |
OKey guys i will never ever look for a OS for 8052 specially not the Linux because it requires so much resources specially memory.
Well i was just interested to do Java Like threading in my software for 8052 because using threads in Java was very much convenient way to organize the software. i currently using exactly what Andy Neil says to do multitasking that is void main( void ) { do_initialisation_stuff(); for( ;; ) { task1(); task2(); task3(); task4(); task5(); } } but the problem in this is that you have to manage state and quit from the tasks so when the task is call again in the loop it should start execution exactly from where it left. I learn from my current project which is also my first major project that this is a bit difficult to do and it makes things complicated specially when you have large number of tasks to be executed (12-13) simultaneously. My processes include scanning the keypad and looking for a command pattern for a specific sequence of pressing of buttons on keypad, looking activity from sensors and do work when any of them get activated, manage your cyrun process so that syrun is ON for a specific time, Manage time for exit or entry from exit doors, scanning specific button if they get activated do some work, Managing the LCD displays and to make thing worst there is a piece of code which simulate a clock and which is supposed to give a accurate time of the day with date. so that's why i got interested in Linux and though that it may be a good investment in a long run to learn a OS whcih can execute Java like threads on 8052. So guys i am posting another thread on this forum. Shahzad |
| Topic | Author | Date |
| 8051 and Lynix | Shahzad Aslam | 05/21/04 07:14 |
| RE: 8051 and Lynix | Jez Smith | 05/21/04 07:28 |
| Why? | Andy Neil | 05/21/04 08:23 |
| RE: What? | Erik Malund | 05/21/04 08:26 |
| RE: What? | Donald Catto | 05/21/04 08:49 |
| 8051 and linux | Narasimha Rao | 05/21/04 09:56 |
| Typo? | Andy Neil | 05/21/04 11:53 |
| RE: Typo? | Donald Catto | 05/21/04 12:24 |
| RE: Lynix | Andy Neil | 05/21/04 12:25 |
| RE: 8051 and Lynix | Steve M. Taylor | 05/21/04 10:33 |
| RE: MMU | Andy Neil | 05/21/04 11:59 |
| RE: MMU | Donald Catto | 05/21/04 12:27 |
| RE: ...and then what? | Andy Neil | 05/21/04 13:19 |
| RE: ...and then what? | Bartosz Wucke | 05/21/04 21:55 |
| the mind of a typical Linux geek | Andy Neil | 05/21/04 22:08 |
| RE: 8051 and Lynix | Bartosz Wucke | 05/21/04 21:49 |
| Lynix? Linux? | Andy Neil | 05/21/04 22:10 |
RE: Lynix? Linux? | Bartosz Wucke | 05/24/04 15:01 |
| It was Linux | Shahzad Aslam | 05/22/04 03:19 |
| WHY?! | Andy Neil | 05/22/04 07:15 |
| RE: WHY?! | Erik Malund | 05/22/04 12:23 |
| RE: WHY?! | Andy Neil | 05/22/04 17:46 |
| RE: WHY?! | Andy Neil | 05/22/04 18:06 |
| Conclusion and why Linux | Shahzad Aslam | 05/23/04 05:57 |
| RE: Conclusion and why Linux | Dan Henry | 05/23/04 12:44 |
| RE: Dan Henry | Shahzad Aslam | 05/24/04 03:47 |



