Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.6 KiB

  1. Note from Babakj for BabakJ:
  2. - Take a close look at Alloc calls (also PAlloc) for segmented code
  3. - Do the same for MAKELONG and MAKEWORD, etc.
  4. - The file port.txt in \\brillig\ntct\babakj\solit has the list of
  5. changes proposed by Preport utility. SetBitmapBits() and CreateBitmaps()
  6. seem to be the only dev-dependent APIs used. They are only used if building
  7. for Win 2.x (if WINVER_2 defined).
  8. - LoadBitmap() is crucial for Solitair. Make sure it's included in Win32 APIs.
  9. Babak
  10. -------------------------------------------------------------------
  11. **** Time Estimates for converting Windows Applications from
  12. **** 16 bit (with asm code) to 32 bit portable code.
  13. Application Files LOC Difficulty *ConTime
  14. C ASM (L,M,H)
  15. Write 84 4 42063 H 24.0 MW
  16. Paintbrush 90 3 15923 H 9.0 MW
  17. Scicalc 12 0 2005 L 1.0 MW
  18. Calender 23 2 6181 L 3.5 MW
  19. Cardfile 16 2 4665 L 2.0 MW
  20. Clipbrd 3 2 2379 L 1.5 MW
  21. Clock 1 4 818 L 0.5 MW
  22. Notepad 7 1 2069 L 1.0 MW
  23. Recorder 10 2 4868 M 3.0 MW
  24. Reversi 1 2 1694 M 1.0 MW
  25. Solitair 12 2 5048 M 3.0 MW
  26. Terminal 34 4 13084 M 7.5 MW
  27. Pifedit "sources temporarily not available" 1.0 MW ?
  28. common 13 2 2064 M 1.0 MW
  29. sources used by some of the above applications
  30. TOTAL 57.5 MW
  31. 13.0+MM
  32. @ 3M 4.0+MM
  33. Major Conversion Items ...
  34. - Setting up makefile for building multiple platforms
  35. - Rewriting ASM files into C
  36. - Rewriting machine dependant code -> portable C. This will
  37. includes code that uses shifts for arithmetic and
  38. ++psz, --psz for location of characters in a string.
  39. - Removing Segment usage, I antisipate this including some
  40. api changes removing selector or segment references.
  41. - Add usage for System Macros (INT, BOOL, CHAR, ... as apposed
  42. to int, bool, char, ... ).
  43. - Warning Removal for compiles
  44. *ConTime
  45. Conversion times are calculated in the following way ...
  46. ConTime/ManWeeks = ((LOC/1000)/1.78KLOC)
  47. Conversion speed metric (1.78KLOC/MW) was
  48. gotten from [jonma:patt] and is from pmct group
  49. statistics kept for converting relatively clean
  50. Presentation Manager code from 16 -> 32 bit.
  51. LOC: Line count achieved using the CONE utility by kengr. The
  52. -l option was used.