Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xerox 820 disk format #3375

Closed
zx70 opened this issue Mar 22, 2018 · 6 comments
Closed

Xerox 820 disk format #3375

zx70 opened this issue Mar 22, 2018 · 6 comments

Comments

@zx70
Copy link
Contributor

zx70 commented Mar 22, 2018

I recently tested the X820 implementation and I noticed that in the base configuration the Shugart SA-400 disk is configured to support 35 tracks only:

static SLOT_INTERFACE_START( xerox820_floppies )
SLOT_INTERFACE( "sa400", FLOPPY_525_SSSD_35T ) // Shugart SA-400
(...)

The odd thing is that all the SSSD disk images I could find online are for 40 tracks drives, and make MAME crash.
Then I found "Servicing your Personal Computer" book:
"The first mini-floppy disk drive to gain popularity was the SA400 from Shugart Associates. This 35 (or 40) track drive provides an unformatted capacity of 125K bytes in single density (...)

I tried to rebuild MAME by changing the "sa400" configuration to FLOPPY_525_SSSD, and the disk images I could find work perfectly.. should it be an extra interface variant, an odd coincidence on all the disk images dumps, or simply a bug requiring to be fixed ? Feeding the wrong disk format at the moment crashes MAME horribly..

@zx70
Copy link
Contributor Author

zx70 commented Mar 22, 2018

http://www.vcfed.org/forum/archive/index.php/t-45699.html
just to add one more reference: '90K image: Xerox 820 (40 tracks total, 3 sys-tracks, 1K block size, 1 directory block)'

rb6502 pushed a commit that referenced this issue Mar 22, 2018
* QuickLoad option for the Decisionmate

Loads .COM programs in memory if CPM-80 is loaded.
Similar to the QuickLoad option for the Kaypro.

* QuikLoad on Aussie Byte

* QuikLoad on Aussie Byte

* Safer QuikLoad on the DMV

* Safer QuikLoad on Kaypro

* Quikload on the QX-10

* Reverting to resolve conflicts with mamedev

* Safer QuikLoad on the DecisionMate V

* QuikLoad for the Aussie Byte

* QuikLoad for the Epson QX-10

* QuikLoad for the Altos 5

* QuikLoad option for the Xerox 820

* Safer QuikLoad for the KayPro models

* QuikLoad for the NCR DecisionMate

* QuikLoad option for the Aussie Byte

* QuikLoad for the QX-10

* QuikLoad for the Altos 5

* QuikLoad for the Xerox 820

* QuikLoad for the Aussie Byte

* QuikLoad for the QX-10

* QuikLoad for the Altos 5

* QuikLoad for the Xerox820 + #3375
@rb6502
Copy link
Contributor

rb6502 commented Mar 22, 2018

Go ahead and add an "sa400_40" or similar with 40 tracks for applications that need it.

@zx70
Copy link
Contributor Author

zx70 commented Mar 23, 2018

I think I found extra docs about the earlier Xerox 820 (page 10-36):
http://www.bitsavers.org/pdf/xerox/820/9R80240_820_Information_Processor_CPM_2.2_Manual_Aug81.pdf

DISK FORMAT
The XEROX 820 is equipped with two (2) compatible Shugart SA400L (5~") drives,
or two (8") Shugart SA800 drives.
The disks for the SA400L (5~") drives are initialized in a CROMEMCO format,
and the disks for the SA800 (8") disks are initialized in an IBM 3740 format.
A format is divided into three (3) parts, field A, field B, and field C.
Field A is written at the start of each track known as the preamble.
Field B is written once for each sector which consists of a gap between sectors,
ID fields, and a data field.
Field C is written at the end of each track and is known as a postamble.

SYSTEM COMPONENTS 
The XEROX 820 disks are initialized in the following formats: 
Parameter                                8"           5-1/4"
Tracks                                   77          40 
Sectors                                  26          18 
Bytes/Sector                             128         128 
/# of Reserved Track for OS              2           3 
Disk Capacity                            241K        81K 

So the HW differences on the Shugart floppy drives are identified by the model number, SA400 (35 tracks), SA400L (40 tracks).
I read somewhere else that the SA400L models were supposed to be double sided, but the 820 manual states otherwise. I guess that both the variants existed, since tha SA400 was a long living components (since 1976).

@AlKossow
Copy link

AlKossow commented Mar 23, 2018 via email

@zx70
Copy link
Contributor Author

zx70 commented Mar 25, 2018

yes, I already ran into a bug with the 8 inches formats, I'm trying to figure out what's going on. . atm I noticed that the td0 format support is surprisingly simplified, I'm impressed that it can do already so much. If my improvements will help booting something more, then I'll dare to propose another pull

@zx70
Copy link
Contributor Author

zx70 commented Mar 25, 2018

btw this issue as I opened it is solved

@zx70 zx70 closed this as completed Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants