News for hackers. Stuff that matters.
Re:Create your own Version of Microsoft BASIC for 6502 by bostand on Friday February 03, 2017 @05:29AM (#13558913)
So my first steps into the programming world was guided by Bill Gates?
Re:Create your own Version of Microsoft BASIC for 6502 by johnjones4 on Friday February 03, 2017 @12:50PM (#13561640)
So many of us spent our formative years punching out BASIC programs on old Apple, C64, etc hardware. BASIC, despite its notable flaws as a language, instilled a passion for technology into so many that burns to this day. We all recall our first "Hello World" on those machines and the excitement that followed as we began to understand the almost limitless world that technology opened up for us. It'd be interesting to see BASIC make a comeback as an educational tool, to create that same spark it did for us 20, 30, even 40 years ago.
Re:Create your own Version of Microsoft BASIC for 6502 by bhaak on Friday February 03, 2017 @06:31AM (#13559093)
So was mine, although a little more indirectly.

With AmigaBASIC 1.2 from MicroSoft but probably without any input from Bill Gates.

My first programming session involved changing the parameters of a ellipse drawing routine. Which was AFAIR from a programming tutorial that was part of the manual.

Re:Create your own Version of Microsoft BASIC for 6502 by vidarh on Friday February 03, 2017 @07:55AM (#13559434)
And AmigaBASIC was part of cementing Microsoft-hate amongst Amiga users early on. It's famously buggy and slow.

One of the bugs involved hacky use of the top 8-bit of pointers to store flags - this worked on 68000 CPU's as thy only had a 24 bit address bus and ignored the rest, but would cause crashes on machines with faster CPUs/accelerators (there are patches, but AmigaBASIC was dropped for later AmigaOS releases anyway)

> My first programming session involved changing the parameters of a ellipse drawing routine. Which was AFAIR from a programming tutorial that was part of the manual.

This is one of the Commodore traditions I really miss: The manuals tended to start with programming, and also included fairly detailed schematics. I know many other home computers did this, but I think Commodore with the Amiga is one of the ones that persisted with it the longest, and were most systematic about it.

The VIC-20 manual I think is one of the best early examples of this approach [1], where the manual starters with programming right after showing how to unpack and connect the computer.

[1] https://archive.org/details/Personal_Computing_On_The_VIC-20...

Re:Create your own Version of Microsoft BASIC for 6502 by cmrdporcupine on Friday February 03, 2017 @10:15AM (#13560280)
Yeah it's interesting that both Atari and Commodore dropped the ball on the BASIC options for their 16-bit machines introduced at the same time. ST BASIC was also crappy, and it wasn't until later that better third party options became available (GFA BASIC was really good, as was HiSoft BASIC, but both came later).

In large part the C64 and Apple II had their success because it was easy for owners to make the transition from hobbyist to programmer by starting with the built-in BASIC and just working up. BASIC was right there in front of you, always accessible, and you basically _had_ to learn it to use the machine. So it created a ready supply of new content producers.

To program the ST effectively you really needed a C compiler, but of course back in those days that was not cheap at all or even readily available (or very fun on a machine with no hard drive, which was the common situation.)

I can't help but wonder if those platforms could have had better success if they'd just shipped out of the box with a decent BASIC, an assembler, and maybe even a C compiler. Or at least had that available on launch day for a price accessible to hobbyists.

Re:Create your own Version of Microsoft BASIC for 6502 by vidarh on Friday February 03, 2017 @11:58AM (#13561188)
On the Amiga, it basically meant that for many years assembler ruled larg segments of the hobbyist space, at a time when a lot of people would've benefited from transitioning to C.

But it also resulted in things like AmigaE gaining a lot of popularity [1], and I suspect a lot of the reason ARexx got so widespread was because it took over some the space a decent Basic would have. Incidentaly, E had a big leg up on C on the Amiga because the C compilers were notoriously slow, while the AmigaE compiler was blazing fast (it was written entirely in assembler, and did things like reading the entire source into RAM and treating it as an array)

[1] http://strlen.com/amiga-e

Re:Create your own Version of Microsoft BASIC for 6502 by puzzle on Saturday February 04, 2017 @11:23AM (#13567500)
Y'all forgot about AMOS, although that came out quite late.
Re:Create your own Version of Microsoft BASIC for 6502 by cmrdporcupine on Saturday February 04, 2017 @05:15PM (#13569428)
This was the problem. There weren't decent hobbyist dev options for either the Amiga or the ST until 1987, 88. At launch time (84 for ST, 85 for Amiga) there wasn't much at all. And so those machines didn't get the same kind of enthusiast love that the C64 etc. did. _So many_ of the software studios of the 80s got their start among hobbyists on 8 bit machines.
Re:Create your own Version of Microsoft BASIC for 6502 by tired_man on Friday February 03, 2017 @10:34AM (#13560459)
But that was half the fun of doing learning to hack on a C64. Adding coder tools typed in from MLX code from Compute! or Compute!'s Gazette and learning assembly by taking apart programs in Monitor was a deep learning experience for many beginning 6502 coders.

It's sad that they didn't last, but the chip was simply an evolutionary dead end. I've recently thought about finding one to give my grandson in an attempt to pry away from a tablet his parents gave him.

The crop of tablet/cell-addicted kids is a sad state of affairs.

Re:Create your own Version of Microsoft BASIC for 6502 by cmrdporcupine on Friday February 03, 2017 @11:08AM (#13560756)
I think you're missing the point of my argument. I was complaining that the ST and Amiga did not ship as easily programmable, nuts-and-bolts-visible, platforms like the C64 and Apple II etc. did. I too learned a lot on my VIC-20. But when I got my Atari ST I had to wait a while til I got a compiler (Personal Pascal and then later GFA BASIC and Modula-2) so I could do anything interesting with it.

As for 6502 being an evolutionary dead end -- it's still being made, and still being used in actual products. You'd be surprised what still has a 6502 or 6502-based core in it. It is a wonderful chip - simple easy to learn ISA, absolutely stellar interrupt responsiveness, and easy to interface.

Re:Create your own Version of Microsoft BASIC for 6502 by qwertyuiop924 on Friday February 03, 2017 @12:11PM (#13561310)
>The crop of tablet/cell-addicted kids is a sad state of affairs.

Speaking as one of them, yes. They're hard to program, no fun, and even the BASIC offering won't let you do much.

Re:Create your own Version of Microsoft BASIC for 6502 by johnjones4 on Tuesday February 07, 2017 @07:46PM (#13594590)
Inspired by this discussion, I put together some thoughts I had on the impact of BASIC: https://news.ycombinator.com/item?id=13594568
Re:Create your own Version of Microsoft BASIC for 6502 by digi_owl on Friday February 03, 2017 @07:59AM (#13559465)
MS has been around far longer than most likely know.

Keep in mind that the company started out supplying a Fortran compiler for the Altair 8800. On paper tape no less.

And their BASIC interpreter was the BASIC to have for a decade or more.

Excel (supposedly the last MS product with actual Gates written code inside) got started on Apple hardware.

Re:Create your own Version of Microsoft BASIC for 6502 by rskar on Friday February 03, 2017 @10:26AM (#13560381)
>the company started out supplying a Fortran compiler for the Altair 8800

I would suppose maybe at some point they did (not sure on this) but it's long been my understanding that BASIC was their start.

Per https://en.wikipedia.org/wiki/Microsoft: Microsoft was founded by Paul Allen and Bill Gates on April 4, 1975, to develop and sell BASIC interpreters for the Altair 8800.

Per https://en.wikipedia.org/wiki/Altair_8800: The computer bus designed for the Altair was to become a de facto standard in the form of the S-100 bus, and the first programming language for the machine was Microsoft's founding product, Altair BASIC.

Re:Create your own Version of Microsoft BASIC for 6502 by qwertyuiop924 on Friday February 03, 2017 @12:12PM (#13561325)
And as we all know, Altair BASIC is the software about which "An Open Letter To Hobbyists" was written.
Re:Create your own Version of Microsoft BASIC for 6502 by whatever_dude on Friday February 03, 2017 @08:30AM (#13559643)
Microsoft also helped create the MSX, which not a lot of people in the US know about but was a beloved computer in South America and Japan.
Re:Create your own Version of Microsoft BASIC for 6502 by woliveirajr on Friday February 03, 2017 @12:45PM (#13561594)
And, so, was my first computer and my first BASIC programing. Just to read someone saying that people who began programing in basic are already beyond repair ;)
Re:Create your own Version of Microsoft BASIC for 6502 by laumars on Friday February 03, 2017 @09:29AM (#13559984)
Personally I preferred Locomotive BASIC over Microsoft BASIC.

Is that true about Excel? In one interview with Gates I watched, he commented that QBasic was the last product he wrote.