This disk BOOT62BD.IMG contians a modified BIOS22D.ASM

BIOS22D and BOOTNEW uses the new disk interface, 
available only on Z80 Emulator Version 1.0.18 and up.

This disk does NOT auto-detect disk formats by reading the 
MAGIC (Drive Definition Table) from the disk.

This BIOS has been modified to allow 16 bit sector numbers and 16 bit track numbers.

The BIOS is still is limited to 128 byte sectors. But since the emulator auto DEBLOCKs, it is
possible to define DPBs as though a disk has 128 byte sectors instead of something bigger.
Then set skew 2 sequencial sectors at a time for 256 and 4 sectors at a time for 512 byte sectors.
(little known fact--PC1440 disks are actually 512 byte sectors, when use on real Z80 with 3.5inch drives)

Drives default to

	Drives A: thru D: are PC1440 format(if assembled with IBM$C$D=false)

		or

	Drives A: and B: are PC1440 format
	Drives C: and D: are IBM3740(if assembled with IBM$C$D=true)

You may use CNFGDISK.COM to dynamically change the values in the DPB and
the XLT tables for drives C: and D:(A and B too, if you modify).

CNFGDISK.COM does this by executing a BIOS call to SELDSK to get the returned pointer 
to the DPH. Then it gets, from the DPH, pointers to the DPB and 
copies new info into it.  It also creates and XLT and write the address into the DPH.
It then writes new disk configuration parameters to the 
Emulators Disk Controller. (Works for ANY disk properties where OVERRIDE BIOS is NOT cheacked)

The XLTs for Drives C and D are reserved at bios+300 and bios+380. 
So, if the XLT, in DPH, is set to 0, you can find them.
The XLTs for Drives A and B are not reserved, can be in the area reserved for XBIOS at bios+600  
So, with the XLT, in DPH, set to 0, you can create them.

This BIOS will work best with Z80 Emulator 1.0.21.
This BIOS will work on Emulator version 1.0.18 or greater. 
HOWEVER, The CNFGDISK.COM program will only work on Z80 Emulator 1.0.18 or greater. 
When used with Versions less than 1.0.21, will not be 100%. The Clock Kind for all tracks will
be set according to Data tracks. On version 1.0.21 and up, each track area can have its own CLOCK value.
On versions less than 1.0.21, pre/post ambles are not supported, so altair disks can NOT be used.
(Clock and Density is not used as the BIOS never makes requests for them)

This allows this bios to be used to exchange files between many other 
Emulator's disk image formats and Z80Emulator's PC1440 Disk images.

Plus, this bios may be moved to any Z80-Emulator PC1440 CPM 2.2 disk image 
and still work properly. (unless you have made your own 
Disk formats that must be recognized by reading the Disk Definition Table(BIOS22 and BIOS22I)

The uninitialized BIOS parameters have been moved from FC00 to FA00 to 
give enough space to define the extra Drive data structures required. 
Xbios62 will still load and run at F600-F9FF, which is unused and 
reserved for xbios. However if you do NOT load XBIOS, then the area reserved for XBIOS
can be used for disk definitions.

The BIOS contains reserved areas for each disk, for XLT(C and D only), CKS, and Allocation vectors.
Allocation and Check areas are 256 bytes. The Sector translate tables are 128 bytes.
Do not make DPBs or XLTs that use more, or the areas will overlap and CPM will 
crash or corrupt data.

Since XLT only has room for 128 8 bit entries and the sector translate 
routines assume 8 bit sector numbers, disks that need sector tranlation 
must use 8 bit sector numbers and have fewer than 128 SPT.
(should be easy to modify the sector XLT routines for 16 bit values if needed.)
(software sector tranlation is normally only used for floppies, as Hard drives use physical translation)

Disks that dont use sector translation can use 16 bit sector numbers. 
Make the XLT in DPH  = 0.

You can, if you do not load xbios, use the 1K area at f600-f9ff to hold larger 
allocation, check, or translate tables... 

You may also, change the parameters for drives A: and B: but they only have areas as follows:

A:and B:(set for PC1440 disks)
   Allocation = 91 bytes
   Check=64 bytes
   XLT=0
B: and C:(at cold boot, set to IBM3740 or PC1440--but with lots of extra room)
   Allocation = 256 bytes (depends on block size, but plenty for many disk definitions)
   Check=256 bytes (enough for 1024 Directory entries)
   XLT=128 bytes (enough for disks with up to 128 SPT (8bit))

Warning--changing drive A: parameters is NOT recommended, however may work BANKED

Memory MAP for 62k system

bios 	f200-f4ff
xlt-C	f500-f57f
xlt-D	f580-f5ff
xbios	f600-f9ff
cks+all	fa00-ff80

For altairz80 compatability, DPBs are CPM3 style (2 extra bytes both should be 0)