Results 1 to 30 of 134

Hybrid View

  1. Collapse Details
     
    #1
    I am postulate one blumpkin blownuts's Avatar
    Join Date
    Jan 2012
    Location
    subspace
    Posts
    7,162
    Quote Originally Posted by jon View Post
    pro tip except for like one page of source code, there is no reason whatsoever to use an assembly language to write an operating system
    Not for the whole thing, mainly just its assembler.
    That's used to break down HLL's into chunks of assembly code, used by the computer at the machine level to control/compute data.
    I'd also expect it to be kinda difficult to memory-map and table addresses for bus components like I/O, DMA etc without an assebler.
    Then again, maybe there's some bloated one-size-fits-most HLL library that can directly access all memory & memory-mapped devices and bypass the assembly layer completely; in the process soaking up alot of unnecessary clock cycles to run the same program. You'll notice this particularly when trying to "port" user software from one architecture to another without actually rebuilding it from the machine level, for a completely alien instruction set.

    It happens all the time.

    If old console games were all written assembly (and they virtually all were, up to the mid 90s) they would've looked like dogshit on SNES compared to megadrive version, or vice versa, and that hasn't really changed despite that modern video games are impractical to code in asm. So now, even new games generally look/play best on 1 of the three leading game consoles, depending on how well the HLL they used to program the game compiles and assembles on those platforms.
    Last edited by blumpkin blownuts; 06-21-2012 at 03:29 PM.
    Reply With Quote
     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •