Apple II DOS source released.

Topics related to older 6502-based hardware and systems including (but not limited to) the MOS Technology KIM-1, Synertek SYM-1, and Rockwell AIM-65.
Post Reply
Simon
Posts: 155
Joined: 16 Apr 2007
Location: Auckland, New Zealand
Contact:

Apple II DOS source released.

Post by Simon »

I think this is new (sorry if this is old news) but it seems the original source for the Apple II has been released:

http://www.theregister.co.uk/2013/11/12 ... _released/

The actual good bits are here:

http://www.computerhistory.org/atchm/ap ... urce-code/

Simon
scotws
Posts: 576
Joined: 07 Jan 2013
Location: Just outside Berlin, Germany
Contact:

Re: Apple II DOS source released.

Post by scotws »

I just saw this, too. Can't wait to find the time to sit down and read it. Then there is this:
Quote:
DOS was written on punch cards. I would actually hand-write the code on 80-column punch card sheets. A guy at Shepardson named Mike Peters would take those sheets and punch the cards. The punch cards would then be read into a National Semiconductor IMP-16 and assembled, and a paper tape produced.
This seems to be the IMP-16: http://www.selectric.org/imp16/
User avatar
Michael
Posts: 633
Joined: 13 Feb 2013
Location: Michigan, USA

Re: Apple II DOS source released.

Post by Michael »

Nice find. Thank you, Simon. Those articles bring back many fond memories of that era...

After I purchased an Apple ][ in March, 1979, it took several months to save enough to purchase the Disk ][ drive and controller. I seem to recall the Disk ][ cost around $600 (ouch!) which is remarkable when you consider that many years later you could buy floppy disk drives for ten dollars, or less (grin). Floppy diskettes were pretty expensive too. If I recall correctly, a box of ten Verbatim 5.25 inch diskettes cost around $40 back then. Much more than an active hobbyist with a modest budget could afford so I worked out a trade deal with a couple local computer stores. Basically, I made an Apple ][ Lower Case Generator IC (a 2716 EPROM) which I sold for $40 USD and I would trade diskettes for LCG ICs one for one with the local stores. I never ran out of diskettes (grin).

The listing in that article could have saved me several months work disassembling Apple DOS by hand. When Apple introduced DOS 3.3, which used 16 sectors per track, I wrote a utility that allowed you to switch between the 16 sector and the older DOS 3.1/3.2 13 sector drivers which made it easier for people to move their program and data files onto the newer 16 sector diskettes. A local software startup, Sensible Software (West Bloomfield, MI), picked up the program and marketed it as DOS Plus and it made the Top Ten Best Seller List (Utility category) in SoftTalk Magazine several times. Much later, I contributed DOS and Pascal drivers to Xebec, an SCSI controller manufacturer, which went into the host controller for their Sider hard drives for the Apple ][.

Cheerful regards, Mike
User avatar
Virtual1
Posts: 17
Joined: 01 Aug 2025

Re: Apple II DOS source released.

Post by Virtual1 »

Y'all need to find and read the bible, Beneath Apple DOS. PDFs available online in various places. https://mirrors.apple2.org.za/Apple%20I ... %20DOS.pdf is one of them. It's an absolute gold mine of information concerning apples DOS. It doesn't have a "line by line" disassembly, but instead breaks it down into small chunks with their functions described. Much easier to read than a full disassembly.

Also IIRC, my Merlin Pro came with full disassembly of Applesoft, monitor rom, and DOS. So that stuff's been out there for ages and ages, this is nothing new.
Post Reply