Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Win3.1 code in Win8 base?

Win3.1 code in Win8 base?

Scheduled Pinned Locked Moved The Lounge
designhardwarejsonquestionlearning
41 Posts 26 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Eytukan

    I was just thinking would there be any piece of code that is dragged along all the way from Windows 3.1 till Windows8 ? Or the latest OS code is completely rewritten from scratch to exploit the new hardware resources? A simple MessageBox Api's code really needs to be changed at the base? Of course the UI has changed considerably. And there would be some edits to port the code from 16 to 64bit. Except these would there be any ruins of Win3.1 really left over in W8? Possible to spot something like this on the Windows 8 base code:

    /**********************
    Author: Bill Gates
    Function : GetDiskSectorData
    Module : FATreader
    Date Created: 1/5/1990
    Last modified: 2/4/1991
    *******************/

    :)

    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #11

    Win 3.1 was not a true OS, it was just a UI layer on top of the underlying DOS and it employed co-operative multitasking model which required that apps willingly yielded CPU and other resources back to the OS once they were done with them. This OS later became what we knew as Win 95, Win 98, Win ME, etc. Windows 8 takes its codebase from Windows NT which was the first OS in the Windows Family to employ true pre-emptive multi-tasking. This OS progressed later into Windows 2000, Win XP, Win 7 and eventually to Win 8. Since Win 8 seems to have a lot of bugs, I'm sure some old code must be lingering around.

    R R S I 4 Replies Last reply
    0
    • C Corporal Agarn

      Exactly :laugh:

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #12

      It made me laugh when I saw an article that said that the Fonts folder hadn't been updated since Win 3. Yeah. Because it wasn't broken.

      I wanna be a eunuchs developer! Pass me a bread knife!

      C 1 Reply Last reply
      0
      • L Lost User

        Vunic wrote:

        Or the latest OS code is completely rewritten from scratch to exploit the new hardware resources?

        If it were completely rewritten from scratch, the launch date would be a bit more into the future.

        Vunic wrote:

        Except these would there be any ruins of Win3.1 really left over in W8?

        Yes and no. W8 is based on NT3.5, not Win3.1; it could have features of the old NT, but not from Win3.1. Still, not much changed; there's the familiar message-pump, and a textbox is still a textbox.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        M Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #13

        Eddy Vluggen wrote:

        If it were completely rewritten from scratch, the launch date would be a bit more into the future.

        A renovated posterity?

        I wanna be a eunuchs developer! Pass me a bread knife!

        1 Reply Last reply
        0
        • M Mark_Wallace

          It made me laugh when I saw an article that said that the Fonts folder hadn't been updated since Win 3. Yeah. Because it wasn't broken.

          I wanna be a eunuchs developer! Pass me a bread knife!

          C Offline
          C Offline
          CBadger
          wrote on last edited by
          #14

          Mark_Wallace wrote:

          Fonts folder

          WoW. To think they do not need to update a folder? :-\

          Loading signature... . . . Please Wait . . .

          S 1 Reply Last reply
          0
          • L Lost User

            Win 3.1 was not a true OS, it was just a UI layer on top of the underlying DOS and it employed co-operative multitasking model which required that apps willingly yielded CPU and other resources back to the OS once they were done with them. This OS later became what we knew as Win 95, Win 98, Win ME, etc. Windows 8 takes its codebase from Windows NT which was the first OS in the Windows Family to employ true pre-emptive multi-tasking. This OS progressed later into Windows 2000, Win XP, Win 7 and eventually to Win 8. Since Win 8 seems to have a lot of bugs, I'm sure some old code must be lingering around.

            R Offline
            R Offline
            Rob Philpott
            wrote on last edited by
            #15

            Shameel wrote:

            Win 3.1 was not a true OS

            Contentious argument that. I can't make up my mind whether I agree or not. It depends how you define operating system.

            Regards, Rob Philpott.

            enhzflepE E E U G 5 Replies Last reply
            0
            • L Lost User

              Win 3.1 was not a true OS, it was just a UI layer on top of the underlying DOS and it employed co-operative multitasking model which required that apps willingly yielded CPU and other resources back to the OS once they were done with them. This OS later became what we knew as Win 95, Win 98, Win ME, etc. Windows 8 takes its codebase from Windows NT which was the first OS in the Windows Family to employ true pre-emptive multi-tasking. This OS progressed later into Windows 2000, Win XP, Win 7 and eventually to Win 8. Since Win 8 seems to have a lot of bugs, I'm sure some old code must be lingering around.

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #16

              You unconsciously forgot Vista.

              ~RaGE();

              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

              L 1 Reply Last reply
              0
              • C CBadger

                Mark_Wallace wrote:

                Fonts folder

                WoW. To think they do not need to update a folder? :-\

                Loading signature... . . . Please Wait . . .

                S Offline
                S Offline
                S Houghtelin
                wrote on last edited by
                #17

                They should, if only to add the Slashed Zero Arial for Monospaced Programming Fonts[^]

                It was broke, so I fixed it.

                OriginalGriffO 1 Reply Last reply
                0
                • S S Houghtelin

                  They should, if only to add the Slashed Zero Arial for Monospaced Programming Fonts[^]

                  It was broke, so I fixed it.

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #18

                  They can't - Bobs Game Font is already there...

                  This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  S C 2 Replies Last reply
                  0
                  • R Rob Philpott

                    Shameel wrote:

                    Win 3.1 was not a true OS

                    Contentious argument that. I can't make up my mind whether I agree or not. It depends how you define operating system.

                    Regards, Rob Philpott.

                    enhzflepE Offline
                    enhzflepE Offline
                    enhzflep
                    wrote on last edited by
                    #19

                    Well, I'd argue that it was clearly nothing more than an operating environment - a mere GUI if you will. Otherwise, wouldn't you be asserting that Win3.1 boxes had 2 operating systems running? DOS and Windows? The machine would start without Win3.1, but not so if DOS was missing.

                    "Science adjusts its views based on what's observed. Faith is the denial of observation, so that belief can be preserved." - Tim Minchin

                    E J 3 Replies Last reply
                    0
                    • R Rage

                      You unconsciously forgot Vista.

                      ~RaGE();

                      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #20

                      Rage wrote:

                      You unconsciously forgot Vista.

                      FTFY. I thought the discussion was about OS. :-)

                      E 1 Reply Last reply
                      0
                      • R Rob Philpott

                        Shameel wrote:

                        Win 3.1 was not a true OS

                        Contentious argument that. I can't make up my mind whether I agree or not. It depends how you define operating system.

                        Regards, Rob Philpott.

                        E Offline
                        E Offline
                        Eytukan
                        wrote on last edited by
                        #21

                        I would disagree simply because, even DOS was called Disk Operation System. Anything that's capable of doing multiple things unlike a dedicated system like a calculator or a billing machine can be related to an OS. It's boot strapped, it manages memory , loads applications, communicates with devices (like printers) , networks with other PCs. Enough to qualify Win3.1 as a true OS!

                        Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                        1 Reply Last reply
                        0
                        • enhzflepE enhzflep

                          Well, I'd argue that it was clearly nothing more than an operating environment - a mere GUI if you will. Otherwise, wouldn't you be asserting that Win3.1 boxes had 2 operating systems running? DOS and Windows? The machine would start without Win3.1, but not so if DOS was missing.

                          "Science adjusts its views based on what's observed. Faith is the denial of observation, so that belief can be preserved." - Tim Minchin

                          E Offline
                          E Offline
                          Eytukan
                          wrote on last edited by
                          #22

                          Win3.1 can't be loaded without DOS? In other words, was DOS operating behind the scenes of Win3.1? Or simply DOS acts like a soft boot strap for Win3.1? if so, Win3.1 can still be called an OS.

                          Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                          enhzflepE 1 Reply Last reply
                          0
                          • L Lost User

                            Rage wrote:

                            You unconsciously forgot Vista.

                            FTFY. I thought the discussion was about OS. :-)

                            E Offline
                            E Offline
                            Eytukan
                            wrote on last edited by
                            #23

                            lol Don't forget ME! :rolleyes:

                            Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                            1 Reply Last reply
                            0
                            • E Eytukan

                              Win3.1 can't be loaded without DOS? In other words, was DOS operating behind the scenes of Win3.1? Or simply DOS acts like a soft boot strap for Win3.1? if so, Win3.1 can still be called an OS.

                              Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                              enhzflepE Offline
                              enhzflepE Offline
                              enhzflep
                              wrote on last edited by
                              #24

                              Vunic wrote:

                              Win3.1 can't be loaded without DOS?

                              Yes, exactly.

                              Vunic wrote:

                              In other words, was DOS operating behind the scenes of Win3.1?

                              Well, you either started it by typing win at the command prompt, or by adding it to your autoexec.bat - in either case, it was started by the command interpreter. Not sure about how it was on the inside though. You could still exit it back to DOS. You would have to ask somebody that knows, were all of the interrupt vectors replaced, or did windows simply leverage the interrupts supplied by the bios and the (DOS) system files started by the boot sector - command.com, io.sys & msdos.sys If the vectors were replaced, I'd agree that dos was used as a soft boot-strap into windows. Otherwise, I'd call it nothing much more than Digital Reasearch's ViewMax software. (It came with DR-DOS)

                              "Science adjusts its views based on what's observed. Faith is the denial of observation, so that belief can be preserved." - Tim Minchin

                              1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                They can't - Bobs Game Font is already there...

                                This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.

                                S Offline
                                S Offline
                                S Houghtelin
                                wrote on last edited by
                                #25

                                Oh, well never mind then. :laugh:

                                It was broke, so I fixed it.

                                1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  They can't - Bobs Game Font is already there...

                                  This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre. Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.

                                  C Offline
                                  C Offline
                                  CBadger
                                  wrote on last edited by
                                  #26

                                  They should remove Arial and then they can Add Slashed

                                  Loading signature... . . . Please Wait . . .

                                  1 Reply Last reply
                                  0
                                  • E Eytukan

                                    I was just thinking would there be any piece of code that is dragged along all the way from Windows 3.1 till Windows8 ? Or the latest OS code is completely rewritten from scratch to exploit the new hardware resources? A simple MessageBox Api's code really needs to be changed at the base? Of course the UI has changed considerably. And there would be some edits to port the code from 16 to 64bit. Except these would there be any ruins of Win3.1 really left over in W8? Possible to spot something like this on the Windows 8 base code:

                                    /**********************
                                    Author: Bill Gates
                                    Function : GetDiskSectorData
                                    Module : FATreader
                                    Date Created: 1/5/1990
                                    Last modified: 2/4/1991
                                    *******************/

                                    :)

                                    Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                    F Offline
                                    F Offline
                                    Forogar
                                    wrote on last edited by
                                    #27

                                    I remember looking into the Win NT code and finding OS/2 comments and references - a friend of mine claimed she found them still in XP.

                                    - I would love to change the world, but they won’t give me the source code.

                                    1 Reply Last reply
                                    0
                                    • enhzflepE enhzflep

                                      Well, I'd argue that it was clearly nothing more than an operating environment - a mere GUI if you will. Otherwise, wouldn't you be asserting that Win3.1 boxes had 2 operating systems running? DOS and Windows? The machine would start without Win3.1, but not so if DOS was missing.

                                      "Science adjusts its views based on what's observed. Faith is the denial of observation, so that belief can be preserved." - Tim Minchin

                                      J Offline
                                      J Offline
                                      jschell
                                      wrote on last edited by
                                      #28

                                      enhzflep wrote:

                                      Well, I'd argue that it was clearly nothing more than an operating environment - a mere GUI if you will.

                                      And it was probably about then that that distinction was becoming less clear. After all it is possible to start a windows box new with the vast majority of services disabled (as I had occasion to do not long ago while tracking down a rootkit) but that doesn't mean it will be in state that provides value to the user.

                                      1 Reply Last reply
                                      0
                                      • E Eytukan

                                        I was just thinking would there be any piece of code that is dragged along all the way from Windows 3.1 till Windows8 ? Or the latest OS code is completely rewritten from scratch to exploit the new hardware resources? A simple MessageBox Api's code really needs to be changed at the base? Of course the UI has changed considerably. And there would be some edits to port the code from 16 to 64bit. Except these would there be any ruins of Win3.1 really left over in W8? Possible to spot something like this on the Windows 8 base code:

                                        /**********************
                                        Author: Bill Gates
                                        Function : GetDiskSectorData
                                        Module : FATreader
                                        Date Created: 1/5/1990
                                        Last modified: 2/4/1991
                                        *******************/

                                        :)

                                        Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                                        H Offline
                                        H Offline
                                        Hamid Taebi
                                        wrote on last edited by
                                        #29

                                        Windows is just old windows without any new thing,Are you sure they dont use of MS-DOS code? ,the only new thing is user interface I think they just make up each new version of OS.

                                        Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Win 3.1 was not a true OS, it was just a UI layer on top of the underlying DOS and it employed co-operative multitasking model which required that apps willingly yielded CPU and other resources back to the OS once they were done with them. This OS later became what we knew as Win 95, Win 98, Win ME, etc. Windows 8 takes its codebase from Windows NT which was the first OS in the Windows Family to employ true pre-emptive multi-tasking. This OS progressed later into Windows 2000, Win XP, Win 7 and eventually to Win 8. Since Win 8 seems to have a lot of bugs, I'm sure some old code must be lingering around.

                                          S Offline
                                          S Offline
                                          Simon ORiordan from UK
                                          wrote on last edited by
                                          #30

                                          You forgot Vista.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups