Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 00:22 06 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Programming Languages - Let the Flame Wars Start!

     Page 2 of 4    
Author Message
elk1984

Senior Member

Joined: 11/07/2020
Location: United Kingdom
Posts: 227
Posted: 07:11pm 16 Oct 2020
Copy link to clipboard 
Print this post

  hitsware2 said  I ' m so old , I remember when computers
did not yet have ' languages ' .....
I wish I would have had the interest then
that I have now .


This thread is taking on a distinctly Four Yorkshiremen theme...

 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3663
Posted: 07:37pm 16 Oct 2020
Copy link to clipboard 
Print this post

I resemble that remark :)

John
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 05:09pm 18 Oct 2020
Copy link to clipboard 
Print this post

  elk1984 said  
  hitsware2 said  I ' m so old , I remember when computers
did not yet have ' languages ' .....
I wish I would have had the interest then
that I have now .


This thread is taking on a distinctly Four Yorkshiremen theme...



We truly should continue this and to the end!!

I was on the committee that developed the concept of BINARY even before the mechanical weaving machines where a twinkle in some Georgian era geneses?  Top that. (Remember only the most ludicrous is allowed) That skit is wonderful and had 2 Monty Python alums before they became gods. I had never seen it before, thanks.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3850
Posted: 05:22pm 18 Oct 2020
Copy link to clipboard 
Print this post

Binary? You had zeroes and ones? You were lucky! We had to get by with only a paper bag of zeroes in a ditch.

Tom
Edited 2020-10-19 03:23 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3018
Posted: 05:28pm 18 Oct 2020
Copy link to clipboard 
Print this post

You had zeroes--introduced to Western mathematics through contact with the Arabs?

When I were a lad, the earth was without form, and void; and darkness was upon the face of the deep.
Edited 2020-10-19 03:29 by lizby
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 446
Posted: 05:44pm 18 Oct 2020
Copy link to clipboard 
Print this post

Does this count as a programming language?  

https://github.com/leonicolas/computer-8bits

I've used logic gates
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 06:30pm 18 Oct 2020
Copy link to clipboard 
Print this post

  LeoNicolas said  Does this count as a programming language?  

https://github.com/leonicolas/computer-8bits

I've used logic gates


Leo, my vote is “YES”.

And, after seeing this, may I suggest in your spare time you knock up a CMM2 emulator? :)

Of course, when I was growing up, we didn’t have emulators ...
Edited 2020-10-19 04:36 by RetroJoe
Enjoy Every Sandwich / Joe P.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 446
Posted: 06:42pm 18 Oct 2020
Copy link to clipboard 
Print this post

Joe,

Currently my CMM2 project is building an 3D API.

https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=12904

For the next version I'll add a clipping algorithm.

This is the code that I implemented in JS. I'm converting it to the CMM2 basic.

https://editor.p5js.org/leonicolas/full/gNuklMRjW
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3663
Posted: 10:03am 20 Oct 2020
Copy link to clipboard 
Print this post

  lizby said  When I were a lad, the earth was without form, and void; and darkness was upon the face of the deep.

Aww, you're even older than I am :(

Though I was on the committee that compromised and decided to count in 60s.

That weed we smoked may have had an influence but no-one could remember.

John
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 10:11pm 21 Oct 2020
Copy link to clipboard 
Print this post

Hmmmmpf! Youngsters! When I was in college weed meant saw grass or crab grass!

Paul in NY
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3018
Posted: 10:19pm 21 Oct 2020
Copy link to clipboard 
Print this post

IX minus VI minus III = WTF?!
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 04:12am 22 Oct 2020
Copy link to clipboard 
Print this post

  lizby said  IX minus VI minus III = WTF?!


   
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3558
Posted: 06:30am 22 Oct 2020
Copy link to clipboard 
Print this post

I was not as fortunate as you, my experience is only narrow ...

Long ago:
Algol60 on punch cards
Terminal Basic on school system (remote PDP 11 ?)
Apple II basic
Acorn Atom basic
Assembly 6502 (Acorn Atom, Apple II, C64, Oric Atmos)

Assembly PIC16xx

More recently:
Picaxe Basic
MMBasic
Arduino (hacking around in C, not knowing what I am doing until it accidentally works)

So I am stuck to basic more or less.....
Which is not a big issue since my work is not in software, but electronics.
Programming is hobby.... like flying model aircraft.

That explains why my projects always end up with 90% of my effort in the hardware, supported by only few lines of code.
Edited 2020-10-22 16:36 by Volhout
PicomiteVGA PETSCII ROBOTS
 
MustardMan

Senior Member

Joined: 30/08/2019
Location: Australia
Posts: 175
Posted: 07:02am 22 Oct 2020
Copy link to clipboard 
Print this post

I'm very surprised no-one has mentioned either Verilog or VHDL.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3018
Posted: 01:01pm 22 Oct 2020
Copy link to clipboard 
Print this post

  MustardMan said  I'm very surprised no-one has mentioned either Verilog or VHDL.

Never having heard of either, I wonder why?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
MustardMan

Senior Member

Joined: 30/08/2019
Location: Australia
Posts: 175
Posted: 12:08am 23 Oct 2020
Copy link to clipboard 
Print this post

Both are hardware description languages. Used primarily for writing programs for FPGAs and the like, but I believe they have a few very niche applications outside this area.

From my understanding Verilog is similar to C, and VHDL is more similar to Pascal.

If you want to implement some processor (or even create your own) on an FPGA, then your choice is one of those two languages - unless you *really* like schematics with lots of gates and LUTs!

They are not quite as old as C/FORTRAN/COBOL and siblings, but quite old nonetheless, and to my knowledge they have no alternatives and are still in regular use.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3558
Posted: 06:10am 23 Oct 2020
Copy link to clipboard 
Print this post

Used CUPL once. I guess that is a predecessor to VHDL, only for small CPLD's.
Needed to real time analyze I2C, and the PIC16 at that time wasn't fast enough. I think it all fit in a 22V10 or so.
PicomiteVGA PETSCII ROBOTS
 
MustardMan

Senior Member

Joined: 30/08/2019
Location: Australia
Posts: 175
Posted: 07:21am 23 Oct 2020
Copy link to clipboard 
Print this post

Nice!

These days low-pin-count CPLDs/FPGAs just don't exist. It's either a million pins, or no chip at all. Sometimes you just want a little bit more glue logic than a reasonable number of 74s can offer without having to design in something with so many solder balls you could use it as a brillo pad.

Yes, some MPUs have a limited number of LUTs for esoteric logic functions, but for any more than two gates you are once again looking at big chips with lots of legs.

Sigh.
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1676
Posted: 04:30pm 29 Jan 2021
Copy link to clipboard 
Print this post

Can anyone here convert a program from MM basic to C, C++ or Python?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 04:44pm 29 Jan 2021
Copy link to clipboard 
Print this post

The question doesn't mean anything. Simple language conversion is easy, but what is the source platform, what is the target, what peripherals are involved? Any use of special in-built functions like display or ethernet? These are the things that could make it either easy or next to impossible
 
     Page 2 of 4    
Print this page
© JAQ Software 2024