??? 05/23/04 10:57 Read: times |
#70985 - Conclusion and why Linux Responding to: ???'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 | 01/01/70 00:00 | |
RE: 8051 and Lynix | 01/01/70 00:00 | |
Why? | 01/01/70 00:00 | |
RE: What? | 01/01/70 00:00 | |
RE: What? | 01/01/70 00:00 | |
8051 and linux | 01/01/70 00:00 | |
Typo? | 01/01/70 00:00 | |
RE: Typo? | 01/01/70 00:00 | |
RE: Lynix | 01/01/70 00:00 | |
RE: 8051 and Lynix | 01/01/70 00:00 | |
RE: MMU | 01/01/70 00:00 | |
RE: MMU | 01/01/70 00:00 | |
RE: ...and then what? | 01/01/70 00:00 | |
RE: ...and then what? | 01/01/70 00:00 | |
the mind of a typical Linux geek | 01/01/70 00:00 | |
RE: 8051 and Lynix | 01/01/70 00:00 | |
Lynix? Linux? | 01/01/70 00:00 | |
RE: Lynix? Linux?![]() | 01/01/70 00:00 | |
It was Linux | 01/01/70 00:00 | |
WHY?! | 01/01/70 00:00 | |
RE: WHY?! | 01/01/70 00:00 | |
RE: WHY?! | 01/01/70 00:00 | |
RE: WHY?! | 01/01/70 00:00 | |
Conclusion and why Linux | 01/01/70 00:00 | |
RE: Conclusion and why Linux | 01/01/70 00:00 | |
RE: Dan Henry | 01/01/70 00:00 |