Shop OBEX P1 Docs P2 Docs Learn Events
Old-school programming techniques you probably don't miss - Page 2 — Parallax Forums

Old-school programming techniques you probably don't miss

2»

Comments

  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-05-04 14:57
    I remember those early CNC machines. My father took me through one of the machine shops at Rolls Royce,Bristol. That was decades ago now and they are all demolished. The rumour was that on the night shift the tapes would get change for ones that banged out 50 pence blanks for the *** machines. This started a tecnology war with the *** people as they fitted more and more ways to verify the coins.
  • potatoheadpotatohead Posts: 10,261
    edited 2009-05-04 15:04
    Here it was driving range (golf) tokens [noparse]:)[/noparse] Yeah, I can believe that story. Late shift manufacturing is let's just say, interesting!

    When it's 2:00AM, people make all kinds of interesting stuff, having met their quota early.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!
  • heaterheater Posts: 3,370
    edited 2009-05-04 16:48
    potatohead: "That's a physical manifestation of a "program loop" then too!"

    Yep, and a technique used in textile looms since before the advent of the steam engine.

    I remember watching a guy compare two "files" by holding two tapes together against the light and looking for mismatched holes.

    The early development systems from Intel (Intelec) used the ISSIS II operating system that had floppy drives named :F1:, :F2: etc There was also a device named :BB: for "byte bucket". An place to send your unwanted listings etc.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • kwinnkwinn Posts: 8,697
    edited 2009-05-04 17:22
    Boy, this thread is really dredging up old memories. I replaced a model 23 (maybe 33) teletype that was connected to a milling machine and used for reading the looped tapes with a KIM microcomputer board with a cassette tape interface. My very first embedded system.
  • evanhevanh Posts: 16,147
    edited 2009-05-04 18:05
    SSteve said...
    ... makes me sad the 8088 descendants won out over the 68000 descendants.
    Most of the 68k features have been adopted now. Some of biggie's were level based interrupts, flat memory addressing, memory mapped I/O, and a decent set of general purpose registers is the latest feature that came in with the AMD64 instruction set.

    The last one of Intel's cockups still standing is little-endian bit ordering. I'm confident that'll be fixed also.

    Eventually, even evolution gets around to it ...
  • Mike DenchMike Dench Posts: 13
    edited 2011-07-29 07:03
    What the devil is wrong with Basic line numbers? Makes debugging a lot easier particularly if you used GOTO's which everybody does even though they know its a bad idea and they promise to fix it properly as soon as its gotten to work right....
  • Bobb FwedBobb Fwed Posts: 1,119
    edited 2011-07-29 13:53
    Kind of scary when the first two pages apply to things I've done in the last couple months, when this is supposed to be "old school".

    Things mentioned I've done just recently:

    Sorting algorithms (5 different algorithms, for both decimals and strings!)
    Implementing a linked list or hash table (good ol' memory hash tables)
    Creating your own graphical user interfaces (maybe the Prop2 will have enough horse power for people to accept a robust standardized interface)
    Go To and spaghetti code (pretty much any low-level language work requires some)
    Manual multithreading and multitasking (we are using a Propeller aren't we?)
    Self-modifying code (PASM...again)
    Null-terminating C strings
    Writing your own utilities to search for where you'd used functions or procedures and where you'd called them (just wrote one for a PHP project -- not µController related, but I still had to do it).
  • GadgetmanGadgetman Posts: 2,436
    edited 2011-07-29 14:36
    Just read the list...

    GoTo is nice...
    In ASSEMBLY languages.Anything higher level and bye-bye GoTo.

    Sorting...
    Using 'pre-made' sorting algorithms is only acceptable when you're using 'standard' datatypes. (How boring... )
    Also, most of those can't handle the 'extra' Norwegian letters(
  • zoidzoid Posts: 12
    edited 2011-07-29 14:41
    Paper tape! Anyone remember that miserable stuff?. If your code had any length to it you had a big roll of the stuff.
    It would tear if you looked at it funny. The teletypes we used had a mechanical reader that used little pins that bobbed up and down to "feel" the holes. For me that was the early 70's. I don't miss that at all.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-07-29 15:53
    zoid: I certainly don't miss the mechanics behind those paper tape readers !
    I did have a large bin of paper tape (and punched card) chad keep at the ready for weddings. Rice isn't nearly such fun.
Sign In or Register to comment.