So it's true: Windows 95: A 32-bit extension to a 16-bit shell on top of an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company.
All kidding aside, I did enjoy the DOS days. Linux attracted me because Windows was just too monolithic and boring. I started out doing some lower level programming back in the 8-bit days but moved on to operating systems and modem based telecommunications/networking as my primary interest later on. I understood easily enough working with 0000 through FFFF addresses but didn't really try too hard to learn the 80286 architecture as I had been doing with 6502 from a book. Debug wasn't much help and I didn't really understand how to work with the 16-bit segmented addresses like 0C00:0005. By then I'd discovered BBSing and lost interest in programming except for the occasional debugging of the C++ source code mods available to my BBS. ________________________________ From: Dos-Man 64 <[email protected]> To: Linux Users Group <[email protected]> Sent: Thursday, September 10, 2009 10:01:10 AM Subject: [lug:15116] Re: Do text widgets have a maximum length? On Sep 10, 11:42 am, Ryan Graham <[email protected]> wrote: > On Thu, Sep 10, 2009 at 9:26 AM, Dos-Man 64 <[email protected]> wrote: > > > I have a C++ string class that I am finishing up work on. I intend to > > use this in my applications (whatever they may be.) I am just trying > > to determine a bit more about the underlying architecture and how it > > deals with memory segments. > > My gut instinct says you are over thinking this. I've never had to > deal with anything like this in C/C++, on Linux, in the last 8 years. > It's possible I just don't understand what you are trying to find out. > Well, I am coming from a different platform. Actually 2 different platforms. MS-DOS used segmented memory. It is common to allocate memory in 64k chunks or segments. Windows did away with the need to do this, but you use FAR pointers (long pointers or LPSTRs). It is for this reason that multiline edit controls were limited to 64K on earlier windows versions. For example, the notepad that comes with windows 98 cannot open text files that are larger than 64k. It instead refers you to wordpad which uses a richedit control. > IBM developerWorks has great articles on these types of subjects - > maybe this one will help you > > http://www.ibm.com/developerworks/linux/library/l-memory/ > > ~Ryan > --http://rmgraham.blogspot.comhttp://twitter.com/rmgraham Thanks, I will check it out. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
