Mercurial > hg > Members > kono > nitros9-code
changeset 1609:0502edac451d
TYPH.DSQ now bit 4
author | boisy |
---|---|
date | Tue, 22 Jun 2004 01:54:03 +0000 |
parents | 66f0977fd3c5 |
children | 56e105848e3b |
files | defs/os9defs defs/rbfdefs defs/releasedefs |
diffstat | 3 files changed, 22 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/defs/os9defs Sat Jun 19 19:22:28 2004 +0000 +++ b/defs/os9defs Tue Jun 22 01:54:03 2004 +0000 @@ -295,6 +295,7 @@ SS.HngUp rmb 1 SetStat to tell driver to hangup phone SS.FSig rmb 1 new signal for temp locked files SS.DSize equ SS.ScSiz Return disk size (RBF) +SS.VarSect rmb 1 Variable Sector Size (called by RBF) * System Specific and User defined codes above $80 org $80
--- a/defs/rbfdefs Sat Jun 19 19:22:28 2004 +0000 +++ b/defs/rbfdefs Tue Jun 22 01:54:03 2004 +0000 @@ -102,31 +102,40 @@ IT.RWC rmb 2 Reduced write current cylinder (HD) -* IT.TYP/IT.DNS/IT.STP bit definitions +* IT.TYP Definitions * -TYP.256 equ %00000000 256 byte sector device -TYP.512 equ %00000010 512 byte sector device -TYP.1024 equ %00000100 1024 byte sector device -TYP.2048 equ %00000110 2048 byte sector device -TYP.SSM equ %00000110 Sector size mask -TYP.DSQ equ %00010000 Drive size query flag +BGP 06/03/2004+ TYP.FLP equ %00000000 Floppy disk TYP.HARD equ %10000000 Hard disk -* The following TYP and DNS bit definitions are applicable -* only if the TYP.FLP bit is clear. +* IT.TYP bit definitions if bit 7 of IT.TYP is set (hard disk) +TYPH.256 equ %00000000 256 byte sector media +TYPH.512 equ %00000001 512 byte sector media +TYPH.1024 equ %00000010 1024 byte sector media +TYPH.2048 equ %00000011 2048 byte sector media +TYPH.SSM equ %00000011 Sector size mask +TYPH.DSQ equ %00010000 Drive size query flag + +* IT.TYP bit definitions if bit 7 of IT.TYP is clear (floppy disk) TYP.5 equ %00000000 5" media TYP.8 equ %00000001 8" media +TYP.256 equ %00000000 256 byte sector media +TYP.512 equ %00000100 512 byte sector media TYP.CCF equ %00100000 CoCo format TYP.NCCF equ %00000000 Non-CoCo format TYP.SOF equ %00000000 Standard NitrOS-9 format TYP.NSF equ %01000000 Non-standard format -* Density bit definitions +* IT.DNS Definitions +* +* IT.DNS bit definitions if bit 7 of IT.TYP is clear (floppy disk) DNS.FM equ %00000000 Single-density (FM) DNS.MFM equ %00000001 Double-density (MFM) DNS.STD equ %00000000 Single track density (48 tpi) -DNS.DTD equ %00000010 Single track density (96 tpi) +DNS.48TPI equ DNS.STD +DNS.DTD equ %00000010 Double track density (96 tpi) +DNS.96TPI equ DNS.DTD +DNS.QTD equ %00000100 High track density (135 tpi) +DNS.135TPI equ DNS.QTD * Floppy disk step rate definitions STP.30ms equ 0 30ms step rate