Introduction to XMS Memory
XMS stands for eXtended Memory System; in which you can use all your RAM using XMS Manager calls. First thing that you have to check is whether there is XMS support present in your computer.
Segments in QB (DEF SEG)
When Computers where first invented, they did not think that we will be playing with Gigabytes today and so they invented Computers which could support maximum of 1 MB RAM.
Reading and Writing Nibbles in Bytes
So, we start again with another project and that is about Reading Nibbles from bytes. So, lets first talk about nibbles arrangement in bytes. As you must be knowing, there are 2 nibbles present in bytes.
First, write a program which contains all the subroutines that you want in your lib. The program can also contain other code but that won’t matter.
Reading and Writing Bits in Bytes
There are many types of data types. But, here we will be dealing only the sizes of those data types. The basic data type is byte which is 8 bits long, then word or Integer which is 16 bits long, then comes dword(double-word) or Long Integer which is 32 bits long.