Microsoft BASIC for 6502 Original Source Code [1978]

MOS Technology / Commodore / Apple II / NES etc.

Moderator: Lavr

antsnark
Doomed
Posts: 434
Joined: 27 Jan 2010 03:45
Location: 83.149.9.42

Microsoft BASIC for 6502 Original Source Code [1978]

Post by antsnark »

http://www.pagetable.com/?p=774

This is the original 1978 source code of Microsoft BASIC for 6502 with all original comments, documentation and easter eggs:


http://www.pagetable.com/docs/M6502.MAC.txt -- 1978-07-27, 6955 lines, 161,685 bytes

This is currently the oldest publicly available piece of source written by Bill Gates.

Like the 8080 version, the 6502 version was developed on a PDP-10, using the MACRO-10 assembler. A set of macros developed by Paul Allen allowed MACRO-10 to understand and translate 6502 assembly
User avatar
Lavr
Supreme God
Posts: 16720
Joined: 21 Oct 2009 08:08
Location: Россия

Post by Lavr »

Интересно - особенно, как они реализовывали тригонометрию...

У меня хоть и есть исходники от "the 8080 version" - но я декомпилировал их сам,
поэтому, хоть они и собираются корректно в бинарик, но комментариев не имеют,
а значит и догадываться трудно - где что.
iLavr
esl
Writer
Posts: 24
Joined: 23 May 2006 13:40

Post by esl »

уже точно обсуждалось

http://altairbasic.org/
Altair BASIC 3.2 (4K) - Annotated Disassembly

[This is a work in progress, about 90% complete]

Here is a complete annotated disassembly of Altair BASIC 3.2 (4K). I have faithfully followed the program order, and the code naturally divides into three sections - the Interpreter, the Maths Package, and Initialisation.

Each of these sections is more-or-less logically subdivided into a number of subsections.