![]() |
Forum Index : Microcontroller and PC projects : Microsoft Releases the 6502 Basic Source Code
Author | Message | ||||
LeoNicolas![]() Guru ![]() Joined: 07/10/2020 Location: CanadaPosts: 509 |
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: GermanyPosts: 244 |
Nice :-) |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5221 |
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 KingdomPosts: 8055 |
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 StatesPosts: 161 |
I didn't realize the Apple ][ Basic came from Microsoft. I thought that was done be Apple. |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5221 |
Original Apple had an integer basic. That was their own. For the Apple-II they purchased Microsoft Basic. Volhout PicomiteVGA PETSCII ROBOTS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |