Jump to content

Check output device is a terminal: Difference between revisions

no edit summary
(Added Wren)
No edit summary
Line 12:
*   [[Check input device is a terminal]]
<br><br>
=={{header|6502 Assembly}}==
{{works with|Commodore 64}}
<lang 6502asm>LDA $D011 ;screen control register 1
AND #%00100000 ;bit 5 clear = text mode, bit 5 set = gfx mode
BEQ isTerminal</lang>
 
=={{header|Ada}}==
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.