Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

ANSI escapes for input (Developers)

posted by mbbrutman Homepage, Washington, USA, 25.07.2023, 03:35

DOS systems are not terminals. A DOS system generally has direct access to read the keyboard (through a DOS function or a BIOS interrupt for more control) and DOS and BIOS also provide mechanisms for writing text to a screen.

ANSI.SYS seems almost like an accidental add-on. It makes it easier to "print" colored text to the screen and format the screen, similar to the way a terminal would do it. But classical DOS never provided enhanced keyboard handling through ANSI.SYS - you still had to use the DOS read console or the BIOS interrupt.

The fact that later systems supported this is irrelevant.

---
mTCP - TCP/IP apps for vintage DOS machines!
http://www.brutman.com/mTCP

 

Complete thread:

Back to the forum
Board view  Mix view
22646 Postings in 2111 Threads, 402 registered users, 522 users online (1 registered, 521 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum