Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. i built an entire x86 CPU emulator in CSS (no javascript)

i built an entire x86 CPU emulator in CSS (no javascript)

Scheduled Pinned Locked Moved Uncategorized
122 Posts 106 Posters 6 Views
  • 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.
  • mirth@mastodon.sdf.orgM mirth@mastodon.sdf.org

    @rebane2001 You monster. Not even a simple RISC like a normal weird person, you went for x86. I love it.

    djl@mastodon.mit.eduD This user is from outside of this forum
    djl@mastodon.mit.eduD This user is from outside of this forum
    djl@mastodon.mit.edu
    wrote last edited by
    #45

    @mirth @rebane2001

    A _normal weird person_ would have emulated either a LINC 8 or an IBM 1130.

    1 Reply Last reply
    0
    • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

      i built an entire x86 CPU emulator in CSS (no javascript)

      you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

      Link Preview Image
      x86CSS

      x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

      favicon

      (lyra.horse)

      properlypurple@tech.lgbtP This user is from outside of this forum
      properlypurple@tech.lgbtP This user is from outside of this forum
      properlypurple@tech.lgbt
      wrote last edited by
      #46

      @rebane2001 So unhinged, I love it.

      1 Reply Last reply
      0
      • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

        i built an entire x86 CPU emulator in CSS (no javascript)

        you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

        Link Preview Image
        x86CSS

        x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

        favicon

        (lyra.horse)

        hupf@tooting.chH This user is from outside of this forum
        hupf@tooting.chH This user is from outside of this forum
        hupf@tooting.ch
        wrote last edited by
        #47

        @rebane2001 Where's Doom, we want to see Doom running in CSS! 😉

        1 Reply Last reply
        0
        • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

          i built an entire x86 CPU emulator in CSS (no javascript)

          you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

          Link Preview Image
          x86CSS

          x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

          favicon

          (lyra.horse)

          lukadjo@app.wafrn.netL This user is from outside of this forum
          lukadjo@app.wafrn.netL This user is from outside of this forum
          lukadjo@app.wafrn.net
          wrote last edited by
          #48

          Sure, I guess that's a thing now, though I cannot for the life of me guess how

          1 Reply Last reply
          0
          • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

            i built an entire x86 CPU emulator in CSS (no javascript)

            you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

            Link Preview Image
            x86CSS

            x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

            favicon

            (lyra.horse)

            blogdiva@mastodon.socialB This user is from outside of this forum
            blogdiva@mastodon.socialB This user is from outside of this forum
            blogdiva@mastodon.social
            wrote last edited by
            #49

            OMG has anybody pinged @Meyerweb yet?

            @rebane2001

            1 Reply Last reply
            0
            • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

              @goaty it uses newish css features such as if() statements and @functions, which other browsers haven't implemented yet

              slothrop@chaos.socialS This user is from outside of this forum
              slothrop@chaos.socialS This user is from outside of this forum
              slothrop@chaos.social
              wrote last edited by
              #50

              @rebane2001 @goaty CSS has if statements now??!

              1 Reply Last reply
              0
              • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                i built an entire x86 CPU emulator in CSS (no javascript)

                you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                Link Preview Image
                x86CSS

                x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                favicon

                (lyra.horse)

                salamandra_negra@mastodon.socialS This user is from outside of this forum
                salamandra_negra@mastodon.socialS This user is from outside of this forum
                salamandra_negra@mastodon.social
                wrote last edited by
                #51

                @rebane2001 have you ran DOOM on it?

                bfordham@infosec.exchangeB 1 Reply Last reply
                0
                • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                  i built an entire x86 CPU emulator in CSS (no javascript)

                  you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                  Link Preview Image
                  x86CSS

                  x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                  favicon

                  (lyra.horse)

                  groxx@hachyderm.ioG This user is from outside of this forum
                  groxx@hachyderm.ioG This user is from outside of this forum
                  groxx@hachyderm.io
                  wrote last edited by
                  #52

                  @rebane2001 beyond awful and into aweoverflow

                  1 Reply Last reply
                  0
                  • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                    i built an entire x86 CPU emulator in CSS (no javascript)

                    you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                    Link Preview Image
                    x86CSS

                    x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                    favicon

                    (lyra.horse)

                    david_chisnall@infosec.exchangeD This user is from outside of this forum
                    david_chisnall@infosec.exchangeD This user is from outside of this forum
                    david_chisnall@infosec.exchange
                    wrote last edited by
                    #53

                    @rebane2001

                    Is this practical?

                    Not really, you can get way better performance by writing code in CSS directly rather than emulating an entire archaic CPU architecture.

                    Beautiful.

                    1 Reply Last reply
                    0
                    • freddy@social.security.plumbingF freddy@social.security.plumbing

                      @rebane2001 lol. if the css police comes to arrest you, just know you have friends everywhere.

                      freddy@social.security.plumbingF This user is from outside of this forum
                      freddy@social.security.plumbingF This user is from outside of this forum
                      freddy@social.security.plumbing
                      wrote last edited by
                      #54

                      @rebane2001 (the link to your python script in the FAQ points at a no-longer existing file https://lyra.horse/x86css/#:~:text=I%20wrote%20a%20python%20script. :))

                      rebane2001@infosec.exchangeR 1 Reply Last reply
                      0
                      • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                        i built an entire x86 CPU emulator in CSS (no javascript)

                        you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                        Link Preview Image
                        x86CSS

                        x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                        favicon

                        (lyra.horse)

                        fig@theforkiverse.comF This user is from outside of this forum
                        fig@theforkiverse.comF This user is from outside of this forum
                        fig@theforkiverse.com
                        wrote last edited by
                        #55

                        @rebane2001 insanity...

                        1 Reply Last reply
                        0
                        • freddy@social.security.plumbingF freddy@social.security.plumbing

                          @rebane2001 (the link to your python script in the FAQ points at a no-longer existing file https://lyra.horse/x86css/#:~:text=I%20wrote%20a%20python%20script. :))

                          rebane2001@infosec.exchangeR This user is from outside of this forum
                          rebane2001@infosec.exchangeR This user is from outside of this forum
                          rebane2001@infosec.exchange
                          wrote last edited by
                          #56

                          @freddy dang it, i must've mis-guessed it (i usually write the github links to files *before* i figure out what filenames or repo names i want to use, hoping it'll line up later)

                          freddy@social.security.plumbingF 1 Reply Last reply
                          0
                          • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                            i built an entire x86 CPU emulator in CSS (no javascript)

                            you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                            Link Preview Image
                            x86CSS

                            x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                            favicon

                            (lyra.horse)

                            vgiamp10@social.vgiamp.moeV This user is from outside of this forum
                            vgiamp10@social.vgiamp.moeV This user is from outside of this forum
                            vgiamp10@social.vgiamp.moe
                            wrote last edited by
                            #57

                            @rebane2001@infosec.exchange i ask this is the most shocked way ever, what and how the fuck did you manage to do this

                            1 Reply Last reply
                            0
                            • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                              i built an entire x86 CPU emulator in CSS (no javascript)

                              you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                              Link Preview Image
                              x86CSS

                              x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                              favicon

                              (lyra.horse)

                              antoined@kwak.cabA This user is from outside of this forum
                              antoined@kwak.cabA This user is from outside of this forum
                              antoined@kwak.cab
                              wrote last edited by
                              #58

                              @rebane2001

                              I remember this :
                              www.commitstrip.com/en/2019/03/15/css-css-everywhere/?setLocale=1

                              1 Reply Last reply
                              0
                              • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                i built an entire x86 CPU emulator in CSS (no javascript)

                                you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                Link Preview Image
                                x86CSS

                                x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                                favicon

                                (lyra.horse)

                                chengdulittlea@mastodon.artC This user is from outside of this forum
                                chengdulittlea@mastodon.artC This user is from outside of this forum
                                chengdulittlea@mastodon.art
                                wrote last edited by
                                #59

                                @rebane2001 1) wtf 2) wow

                                starkimarm@23.socialS 1 Reply Last reply
                                0
                                • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                  i built an entire x86 CPU emulator in CSS (no javascript)

                                  you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                  Link Preview Image
                                  x86CSS

                                  x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                                  favicon

                                  (lyra.horse)

                                  jan@toot.cafeJ This user is from outside of this forum
                                  jan@toot.cafeJ This user is from outside of this forum
                                  jan@toot.cafe
                                  wrote last edited by
                                  #60

                                  @rebane2001 I can't stop grinning 😄 Awesome achievement, you rock!

                                  1 Reply Last reply
                                  0
                                  • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                    i built an entire x86 CPU emulator in CSS (no javascript)

                                    you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                    Link Preview Image
                                    x86CSS

                                    x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                                    favicon

                                    (lyra.horse)

                                    gasrios@floss.socialG This user is from outside of this forum
                                    gasrios@floss.socialG This user is from outside of this forum
                                    gasrios@floss.social
                                    wrote last edited by
                                    #61

                                    @rebane2001 if you do write about this, I am particularly curious to understand how you implemented a clock in CSS.

                                    And, clock or no clock, I do hope you will, I am following you so I won't miss it when you do. =^)

                                    1 Reply Last reply
                                    0
                                    • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                      i built an entire x86 CPU emulator in CSS (no javascript)

                                      you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                      Link Preview Image
                                      x86CSS

                                      x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                                      favicon

                                      (lyra.horse)

                                      trimtab@mastodon.socialT This user is from outside of this forum
                                      trimtab@mastodon.socialT This user is from outside of this forum
                                      trimtab@mastodon.social
                                      wrote last edited by
                                      #62

                                      @rebane2001
                                      “Gozer the Gozerian? Good evening. As a duly designated representative of the city, county, and state of New York, I order you to cease any and all supernatural activity and return forthwith to your place of origin or to the nearest convenient parallel dimension.”

                                      1 Reply Last reply
                                      0
                                      • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                        i built an entire x86 CPU emulator in CSS (no javascript)

                                        you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                        Link Preview Image
                                        x86CSS

                                        x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                                        favicon

                                        (lyra.horse)

                                        ffloyd@mastodon.socialF This user is from outside of this forum
                                        ffloyd@mastodon.socialF This user is from outside of this forum
                                        ffloyd@mastodon.social
                                        wrote last edited by
                                        #63

                                        @rebane2001 man… when I see things like this… it restores my faith that true spirit of software engineering is not dead yet!

                                        1 Reply Last reply
                                        0
                                        • rebane2001@infosec.exchangeR rebane2001@infosec.exchange

                                          i built an entire x86 CPU emulator in CSS (no javascript)

                                          you can write programs in C, compile them to x86 machine code with GCC, and run them inside CSS

                                          Link Preview Image
                                          x86CSS

                                          x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

                                          favicon

                                          (lyra.horse)

                                          f4grx@chaos.socialF This user is from outside of this forum
                                          f4grx@chaos.socialF This user is from outside of this forum
                                          f4grx@chaos.social
                                          wrote last edited by
                                          #64

                                          @rebane2001 Objection, you built an entire x86 cpu emulator in chrome.

                                          "Your browser is unable to run this demo. Please try with an up-to-date Chromium-based browser."

                                          Edit: looks like these APIs will come to mozilla based browsers, but "at a later date".

                                          rebane2001@infosec.exchangeR 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

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