Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Vintage Programming Languages
Circuit Cellar ^ | 05/23/2017 | staff

Posted on 05/23/2017 2:03:47 PM PDT by Kid Shelleen

For the last 30 years, C has been my programming language of choice. As you probably know, C was invented in the early 1970s by Dennis M. Ritchie for the first UNIX kernel and ran on a DEC PDP-11 computer. I am probably a bit old-fashioned. Yes, C is outdated, but I’m simply addicted to it, like plenty of other embedded system programmers. For me, C is a low level but portable language that’s adequate for all my professional and personal projects --SNIP-- And after you’re finished with this review of 1970s-era computing technology, give one or two a try!

(Excerpt) Read more at circuitcellar.com ...


TOPICS: Chit/Chat; Computers/Internet
KEYWORDS:
Navigation: use the links below to view more comments.
first previous 1-20 ... 61-8081-100101-120 ... 141-150 next last
To: dfwgator

LOAD “*”,8,1


Man, that brings back memories. Commodore 64 and at first I couldn’t afford any storage, so when you switched it off, the program was gone. Typing basic for a half hour to get a C64 balloon to float across the TV screen was just magic.


81 posted on 05/23/2017 4:02:35 PM PDT by hanamizu
[ Post Reply | Private Reply | To 11 | View Replies]

To: hanamizu

I believe that on the C-64, they were called “sprites” and there were eight of them.


82 posted on 05/23/2017 4:04:53 PM PDT by the_Watchman
[ Post Reply | Private Reply | To 81 | View Replies]

To: backwoods-engineer

Like today - one monitor for work, one to surf the net on...just kidding.


83 posted on 05/23/2017 4:05:35 PM PDT by freeandfreezing
[ Post Reply | Private Reply | To 51 | View Replies]

To: Aliska

Old BAL. Base Displacement.

My favorite instructions were ICM SCM and later BALS.


84 posted on 05/23/2017 4:09:34 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 9 | View Replies]

To: SeekAndFind

‘C’ is used for embedded devices these days.

Hell everything has a program(s) behind it now.

I still like Python though.


85 posted on 05/23/2017 4:11:31 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 13 | View Replies]

To: the_Watchman

And then there was the fun of tracking down a problem that was caused by a tiny bit of bare no. 30 wire lost in the forest of pins, or finding a wrap that looked perfect, but the wire had snapped.

Fun times!


86 posted on 05/23/2017 4:11:53 PM PDT by Fresh Wind (Hillary: Go to jail. Go directly to jail. Do not pass GO. Do not collect 2 billion dollars.)
[ Post Reply | Private Reply | To 80 | View Replies]

To: datricker

I studied APL before applying for a job where it was used. I was kind of relieved not to get the job. I read somewhere that APL was difficult to write and impossible to maintain. It is so cryptic that it does a while to unravel what the original programmer was thinking. And then those weird keyboards....

The main benefit of APL is programmer job security until a company wisely chucks it!


87 posted on 05/23/2017 4:12:17 PM PDT by TexasRepublic (Socialism is the gospel of envy and thse religion of thieves. Socialism is governmental theft!)
[ Post Reply | Private Reply | To 53 | View Replies]

To: riverdawg

Yes, PL-1 was kind of COBOL++.


88 posted on 05/23/2017 4:12:21 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 15 | View Replies]

To: Kid Shelleen

Flon’s Law: There is not now, nor will there ever be, any programming language in which it is the least bit difficult to write bad code.


89 posted on 05/23/2017 4:15:03 PM PDT by MarineBrat (Better dead than red!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: georgiarat

We got tape in one time many eons ago from an octal computer. Something like an old Honeywell.

We couldn’t read it for $hit. We figured out it was in Octal format so we had to manufacture a program to read the blocks, wrap and split all the words to EBCIDIC. Big fun.


90 posted on 05/23/2017 4:16:37 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 12 | View Replies]

To: the_Watchman

Sorry for the confusion: the book is “The Go Programming Language” by Alan A. A. Donovan & Brian W. Kerrigan (2016 Addison-Wesley).
“21st Century C” is only a moniker someone has given to the language...


91 posted on 05/23/2017 4:17:18 PM PDT by SonAboveAnItch
[ Post Reply | Private Reply | To 78 | View Replies]

To: DaxtonBrown

Yep, in C you had to do it yourself. I always got a kick out of interrupt, and writing to screen memory.


92 posted on 05/23/2017 4:18:32 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 32 | View Replies]

To: Intolerant in NJ

Trash 80. I did a couple things on that. It would lockup 20 times a day.


93 posted on 05/23/2017 4:19:57 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 40 | View Replies]

To: backwoods-engineer

Knew a girl who did Databus.


94 posted on 05/23/2017 4:21:06 PM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 57 | View Replies]

To: hanamizu
LOAD “*”,8,1 Man, that brings back memories. Commodore 64 and at first I couldn’t afford any storage, so when you switched it off, the program was gone. Typing basic for a half hour to get a C64 balloon to float across the TV screen was just magic.

You C-64 guys had it easy with your sprites. The Vic-20 with a 1.02 *M*Hz (not Ghz) processor and filling graphic registers with hexadecimal bitmap values while chasing the raster around the screen to avoid flicker.

Good times..I made my living on that box for a lot of years and still have the EPROMs to prove it..:)
95 posted on 05/23/2017 4:32:15 PM PDT by jstolzen (All it takes for the triumph of evil is for good men to do nothing - Edmund Burke)
[ Post Reply | Private Reply | To 81 | View Replies]

To: Kid Shelleen

This excellent post & the commentary (from programing old-timers) made me think that we could use something similar called “Vintage American Freedoms” before too many more old-timers go to ground temperature...


96 posted on 05/23/2017 4:35:30 PM PDT by SuperLuminal (Where is another agitator for republicanism like Sam Adams when we need him?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ImJustAnotherOkie
Trash 80. I did a couple things on that. It would lockup 20 times a day.

Trash-80 was a great box. I still remember buying my first one with money from my paper-route (OK, borrowed partly from grandparents) - the "low" price of $999 from Radio Shack. Had 4K of RAM and a cassette drive to load programs. Took half an hour to load 4K. Had two grey-scale asterisks that blinked on and off in the upper right corner while loading. God help you if the volume was too high or low on the cassette drive..CRC errors and you'd start the load all over again..

Wrote a lot of great Z-80 code on that. Even re-created Space Invaders at one point. Local radio shack wanted to sell it - as a cassette tape in a plastic freezer bag hung from one of those grey metal pegs on their pegboard display where they hung all the software.

Ah..the memories..
97 posted on 05/23/2017 4:37:56 PM PDT by jstolzen (All it takes for the triumph of evil is for good men to do nothing - Edmund Burke)
[ Post Reply | Private Reply | To 93 | View Replies]

To: Claud
Assembly language is the only way to go. :)

No, but you cannot argue with the execution time of assembly code.

98 posted on 05/23/2017 4:39:19 PM PDT by Texas Fossil ((Texas is not where you were born, but a Free State of Heart, Mind & Attitude!))
[ Post Reply | Private Reply | To 6 | View Replies]

To: Kid Shelleen

My son works with RS-274 (G-code) and does some programming and modifications. It’s used to control CNC machines. He makes parts.

Just a bunch of command codes and numbers. Here’s a tiny program with comments:

O0001
G99 M42 (feed per rev, high gear if there is a gearbox on the machine)
T101 (tool #1, tool offset #1)
G50 S1500 (spindle speed limiting, this is very important for your safety!)
G96 S180 M3 (constant surface speed, 180m/min, or 180ft/min if you run your machine in imperial units, Spindle start CW)
G0 X105. Z0 M8 (rapid movement to position tool for facing, coolant on)
G1 X-1.6 F0.2 (facing the workpiece, X-1.6 instead of X0 to remove small nub which would be otherwise left on the center, F0.2 is feed 0.2mm/rev, or in/rev)
G0 X102. Z2. (rapid movement to position tool for roughing operation)
G71 U2. R0.2 (roughing cycle, U2 is radial depth of cut, R0.2 retraction amount)
G71 P1 Q2 U1. W0.1 F0.35 (roughing cycle, P1 and Q2 are start and end of desired shape, meaning it begins from N1 and ends to N2. U1. is amount of material left for G70 finishing cycle, this is a diametrical dimension. W0.1 is same for Z-axis. )
N1 G0 X19. (Start of the desired shape)
G1 G42 Z0.5 F0.18 (Cutter compensation on, approaching the face of workpiece)
X20. Z0
G3 X50. Z-15. R15. (Cutting an arc, these coordinates are the endpoint for arc. R15. means radius of the arc.)
G1 Z-25.
X99.
N2 G40 X102. (End of the desired shape)
G70 P1 Q2 (Finishing cycle, P1 and Q2 mean the same as in roughing cycle)
G0 X200. Z200. M9 (Rapiding the tool away from workpiece, coolant off)
M30 (End of program)


99 posted on 05/23/2017 4:43:27 PM PDT by USMCPOP (Father of LCpl. Karl Linn, KIA 1/26/2005 Al Haqlaniyah, Iraq)
[ Post Reply | Private Reply | To 1 | View Replies]

To: infool7

I did until some thieves broke into my shop and stole a few tool boxes. They got a number of tools that I will never be able to replace. But on the other hand some of them had not been used in many years.

But I would still treat the thieves brutally if I caught them.


100 posted on 05/23/2017 4:43:42 PM PDT by Texas Fossil ((Texas is not where you were born, but a Free State of Heart, Mind & Attitude!))
[ Post Reply | Private Reply | To 18 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 61-8081-100101-120 ... 141-150 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson