|
|
|||||||
|
I have reviewed all of the posts for the serial handler for the low level I/O functions related to getkey(), putchar(), etc, and nobody has yet to hit the nail on the head. On page 293 of the 8051 users manual it refers to the module getch.c in the sources directory containing model version of all console I/O routines. I cannot find that directory in my "full" installation of Hi-Tide and version 9.01 of te 8051-c compiler. What I am looking for, if it is posible, is the existing source code used to implement console I/O functions so that I may see how it works and modify it to work with the serial port, maybe even interrupt driven. I envision that I will probably have to use the librarian to replace the existing objects in the library with the ones that I create. Any help and/or advice would be appreciated. |
||||||||
|
|
|||||||
|
Code: Directory of c:\htsoft\8051-c_9.01\sources Containing definitions: Code: #define NEAR basenear |
||||||||
|
|
|||||||
|
The file I downloaded titled 8051-demo.exe with a date of 10/12/07 size 20.6 MB was run and the "full" type of install was chosen requiring 17.4MB of disk space. That resulted in the following directory structure being created: C:/HTSOFT 8051-C_9.01 bin include jar lib manual samples hitech HI-TIDE_2.13 bin dll images jar plugin What have I done wrong in order to not get the sources directory created? Is there another download that I have missed? I have tried to apply the patch 20867-hi-tide_2.13_update_2006_11_03.zip but when I do I break Hi-Tide (another posting) and the fix is for me to revert to JRE 1.5 or 1.4. Not real clear on how to do that but I don't see sources directory created when I install it. |
||||||||
|
|
|||||||
|
I have not installed the demo version, but it wouldn't surprise me if HI-TECH does not give away their library source code for the demo. Library source is included with the full version. |