- DOS Application's are Text Console Application's.
- there are a
VGA (
Video
Graphic Card
Array).
This means, that you have a 80 x 25 Char Array wich have 2 Bytes for each Character.
Each Byte of them have the following Task:
1. Byte: Char (A-Z, a-z, 0-9)
2. Byte: Color of the Char at the Array Position
- many DOS Application's use BIOS Interrupts including 0x10 hex for the Video Adapter
Inteerrupts attempt the CPU to STOP till the User (or a Application Programmer coded the Program Logic with Loops or other Things - like TSR (Terminate and Stay Resident) Application's or Driver's.
The CPU will Start after these...
This means:
- Windows or Unix X-Server Application's run in Protected Mode of the CPU
- Protected Mode is differentialed an other Shoe as Real Mode for DOS Application's
- You have more Memory Space where your Application's can serve with - so you can codeing much more in 32-Bit Protected Mode Application's as the limited 16-Bit Real Mode Application's
This means:
- GUI Application's are slower than DOS TUI (Text User Interface) Application's
- because they handled on a HAL - Hardware abstraction Layer
- this HAL is used to save CPU Registers if you wan't call a BIOS Interrupt and doing some other complex Things, too.
- then GUI Application's have to handle (or more: the OS has handle) very much more ...
- e. g. Calculate and Render Pixels and their Color's ...
- we don't speak only of squared 320 x 200 x 256 Pixels (320 X, and 200 Y with 256 of Counts Colors Possibilities)
- we speak of 1900 x 1200 x 16M (16 Million Colors) !
A simple Picture for 320 x 200 counts 64.000 Bytes !
now, calculate your self 1900 x 1200 ...
The thinking on the other Things that the OS do:
- Store Drives Access
- Copy & Paste Memory all the Time the Computer is switched on
- Render Pixels, Colors, Pictures in Fore- and Background Windows.
- Play Music from a File or a Stream like from a Internet URL
- Measure Devices like a plugged-in Weather-Station on the USB-Port
- and so on, and so forth ...
So, to come to the Point:
DOS "blocks" other Memory and / or Application's
GUI "share" other Memory and / or Application's in a same place or on unique place.
This Background knowledge is not need by normal User or normal Hobbiest Programmer's.
You have Frameworks for nearly all your needs.
It is your decision what Framework, Programming Language (DSL) or what ever you decide to make / made - it is your Life - your Time.
You can spend it alone or in a Community ...
But trust us:
To more you give, to more you get back ...
And don't have a Eaer to People that say she/he/him know's all ...
That is a lie !
Nobody is perfect - but you can learn a lot of other Peoples if you hear or read them, to try other new Things ...
With kind regards - so I hope I don't patch into a Honey Pot - what my special field is
