bradhaak
Member

Registered: Oct 2000
Location:
Posts: 380 |
I see your point, but I think that you still need to replace the whole OS. Ignoring for the moment your analysis of the size requirements which I don't totally agree with, you still have a major problem.
Most programs will check for feature availability by OS version. In other words, if the OS is version 3.1, you are not going to look for graphics capabilities. If the patch provides a newer version number, say v3.5, so that apps will expect the graphics support to be there, apps will also expect every other feature of 3.5 to be there. including application capabilities, launch codes, new APIs, and changed APIs. Here is a partial list of graphics and windowing capabilities that were added to the 3.5 OS.
WinCreateBitmapWindow, WinDrawPixel, WinErasePixel, WinGetBitmap, WinGetPatternType, WinGetPixel, WinIndexToRGB, WinInvertPixel, WinPaintBitmap, WinPaintChar, WinPaintChars, WinPaintLine, WinPaintLines, WinPaintPixel, WinPaintPixels, WinPaintRectangle, WinPaintRectangleFrame, WinPalette, WinPopDrawState, WinPushDrawState, WinRGBToIndex, WinScreenLock, WinScreenMode, WinScreenUnlock, WinSetBackColor, WinSetDrawMode, WinSetForeColor, WinSetPatternType, WinSetTextColor, BmpBitsSize, BmpColortableSize, BmpCompress, BmpCreate, BmpDelete, BmpGetBits, BmpGetColortable, BmpSize, ColorTableEntries
This is just a partial list that just concerns graphics and doesn't include 3.2 or 3.3 additions.
All told, there are approximately 200 functions that have been added since 3.1 and at least 20 that have been removed. Additionally a number of existing functions have been renamed or extended.
Just hacking in some of the graphics functions might work for a small percentage of apps, but trying to make it look like a newer OS without full functionality would probably break more apps than it would fix.
I still don't believe that you make this work without replacing the entire OS. That is why I made the alternate proposal to develop a true OS independent graphics library.
MPM - Hope this clarifies why I feel the way that I do (even if I still haven't convinced you).
|