• 0 Posts
  • 174 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • There’s also Arx Libertatis for Arx Fatalis. Arkane (yes, that Arkane) released the source code for the game. This is a new engine and patch that is basically required. Even if you could play the game on a modern computer (you can’t really) you wouldn’t want to play without this patch. It does things like making drawing the runes for casting spells more reliable. (For those not aware, you drew runes on your screen and combined them to create spells. You didn’t just press a fireball button. You had to figure out what spells combined to make a fireball, and then draw it.)

    If you like ImSims or Arkane games, I highly recommend Arx Fatalis. No one has done magic like it since. To be fair, it was one of the slowest and most cumbersome ways to do magic, but it did actually feel like you were part of it. You could cast spells before you learned them if you had the rune and guessed the combination (they all make sense). There were even some spells never told in game that you were expected to figure out. Cheats were even activated using the system, by drawing a certain combination of runes. It’s all very cool, and I wish we would get a second modern version of the idea.





  • Anyone who thinks OP asking about Assembly with this meme should play the game Turing Complete. It’s great. You have to design a computer all the way from the most basic logic gates (I think you only get a NAND gate to start), designing an ALU and CPU, creating your own machine language, and writing your own programs in the language you designed, and it’s all simulated the whole time. Machine language is pretty advanced as far as things go.







  • I would argue they don’t know what that means really. Assembly is pretty much a mapping of words to machine code. It’s just a way to make machine code easier to read. It doesn’t actually change how it works.

    A compiler re-arranges and modifies things so what you write isn’t the same as the final program that is created. With assembly it is. It’s not really an abstraction, but a translation. It doesn’t move you further from the machine, it only makes it so you’re speaking the same language.


  • If you want some modern day fun with this, try the Zachtronics programming games; TIS-100, Shenzhen I/O, and Exapunks.

    Or, my personal favorite I only discovered somewhat recently, try Turing Complete. You start by designing all your logic gates from just a negate gate IIRC. You eventually build up an ALU and everything else you need and then create your own computer. Then you define your own assembly language and have to write programs in your assembly language that run on the computer you’ve designed to complete different tasks. It’s a highly underrated game, although it takes a certain type of person to enjoy.


  • This is pedantic, but assembly languages get “assembled” to machine code. This is somewhat similar to higher level languages being “compiled,” which eventually becomes assembly which gets assembled. The major reason why these are different is because a compiler changes the structure of the code. Assembly is a direct mapping to instructions. It just converts the text into machine code directly, which is why it’s easy to go from machine code to assembly but decompiling doesn’t give you identical results to the original source code.

    Also, binary and hexadecimal are just different ways to view the same binary data and aren’t different things. There is only “machine code” which is a type of binary data but you can view binary with any arbitrary base, though obviously powers of 2 work better.


  • Cethin@lemmy.ziptoProgrammer Humor@programming.devCOMEFROM
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 months ago

    A function will be called by code and go to that point in code. To implement functions, you store necessary things to memory and goto the function definition. To implement that with comefrom you’d have to have a list of all the places that need to call the function as comefroms before the function definition. It’d be a mess to read. We almost never care where we are coming from. We care where we’re going to. We want to say “call function foo” not “foo takes control at line x.”






  • Even then, it’s not really accurate anyway. A cocktail is a bunch of ingredients mixes together. You can usually get them without the alcohol if you ask for it (obviously this doesn’t work for every drink). They list of cocktails is so large because there’s a lot of ways to combine a few ingredients to make different things. They don’t actually stock that many types of drinks or anything. They’re made on demends, and can usually be modified if you ask.