Browse Source

Fix Device Attribute Definition in System Guide, Issue #515

pull/517/head
Wayne Warthen 10 months ago
parent
commit
ecf2cdfba2
No known key found for this signature in database GPG Key ID: 8B34ED29C07EEB0A
  1. 4
      Source/Doc/SystemGuide.md
  2. 2
      Source/HBIOS/hbios.asm

4
Source/Doc/SystemGuide.md

@ -909,7 +909,9 @@ Returns the current Line Characteristics (DE) of the specified Character
Returns device information for the specified Character Unit (C). The
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
specified Character Unit. Values are listed at the start of this

2
Source/HBIOS/hbios.asm

@ -8429,7 +8429,7 @@ PS_SERIAL:
CALL NEWLINE
RET
;
; PRINT CHARACTER TYPE (SERIAL ATTRIBUTE IN E)
; PRINT CHARACTER TYPE (SERIAL ATTRIBUTE IN C)
;
PS_PRTST:
LD HL,PS_STPPT

Loading…
Cancel
Save