scary assembler source

Discussion in 'Programmer's Corner' started by takao21203, Feb 17, 2015.

  1. takao21203

    Thread Starter Distinguished Member

    Apr 28, 2012
    3,577
    463
  2. mitko89

    Member

    Sep 20, 2012
    123
    19
    Hmm, granting that it is quite lenghty, what's the purpose/question?
     
  3. hexreader

    Active Member

    Apr 16, 2011
    250
    82
    That does not look like source code to me; it looks more like a disassembly output with comments added later to aid understanding.

    The only scary looking part is the section that is uncommented.
     
    absf likes this.
  4. takao21203

    Thread Starter Distinguished Member

    Apr 28, 2012
    3,577
    463
    Scary here is the mental striptease it takes to churn out a makework like this one.
    And if you mentally babble to yourself after what you see for hours and days, you are emulating someone with serious autism.
     
  5. JWHassler

    Member

    Sep 25, 2013
    201
    33
    I think I know what you mean... I had to do that once (only about 1k of 8086) and it made the weekend very welcome
     
  6. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,693
    2,765
    I used to enjoy that sort of stuff. I got so good at it that I could read machine language without the use of a dissembler. I'd look at the hex opcodes and the mnemonics would just pop into my head. Just like reading English.

    Granted, it was Z80 which has quite a bit smaller instruction set than the 8086.
     
  7. Eric007

    Senior Member

    Aug 5, 2011
    1,044
    33
    Humm...
     
  8. Simon Larsen

    Member

    Feb 22, 2015
    31
    1
    scary code, yes :).. and this is even more hard to disassemble than ordinary machine code. They have embedded a small "virtual machine" that interprets the p-code. The p-code is same concept as the 6502 machine code.. but here they have the liberty to choose the up codes themselves and make life tough for the cracker.

    I guess its some kind of copy protection for commercial c64-games made by EA and sold on a "floppy" disk
     
Loading...