#==========================================================
#                  diskdef collection for                 =
#                  MITS ALTAIR SIMH CP/M 3                =
# A-G: MITS2                                              =
# H  : MITS                                               =
# I-P: format=<default HDSK>                              =
#==========================================================

# 128K FLASH (EZ80FL)--------------------------------------
# format=EZ80FL
diskdef EZ80FL
  seclen 512
  tracks 32
  sectrk 8
  blocksize 1024
  maxdir 64
  skew 0
  boottrk 0
  os 3
end

# 1.44M (P112)---------------------------------------------
# format=P112
diskdef P112
  seclen 512
  tracks 160
  sectrk 18
  blocksize 2048
  maxdir 256
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# 720K Super I/O (SU720)-----------------------------------
# format=SU720
diskdef SU720
  seclen 512
  tracks 160
  sectrk 9
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Osborne1 5.25" SS SD (OSB1)-------------------------------
# format=OSB1
diskdef OSB1
  seclen 512
  tracks 40
  sectrk 5
  blocksize 2048
  maxdir 64
  skew 0
#  skewtab 
  boottrk 3
  os 3
end

# Osborne1 5.25" SS DD (OSB2)-------------------------------
# format=OSB2
diskdef OSB2
  seclen 512
  tracks 40
  sectrk 10
  blocksize 1024
  maxdir 64
  skew 0
#  skewtab 
  boottrk 3
  os 3
end

# Northstar SSDD Format 1 (NSSS1)---------------------------
# format=NSSS1
diskdef NSSS1
  seclen 512
  tracks 35
  sectrk 10
  blocksize 1024
  maxdir 64
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Northstar SSDD Format 2 (NSSS2)---------------------------
# format=NSSS2
diskdef NSSS2
  seclen 512
  tracks 35
  sectrk 10
  blocksize 2048
  maxdir 64
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Northstar DSDD Format 2 (NSDS2)---------------------------
# format=NSDS2
diskdef NSDS2
  seclen 512
  tracks 70
  sectrk 10
  blocksize 2048
  maxdir 64
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Vector SS SD (VGSS)---------------------------------------
# format=VGSS
# EXM=0 is incorrect. Therefore this format is not useful.
diskdef VGSS
  seclen 512
  tracks 77
  sectrk 8
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Vector DS SD (VGDS)---------------------------------------
# format=VGDS
diskdef VGDS
  seclen 512
  tracks 154
  sectrk 8
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 4
  os 3
end

# CompuPro Disk1A 8" SS SD (DISK1A)-------------------------
# format=DISK1A
diskdef DISK1A
  seclen 512
  tracks 77
  sectrk 16
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" SS DD (SSDD8)---------------------------------
# format=SSDD8
diskdef SSDD8
  seclen 256
  tracks 77
  sectrk 26
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" SS DD with skew (SSDD8S)----------------------
# format=SSDD8S
diskdef SSDD8S
  seclen 256
  tracks 77
  sectrk 26
  blocksize 2048
  maxdir 128
#  skew 0
  skewtab 0,6,12,18,24,4,10,16,22,2,8,14,20,1,7,13,19,25,5,11,17,23,3,9,15,21
  boottrk 2
  os 3
end

# Standard 8" DS DD (DSDD8)-------------------------------
# format=DSDD8
diskdef DSDD8
  seclen 256
  tracks 154
  sectrk 26
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" DS DD with skew (DSDD8S)----------------------
# but not exist skew table. why? then =DSDD8
# format=DSDD8S
diskdef DSDD8S
  seclen 256
  tracks 154
  sectrk 26
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" SS DD with 512 byte sectors (512SSDD8)--------
# format=512SSDD8
diskdef 512SSDD8
  seclen 512
  tracks 77
  sectrk 15
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" DS DD with 512 byte sectors (512DSDD8)--------
# format=512DSDD8
diskdef 512DSDD8
  seclen 512
  tracks 154
  sectrk 15
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Visual Technology Visual 1050 (V1050)---------------------
# format=V1050
diskdef V1050
  seclen 512
  tracks 80
  sectrk 10
  blocksize 2048
  maxdir 128
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" SS SD (SSSD8)---------------------------------
# format=SSSD8
diskdef SSSD8
  seclen 128
  tracks 77
  sectrk 26
  blocksize 1024
  maxdir 64
  skew 0
#  skewtab 
  boottrk 2
  os 3
end

# Standard 8" SS SD with skew (SSSD8S)----------------------
# format=SSSD8S
diskdef SSSD8S
  seclen 128
  tracks 77
  sectrk 26
  blocksize 1024
  maxdir 64
#  skew 0
  skewtab 0,6,12,18,24,4,10,16,22,2,8,14,20,1,7,13,19,25,5,11,17,23,3,9,15,21
  boottrk 2
  os 3
end

# Apple II PRODOS (APPLE-PO)---------------------
# format=APPLE-PO
diskdef APPLE-PO
  seclen 256
  tracks 35
  sectrk 16
  blocksize 1024
  maxdir 64
  skewtab 0,9,3,12,6,15,1,10,4,13,7,8,2,11,5,14
  boottrk 3
  os 3
end

# Apple II DOS 3.3 (APPLE-DO)--------------------
# format=APPLE-DO
diskdef APPLE-DO
  seclen 256
  tracks 35
  sectrk 16
  blocksize 1024
  maxdir 64
  skewtab 0,6,12,3,9,15,14,5,11,2,8,7,13,4,10,1
  boottrk 3
  os 3
end

# AZ80 HDSK (HDSK) ALTAIR SIMH 8MB Standard Hard Disk. for I-P drive default.
diskdef HDSK
  seclen 128
  tracks 2048
  sectrk 32
  blocksize 4096
  maxdir 1024
  skew 0
  boottrk 6
  os 3
end

# MITS Altair original (MITS) 88-DISK(Pertec FD-400) for only make file system.
# sector = header + data + trailer = 3 + 128 + 6 = 137
# This definition is valid only on CpmtoolsGUI Ver.1.02 or later.
diskdef MITS-Mkfs
  seclen 137
  tracks 77
  sectrk 32
  blocksize 1024
  maxdir 256
  skewtab 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31
  boottrk 6
  os 3
end

# MITS Altair original (MITS) 88-DISK(Pertec FD-400) for H drive.
# sector = header + data + trailer = 3 + 128 + 6 = 137
# This definition is valid only on CpmtoolsGUI Ver.1.02 or later.
# tracks is 77 but BIOS DSM=254 = 63.75 tracks! What should I do?
# The writing is possible, but the reading may fail!
diskdef MITS
  seclen 137
  tracks 69
  sectrk 32
  blocksize 1024
  maxdir 256
  skew 17
  boottrk 6
  os 3
end

# MITS Altair original, extra (MITS2) 88-DISK(extended) for only make file system.
# sector = header + data + trailer = 3 + 128 + 6 = 137
# This definition is valid only on CpmtoolsGUI Ver.1.02 or later.
diskdef MITS2-Mkfs
  seclen 137
  tracks 254
  sectrk 32
  blocksize 2048
  maxdir 256
  skewtab 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31
  boottrk 6
  os 3
end

# MITS Altair original, extra (MITS2) 88-DISK(extended) for A-G drive.
# sector = header + data + trailer = 3 + 128 + 6 = 137
# This definition is valid only on CpmtoolsGUI Ver.1.02 or later.
diskdef MITS2
  seclen 137
  tracks 254
  sectrk 32
  blocksize 2048
  maxdir 256
  skew 17
  boottrk 6
  os 3
end
