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.
  • 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
                          • 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.

                            I Offline
                            I Offline
                            irneb
                            wrote on last edited by
                            #31

                            Shameel wrote:

                            it was just a UI layer on top of the underlying DOS

                            IMO I see it in a similar light as the desktops on Linux. E.g. Gnome/KDE/Unity/etc. They add lots of GUI stuff, but leave most of the "true" OS things to the Linux kernel itself (i.e. multi-tasking / memory management / IO / etc.). But they do some things for themselves which the kernel didn't implement - e.g. GPU acceleration (well perhaps that's the X11 graphics core). Methinks DOS did a whole lot less than the Linux core does, e.g. it didn't do any multi-tasking at all, no network, no drivers, etc. It was in effect not much more than GRUB is today. So perhaps you could state that W3 wasn't only a desktop as it did have to sort out stuff like virtual RAM, task swapping, etc. I think the 1st W3 version where DOS was "removed" (ahumm "hidden") was the infamous ME. As for the NT branch, they built that on top of OS2: http://windowsitpro.com/windows-client/windows-nt-and-vms-rest-story[^] Perhaps there's some OS2 code left in W8? But there certainly could even be some W3/DOS stuff, you do still get the CMD console (which is quite a lot like DOS). It would just be surprising to find any W3/DOS stuff in the kernel!

                            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
                              englebart
                              wrote on last edited by
                              #32

                              I would expect an OS to provide at the minimum a file system, security, etc. Windows 1.0-3.1 all depended on DOS to handle the FAT file system and had NO security. The Win 2.1/Win386 system had preemptive multitasking, but only between DOS VMs, the GUI was still cooperative. This was back when a 286 12 MHz was considered a solid machine. Due to a bug in program, I once wrote a utility under 3.1 to directly extract information from a different process's memory!

                              J 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.

                                B Offline
                                B Offline
                                BC_programming
                                wrote on last edited by
                                #33

                                It's unlikely. Windows 3.1 was the codebase used and eventually upgraded to Windows ME. Windows 8 is based off of NT, which was completely separate product from the 9x line. It's possible there is some code-reuse at the Windows Application level (tools like notepad for example) but I would be surprised if there was anything from 9x like what you've mentioned; the Kernel's were entirely different; Even between 9x and Windows 3.1 Applications needed to take special care to work on both. Also, Windows No longer has a "MessageBox" Function. Windows NT uses Wide and ASCII versions for those functions, so we have MessageBoxA and MessageBoxW; consequently they both are almost certainly changed internally as a result.

                                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.

                                  U Offline
                                  U Offline
                                  User 10185144
                                  wrote on last edited by
                                  #34

                                  It's simple - there is only one way describing an operating system. It's all about controlling resources - that's the OS - all the other stuff is just programs that is able to run on that OS.

                                  Emil Hempel, TachoData

                                  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.

                                    S Offline
                                    S Offline
                                    svella
                                    wrote on last edited by
                                    #35

                                    Vunic wrote:

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

                                    I don't think Bill Gates was still writing code in 1990 - at least not code that made it into a product.

                                    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.

                                      R Offline
                                      R Offline
                                      RafagaX
                                      wrote on last edited by
                                      #36

                                      The Windows 3.1 and Windows 8 are not from the same family, Windows 3.1 evolved up to Windows ME and Windows 8 descends from Windows NT, which curiously also had a 3.1 version, so if you refer to this NT 3.1 version then most likely the answer is yes, otherwise it would be no. Terms aside, some system programs from Windows 3.1 still should work on Windows 8, but I haven't tested farther than Windows XP, where sometimes I liked to run the Program Manager just for fun.

                                      CEO at: - Rafaga Systems - Para Facturas - Modern Components for the moment...

                                      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.

                                        M Offline
                                        M Offline
                                        Member 4608898
                                        wrote on last edited by
                                        #37

                                        I think the simple calculator comes from Windows 1.0. The scientific one possibly comes from Windows 2.11 but it now has a sqrt button. Up to XP, the scientific calc didn't have a sqrt button. Don't have a Vista machine to check.

                                        1 Reply Last reply
                                        0
                                        • E englebart

                                          I would expect an OS to provide at the minimum a file system, security, etc. Windows 1.0-3.1 all depended on DOS to handle the FAT file system and had NO security. The Win 2.1/Win386 system had preemptive multitasking, but only between DOS VMs, the GUI was still cooperative. This was back when a 286 12 MHz was considered a solid machine. Due to a bug in program, I once wrote a utility under 3.1 to directly extract information from a different process's memory!

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

                                          englebart wrote:

                                          I would expect an OS to provide at the minimum a file system, security, etc.

                                          That however has nothing to do with OS in general and didn't have much to do with OSes in general during the period of 3.1.

                                          englebart wrote:

                                          The Win 2.1/Win386 system had preemptive multitasking,

                                          Again something that doesn't define an OS.

                                          englebart wrote:

                                          Due to a bug in program, I once wrote a utility under 3.1 to directly extract information from a different process's memory!

                                          And now there are APIs to do that.

                                          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