Disregard my previous e-mail about mapping the keyboard to my embedded project. I basically just went another route so that I could use the custom terminal in the environment and tn5250 just sees the escape codes.

However, the next step in the project is to do some work on the display size. If someone could point me in the right direction and to the correct functions it would be greatly appreciated.

Here is what I am doing:

Since my project only has a 160x160 px display (20 char x 20 char with the current font), I need to only display that much of the display buffer. Here is what I am thinking: if I take the display buffer from tn5250 and copy the characters that I want to display into a new 20x20 buffer. Each time I have the cursor move or want the screen to move I can just update the 20x20 buffer. My only real question is where in the code is dbuffer actually pushed to the screen? I need to add a function just like it but pushing my 20x20 buffer to the display. I havent started the code yet, I am still kind of thinking it out. Thanks to all the people that have worked on this project and to all the people on the list.

~Brian M. Chappell

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.