Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
38 Indlæg 19 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • foone@digipres.clubF foone@digipres.club

    so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

    I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

    Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

    max@peering.socialM This user is from outside of this forum
    max@peering.socialM This user is from outside of this forum
    max@peering.social
    wrote sidst redigeret af
    #23

    RE: https://digipres.club/@foone/116195447625031209

    @foone Does ARM somehow also fit in?

    foone@digipres.clubF jernej__s@infosec.exchangeJ snowfox@tech.lgbtS 3 Replies Last reply
    0
    • foone@digipres.clubF foone@digipres.club

      so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

      I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

      Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

      kathee_hds@tech.lgbtK This user is from outside of this forum
      kathee_hds@tech.lgbtK This user is from outside of this forum
      kathee_hds@tech.lgbt
      wrote sidst redigeret af
      #24

      @foone but fat as it is tall and with tits to match or are we being cowards?

      foone@digipres.clubF 1 Reply Last reply
      0
      • kathee_hds@tech.lgbtK kathee_hds@tech.lgbt

        @foone but fat as it is tall and with tits to match or are we being cowards?

        foone@digipres.clubF This user is from outside of this forum
        foone@digipres.clubF This user is from outside of this forum
        foone@digipres.club
        wrote sidst redigeret af
        #25

        @Kathee_HDS ROUGE.EXE!

        kathee_hds@tech.lgbtK 1 Reply Last reply
        0
        • foone@digipres.clubF foone@digipres.club

          fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

          You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

          dosnostalgic@mastodon.socialD This user is from outside of this forum
          dosnostalgic@mastodon.socialD This user is from outside of this forum
          dosnostalgic@mastodon.social
          wrote sidst redigeret af
          #26

          @foone An example of this is Bleep!, an NSF player for DOS/Win32
          https://www.zophar.net/utilities/audio-multi/bleep-.html

          1 Reply Last reply
          0
          • luna@catgirl.centerL luna@catgirl.center

            @foone@digipres.club it's even still a thing in arm64 exes (iirc with an x86 dos stub) and bootmgfw.efi, even though no reasonable person will ever try to run those on dos

            luna@catgirl.centerL This user is from outside of this forum
            luna@catgirl.centerL This user is from outside of this forum
            luna@catgirl.center
            wrote sidst redigeret af
            #27

            @foone@digipres.club the .efi file for systemd-boot on my system doesn't include a dos stub though, so that's why i specifically said bootmgfw.efi

            1 Reply Last reply
            0
            • foone@digipres.clubF foone@digipres.club

              so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

              I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

              Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

              foone@digipres.clubF This user is from outside of this forum
              foone@digipres.clubF This user is from outside of this forum
              foone@digipres.club
              wrote sidst redigeret af
              #28

              https://mastodon.social/@dosnostalgic/116195465538703931

              jernej__s@infosec.exchangeJ 1 Reply Last reply
              0
              • max@peering.socialM max@peering.social

                RE: https://digipres.club/@foone/116195447625031209

                @foone Does ARM somehow also fit in?

                foone@digipres.clubF This user is from outside of this forum
                foone@digipres.clubF This user is from outside of this forum
                foone@digipres.club
                wrote sidst redigeret af
                #29

                @max presumably but I know nothing about windows-on-ARM, I don't believe in it.

                1 Reply Last reply
                0
                • foone@digipres.clubF foone@digipres.club

                  fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                  You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                  dryak@mstdn.scienceD This user is from outside of this forum
                  dryak@mstdn.scienceD This user is from outside of this forum
                  dryak@mstdn.science
                  wrote sidst redigeret af
                  #30

                  @foone that was the whole shtick of the HX DOS Extender.

                  The DOS stub could start it, and in turn that extender supports enough Win32 API to allow some limited software to run.

                  And I think I vaguely remember some other software doing crazy stuff with their DOS stubs.

                  1 Reply Last reply
                  0
                  • foone@digipres.clubF foone@digipres.club

                    fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                    You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                    kawa@mas.toK This user is from outside of this forum
                    kawa@mas.toK This user is from outside of this forum
                    kawa@mas.to
                    wrote sidst redigeret af
                    #31

                    @foone I remember Visual Basic 3.0 "correcting" by trying to run Windows, and telling Windows to run VB in turn on startup.

                    1 Reply Last reply
                    0
                    • foone@digipres.clubF foone@digipres.club

                      I wonder if it still does that for 64bit EXEs?

                      jernej__s@infosec.exchangeJ This user is from outside of this forum
                      jernej__s@infosec.exchangeJ This user is from outside of this forum
                      jernej__s@infosec.exchange
                      wrote sidst redigeret af
                      #32

                      @foone Not just 64-bit EXEs, EFI binaries also usually (but not always) contain the DOS stub.

                      1 Reply Last reply
                      0
                      • foone@digipres.clubF foone@digipres.club

                        I know programmers who use fat binaries and they're all cowards

                        mxk@hachyderm.ioM This user is from outside of this forum
                        mxk@hachyderm.ioM This user is from outside of this forum
                        mxk@hachyderm.io
                        wrote sidst redigeret af
                        #33

                        @foone my favorite type of fat binaries probably are cosmopolitan libc/ape binaries.
                        I find it fascinating and entertaining but note that I don't think it's an actual good idea.
                        https://justine.lol/cosmopolitan/index.html

                        1 Reply Last reply
                        0
                        • foone@digipres.clubF foone@digipres.club

                          https://mastodon.social/@dosnostalgic/116195465538703931

                          jernej__s@infosec.exchangeJ This user is from outside of this forum
                          jernej__s@infosec.exchangeJ This user is from outside of this forum
                          jernej__s@infosec.exchange
                          wrote sidst redigeret af
                          #34

                          @foone I remember some utilities from back in the day that did this; I even wrote one (QB 4.5 for DOS .exe, VB 5.0 for Win32; IIRC, I had to run the VB linker manually, which let me specify the .exe to use as DOS stub).

                          1 Reply Last reply
                          0
                          • foone@digipres.clubF foone@digipres.club

                            @Kathee_HDS ROUGE.EXE!

                            kathee_hds@tech.lgbtK This user is from outside of this forum
                            kathee_hds@tech.lgbtK This user is from outside of this forum
                            kathee_hds@tech.lgbt
                            wrote sidst redigeret af
                            #35

                            @foone ah damn missed the opportunity to say "with bits to match", post cancelled, hit the showers everyone we did good but we're not at our best yet the fans expect better of us pushes a lever and falls into the river

                            1 Reply Last reply
                            0
                            • max@peering.socialM max@peering.social

                              RE: https://digipres.club/@foone/116195447625031209

                              @foone Does ARM somehow also fit in?

                              jernej__s@infosec.exchangeJ This user is from outside of this forum
                              jernej__s@infosec.exchangeJ This user is from outside of this forum
                              jernej__s@infosec.exchange
                              wrote sidst redigeret af
                              #36

                              @max @foone DOS stub is still present in Windows ARM binaries (32 and 64-bit).

                              1 Reply Last reply
                              0
                              • foone@digipres.clubF foone@digipres.club

                                so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

                                I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

                                Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

                                jernej__s@infosec.exchangeJ This user is from outside of this forum
                                jernej__s@infosec.exchangeJ This user is from outside of this forum
                                jernej__s@infosec.exchange
                                wrote sidst redigeret af
                                #37

                                @foone Win16 programs are NE, but I have no idea if you can combine NE and PE in the same file (would have to look at what each of them needs in the stub .exe header).

                                1 Reply Last reply
                                0
                                • max@peering.socialM max@peering.social

                                  RE: https://digipres.club/@foone/116195447625031209

                                  @foone Does ARM somehow also fit in?

                                  snowfox@tech.lgbtS This user is from outside of this forum
                                  snowfox@tech.lgbtS This user is from outside of this forum
                                  snowfox@tech.lgbt
                                  wrote sidst redigeret af
                                  #38

                                  @max @foone After skimming https://learn.microsoft.com/en-us/windows/arm/arm64x-build again, I'm ... not sure?

                                  There's "Arm64EC" which is a modified Arm64 ABI to play nicer with emulated x86 code (e.g. half the registers are unusable so there's a 1:1 correspondence with amd64?), and Arm64X which is Arm64 and Arm64EC(?) "fat" binaries. Not sure if it supports Arm64+amd64 "fat" binaries, or even all three.

                                  I'd assume that they include the same DOS stub out of habit, but who knows?

                                  1 Reply Last reply
                                  0
                                  • jwcph@helvede.netJ jwcph@helvede.net shared this topic
                                  Svar
                                  • Svar som emne
                                  Login for at svare
                                  • Ældste til nyeste
                                  • Nyeste til ældste
                                  • Most Votes


                                  • Log ind

                                  • Har du ikke en konto? Tilmeld

                                  • Login or register to search.
                                  Powered by NodeBB Contributors
                                  Graciously hosted by data.coop
                                  • First post
                                    Last post
                                  0
                                  • Hjem
                                  • Seneste
                                  • Etiketter
                                  • Populære
                                  • Verden
                                  • Bruger
                                  • Grupper