Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:59 08 Sep 2025 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 : Microsoft Releases the 6502 Basic Source Code

Author Message
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 509
Posted: 11:30pm 04 Sep 2025
Copy link to clipboard 
Print this post

The blog post

https://opensource.microsoft.com/blog/2025/09/03/microsoft-open-source-historic-6502-basic/

The source code Repo with a nice touch, files committed 48 year ago

https://github.com/microsoft/BASIC-M6502
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 244
Posted: 06:10am 05 Sep 2025
Copy link to clipboard 
Print this post

Nice :-)
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5221
Posted: 06:30am 05 Sep 2025
Copy link to clipboard 
Print this post

Thanks Leo,

Impressive documentation in the comments. Look at the extensive explanation how floating point math works. After a bit of study I could understand how memory efficient this is. Note: the floating point math uses octal notation (base 8), the rest is in decimal (base 10). The floating point math is most likely based on floating point routines for the PDPxx machines (that used octal notation).

Volhout
Edited 2025-09-05 16:31 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8055
Posted: 06:44am 05 Sep 2025
Copy link to clipboard 
Print this post

Of course, some might question whether it is really theirs to release. :)
It appears to be an updated version, not the original source (which was more tangled,  far fewer comments and wasn't written for various machines). Prior to the original it was a port from the 8088 version. That, in turn, was at least heavily influenced by the work carried out by Dartmouth College, which in all likelihood gave them the methodology for many routines - it was almost certainly not all completely original concepts.

Beware - Microsoft giveth with one hand and taketh away with the other.   ;)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
EDNEDN
Senior Member

Joined: 18/02/2023
Location: United States
Posts: 161
Posted: 01:43pm 05 Sep 2025
Copy link to clipboard 
Print this post

I didn't realize the Apple ][ Basic came from Microsoft.   I thought that was done be Apple.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5221
Posted: 02:14pm 05 Sep 2025
Copy link to clipboard 
Print this post

Original Apple had an integer basic. That was their own.
For the Apple-II they purchased Microsoft Basic.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025