Browse Source
Fix Device Attribute Definition in System Guide, Issue #515
pull/517/head
Wayne Warthen
10 months ago
No known key found for this signature in database
GPG Key ID: 8B34ED29C07EEB0A
2 changed files with
4 additions and
2 deletions
-
Source/Doc/SystemGuide.md
-
Source/HBIOS/hbios.asm
|
|
@ -909,7 +909,9 @@ Returns the current Line Characteristics (DE) of the specified Character |
|
|
Returns device information for the specified Character Unit (C). The |
|
|
Returns device information for the specified Character Unit (C). The |
|
|
status (A) is a standard HBIOS result code. |
|
|
status (A) is a standard HBIOS result code. |
|
|
|
|
|
|
|
|
Device Attribute (C) values are: 0 = RS/232, 1 = Terminal, 2 = Parallel. |
|
|
|
|
|
|
|
|
The two high bits of Device Attribute (C) are: 00 = RS/232, 01 = Terminal, |
|
|
|
|
|
10 = Parallel. The remaining bits should be ignored and are used |
|
|
|
|
|
internally. |
|
|
|
|
|
|
|
|
Device Type (D) indicates the specific hardware driver that handles the |
|
|
Device Type (D) indicates the specific hardware driver that handles the |
|
|
specified Character Unit. Values are listed at the start of this |
|
|
specified Character Unit. Values are listed at the start of this |
|
|
|
|
|
@ -8429,7 +8429,7 @@ PS_SERIAL: |
|
|
CALL NEWLINE |
|
|
CALL NEWLINE |
|
|
RET |
|
|
RET |
|
|
; |
|
|
; |
|
|
; PRINT CHARACTER TYPE (SERIAL ATTRIBUTE IN E) |
|
|
|
|
|
|
|
|
; PRINT CHARACTER TYPE (SERIAL ATTRIBUTE IN C) |
|
|
; |
|
|
; |
|
|
PS_PRTST: |
|
|
PS_PRTST: |
|
|
LD HL,PS_STPPT |
|
|
LD HL,PS_STPPT |
|
|
|