• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

14000 lines in one source

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #21
    Originally posted by cswd
    I've disassembled (manually) about 4k of 6502 assembly
    was that the BBC micro, those were the days, when I were a lad we lived in.......
    Your parents ruin the first half of your life and your kids ruin the second half

    Comment


      #22
      Originally posted by zeitghost
      I used to be able to disassemble z80 & 8080/8085 code by eye, more or less.
      I could do Z80 pretty much at one stage.

      I remember having a print out of the assembler for the ORIC-1 ROM, all 16K of it, that I used to spend hours figuring out. That was probably when I was 11 as well. Oh so sad.

      As for comments, I find the people that harp on about comments are usually the ones that fill the code with pointless comments, like...

      GetHeight() // get the height
      SetHeight() // set the height

      etc. Also one colleague of mine would have some fancy macro that added a comment to each function, so each function would have

      // TODO: Write description of function

      at the start, because nobody ever filled in the comment. Worst still is when people write comments, but don't update the comments when the code changes. This is what happens when people blindly follow what they think they're supposed to do, rather than do what's actually useful. The same can happen to a lesser extent with specifications.
      Will work inside IR35. Or for food.

      Comment


        #23
        Originally posted by zeitghost
        I used to be able to disassemble z80 & 8080/8085 code by eye, more or less.

        Had to write a disassembler for 6809 and 6303 coz of all the relative jumps...

        GA (General Automation) produced minicomputers in the 60s/70s/80s until the PC took over.

        The Amstrad 1512 was a little faster than the GA16-220 I used... and had far more memory.

        Apparently a lot of GA computers are still struggling on because they were extensively used in machine control and stuff like that.

        Ford in Bridgend used quite a lot at one time.
        0xc9

        Comment


          #24
          You guys are such a bunch of geeks!

          Comment


            #25
            I once saw this as comment:

            *
            * Add one to counter
            *
            ADD 1 TO W-COUNTER

            Well helpful, that was... NOT.
            We must strike at the lies that have spread like disease through our minds

            Comment


              #26
              Originally posted by Fleetwood
              I once saw this as comment:
              Would it not be more correct to say "saw the following as comment"?

              Comment


                #27
                arguably
                We must strike at the lies that have spread like disease through our minds

                Comment


                  #28
                  A client wanted me to comment all the code, so I wrote a little tool to create comments just like the above.

                  Don't know why I bothered. Afterwards I found I could've downloaded a variety of tools that did much the same.
                  Insanity: repeating the same actions, but expecting different results.
                  threadeds website, and here's my blog.

                  Comment


                    #29
                    Bloody Hell!

                    You can't go away for a week's holiday without your code being passed on to some jumped up contractor who thinks he knows better.

                    He has even eaten my egg and cress sandwich!

                    Comment


                      #30
                      Try exterminating any permies who are not up to scratch. It's surprisingly effective as a management technique.

                      Comment

                      Working...
                      X