MODE command (Developers)
> The MODE command
I am never keep this program on my hard drive (answer from 199x years)
> What do you think "best practice" should be?
(IMHO)
If you want develop in modern way - you must extend MODE and invent something new for BIOS call.
If you want develop in oldschool way - forget about MODE+BIOS and provide FOSSIL-driver api (MODE+FOSSIL ?).
FOSSIL-driver strong used in FTN-software (and many BBS).
C. Basic principles of a FOSSIL driver
1) Interrupt 14H.
The one basic rule that the driver depends upon, is the ability for ANY
target machine to allow the vector for INT 14H (usually pointing to BIOS
comm functions) to be "stolen" by the driver. In a system where the INT
14H vector is used already, it must be possible to replace the "builtin"
functionality with that of a FOSSIL, when an application that wants the
use of a FOSSIL is to be run on the target machine.
...
D. Functions currently defined for FOSSILs
AH = 00H Set baud rate
Input: AL = baud rate code
DX = port number
This works the same as the equivalent IBM PC BIOS call, except that it
ONLY selects a baud rate. This is passed in the high order 3 bits of AL
as follows:
010 = 300 baud
011 = 600 ''
100 = 1200 ''
101 = 2400 ''
110 = 4800 ''
111 = 9600 ''
000 = 19200 '' (Replaces old 110 baud mask)
001 = 38400 '' (Replaces old 150 baud mask)
etc
http://ftsc.org/docs/fsc-0008.001
http://ftsc.org/docs/fsc-0015.001
---
Make DOS great again!
Carthago delenda est, Ceterum censeo Carthaginem delendam esse.
Complete thread:
- MODE command - kerravon, 14.10.2021, 12:34 (Developers)
- MODE command - bretjohn, 14.10.2021, 17:36
- MODE command - kerravon, 15.10.2021, 00:29
- MODE command - bretjohn, 15.10.2021, 07:29
- MODE command - kerravon, 15.10.2021, 07:42
- MODE command - bretjohn, 16.10.2021, 00:50
- MODE command - kerravon, 16.10.2021, 02:07
- MODE command - RayeR, 18.10.2021, 21:44
- MODE command - kerravon, 16.10.2021, 02:07
- MODE command - bretjohn, 16.10.2021, 00:50
- MODE command - kerravon, 15.10.2021, 07:42
- MODE command - bretjohn, 15.10.2021, 07:29
- MODE command - kerravon, 15.10.2021, 00:29
- MODE command - DosWorld, 22.10.2021, 03:35
- MODE command - kerravon, 23.10.2021, 01:50
- MODE command - DosWorld, 01.11.2021, 19:05
- MODE command - kerravon, 01.11.2021, 20:02
- MODE command - tom, 02.11.2021, 18:53
- MODE command - kerravon, 02.11.2021, 21:22
- MODE command - tom, 02.11.2021, 18:53
- MODE command - kerravon, 01.11.2021, 20:02
- MODE command - DosWorld, 01.11.2021, 19:05
- MODE command - kerravon, 23.10.2021, 01:50
- MODE command - bretjohn, 14.10.2021, 17:36