Jump to content
IGNORED

OS source code - all revisions


Kr0tki

Recommended Posts

I have attempted to recreate source codes of all known official revisions of the Atari OS. I have used the official source listings for 800 rev. B and XL rev. 2 published by Atari back in the day as a base, and deassembled ROM binaries of other revisions to find out the differences. The resulting archive contains sources for the following OS revisions:

 

400/800 rev. A

400/800 rev. B

1200XL rev. 10

1200XL rev. 11

600XL/800XL rev. 1

800XL/65XE/130XE rev. 2

1450XLD rev. 3 (prototype)

1450XLD rev. 3 ver. 4 (prototype)

XL Rev. 5 (prototype)

65XE/130XE rev. 3

XEGS rev. 4

Arabic 65XE rev. 59 (not fully commented)

Arabic 65XE rev. 59 (Kevin Savetz' prototype, not fully commented)

 

All source files can be assembled using ca65.

 

Remove the .txt part from the filename, then unpack with 7-zip. See README for details.

Edited by Kr0tki
  • Like 21
  • Thanks 2
Link to comment
Share on other sites

  • 4 months later...

My November 1980 copy of the OS User's Manual includes a source listing, but only of the EQUATE file. Still, it's interesting. It starts with:

 

LIST X
; THIS IS THE ORIGINAL JUNE 1979 ATARI 400/800 COMPUTER OPERATING
; SYSTEM LISTING, MODIFIED TO ASSEMBLE ON THE MICROTEC CROSS
; ASSEMBLER. IN ACTUALITY, A COUPLE OF FILLER (ZERO) BYTES
; SHOWN IN THIS LISTING WERE NOT ZERO IN RELEASED ROMS.
; ALSO, RESET VECTORS, COLD START VECTOR, ROM CHECKSUM OF THE
; RELEASED CODE ARE NOT REPRESENTED HERE--THIS CODE ASSEMBLES
; INTO THE VERSION USED TO LOAD INTO ATARI'S RAM-BASED
; COMPUTER DEVELOPMENT SYSTEMS.
;

  • Like 1
Link to comment
Share on other sites

Interesting indeed. I'm gonna incorporate this bit in the source files in the next update.

 

Do you happen to know if the 1980 OS User's Manual was made available online? I would like to see the rest of the equate file.

 

Thanks for dumping the ROMs of the Engineering Serial #26.

Edited by Kr0tki
Link to comment
Share on other sites

Comparing the A (1980 manual) and B (1982 listing) Equates by eye, I noticed only these differences:

 

Initial comment page - A mentions format changes required for MICROTEC assembler (implying they used another assembler before)

A has no PALFLG label

In A, COLLEEN is pasted over with ATARI 400/800 in different font

A defines labels with *=*+N where B uses .RES N

A is missing the label definitions IMASK and JVECK - 5 spare bytes there

Most right side comments in A are missing semicolons

Many white-space format differences

Edited by ClausB
Link to comment
Share on other sites

  • 2 weeks later...

Found my rev B source listing It too is an orignal or a very good photocopy.

Here is a page from it

ossource_zpsda5bb94c.jpg

When compaired to same place in rev A

ossource-2_zps77f97990.jpg

 

Yes, Rev B does list Palflg as one of the 1st lines. Other then that, not very much different from rev A as far as the opening page is concerned.

James

  • Like 1
Link to comment
Share on other sites

Thanks ClausB for the scans. I'm going to include this file in the next update.

 

sup8pdct, that's a great find! I was not aware that Rev. A was published at all.

 

Comparing the differences between Rev. A and B binaries I am able to determine which pages should be different in Rev. A source listing when compared against Rev. B. Could you take a few more photos? Please provide Rev. A pages that correspond to the following pages in Rev. B sources - they should contain differences in source code:

30-32 (lines 1216-1365)

34 (lines 1386-1439)

37 (lines 1548-1584)

46 (lines 1967-1996)

49 (lines 2128-2162)

58-59 (lines 2647-2670)

85-86 (lines 3752-3857)

92 (lines 4036-4082)

Link to comment
Share on other sites

Thank you James. I've edited the source file according to the photos.

 

I'm betting that there are other formatting differences between Rev. A and B that we don't know about yet (for example, line numbers on p. 9 indicate that there are 9 more lines of text somewhere between lines 62 and 387 in Rev. A), but it won't be possible to find them without scanning the whole document. At least the parts with differing source code are fully covered now.

 

Here's the package update.

Edited by Kr0tki
  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...