diff --git a/Doc/RomWBW Applications.pdf b/Doc/RomWBW Applications.pdf index 2dd3342c..32c6ccf2 100644 Binary files a/Doc/RomWBW Applications.pdf and b/Doc/RomWBW Applications.pdf differ diff --git a/Doc/RomWBW Architecture.pdf b/Doc/RomWBW Architecture.pdf index f6c4ae6e..bb2f238e 100644 Binary files a/Doc/RomWBW Architecture.pdf and b/Doc/RomWBW Architecture.pdf differ diff --git a/Doc/RomWBW Disk Catalog.pdf b/Doc/RomWBW Disk Catalog.pdf index ae5d367f..73b19980 100644 Binary files a/Doc/RomWBW Disk Catalog.pdf and b/Doc/RomWBW Disk Catalog.pdf differ diff --git a/Doc/RomWBW Getting Started.pdf b/Doc/RomWBW Getting Started.pdf index b399e547..4e161bbf 100644 Binary files a/Doc/RomWBW Getting Started.pdf and b/Doc/RomWBW Getting Started.pdf differ diff --git a/Source/Doc/Architecture.md b/Source/Doc/Architecture.md index 7049f30a..8a7ecfc9 100644 --- a/Source/Doc/Architecture.md +++ b/Source/Doc/Architecture.md @@ -912,6 +912,51 @@ to by HL. HL must point to a location in the top 32K of CPU address space. Write the entire contents of the Non-Volatile RAM from the buffer pointed to by HL. HL must point to a location in the top 32K of CPU address space. +### Function 0x26 -- RTC Get Alarm (RTCGETALM) + +| _Entry Parameters_ +| B: 0x26 + +| _Exit Results_ +| A: Status (0=OK, else error) + +Documentation required... + +### Function 0x27 -- RTC Set Alarm (RTCSETALM) + +| _Entry Parameters_ +| B: 0x27 + +| _Exit Results_ +| A: Status (0=OK, else error) + +Documentation required... + +### Function 0x28 -- RTC DEVICE (DIODEVICE) + +| _Entry Parameters_ +| B: 0x28 +| C: RTC Device Unit ID + +| _Exit Results_ +| A: Status (0=OK, else error) +| D: Device Type +| E: Device Number + +Reports information about the RTC device unit specified. Register D +indicates the device type (driver) and register E indicates the physical +device number assigned by the driver. + +Each RTC device is handled by an appropriate driver (DSRTC, BQRTC, +etc.) which is identified by a device type id from the table below. + +**Type ID** | **Disk Device Type** +----------- | -------------------- +0x00 | DS1322 +0x10 | BQ4845P +0x20 | SIMH +0x30 | System Periodic Timer + `\clearpage`{=latex} Video Display Adapter (VDA) @@ -1639,6 +1684,15 @@ available along with the registers/information returned. | A: Status (0=OK, else error) | E: Count of Disk Device Units +#### SYSGET Subfunction 0x20 -- Get Disk Device Unit Count (RTCCNT) + +| _Entry Parameters_ +| BC: 0xF820 + +| _Returned Values_ +| A: Status (0=OK, else error) +| E: Count of RTC Device Units + #### SYSGET Subfunction 0x40 -- Get Video Device Unit Count (VDACNT) | _Entry Parameters_ diff --git a/Source/HBIOS/API.txt b/Source/HBIOS/API.txt index 7b97b0cd..68e821be 100644 --- a/Source/HBIOS/API.txt +++ b/Source/HBIOS/API.txt @@ -49,6 +49,10 @@ GET ($F8): BC=Function/Subfunction A=Result E=Disk Unit Count + RTCCNT ($20): + BC=Function/Subfunction A=Result + E=RTC Unit Count + VDACNT ($40): BC=Function/Subfunction A=Result E=Video Unit Count