diff --git a/docs/config.txt b/docs/config.txt index 639cbce..b1f6a4c 100644 --- a/docs/config.txt +++ b/docs/config.txt @@ -268,7 +268,7 @@ environment variable CONFIG like if %CONFIG% == 0 echo configuration 0 selected -however, if you have no menu's in config.sys, then %config% has no value, +however, if you have no MENUs in config.sys, then %config% has no value, thus resulting in "IF == 0 echo configuration 0 selected." (which causes syntax errors as there's nothing on the left side of == ) diff --git a/drivers/rdpcclk.asm b/drivers/rdpcclk.asm index fb886c7..f747ea4 100644 --- a/drivers/rdpcclk.asm +++ b/drivers/rdpcclk.asm @@ -42,7 +42,7 @@ READPCCLOCK: extern _DaysSinceEpoch ; ; update days if necessary ; (ah is still 0, al contains midnight flag) - add word [_DaysSinceEpoch ],ax ; *some* BIOS's accumulate several days + add word [_DaysSinceEpoch ],ax ; *some* BIOSes accumulate several days adc word [_DaysSinceEpoch+2],0 ; ; set return value dx:ax diff --git a/hdr/device.h b/hdr/device.h index 11b6d7c..c860556 100644 --- a/hdr/device.h +++ b/hdr/device.h @@ -156,7 +156,7 @@ typedef struct { UWORD bpb_nbyte; /* Bytes per Sector */ UBYTE bpb_nsector; /* Sectors per Allocation Unit */ UWORD bpb_nreserved; /* # Reserved Sectors */ - UBYTE bpb_nfat; /* # FAT's */ + UBYTE bpb_nfat; /* # FATs */ UWORD bpb_ndirent; /* # Root Directory entries */ UWORD bpb_nsize; /* Size in sectors */ UBYTE bpb_mdesc; /* MEDIA Descriptor Byte */ diff --git a/kernel/config.c b/kernel/config.c index d99289e..e469fe0 100644 --- a/kernel/config.c +++ b/kernel/config.c @@ -549,7 +549,7 @@ STATIC void umb_init(void) umb_base_seg = umb_max = umb_start = umb_seg; UMB_top = umb_size; - /* there can be more UMB's ! + /* there can be more UMBs ! this happens, if memory mapped devces are in between like UMB memory c800..c8ff, d8ff..efff with device at d000..d7ff However some of the xxxHIGH commands still only work with @@ -1301,13 +1301,13 @@ STATIC VOID DeviceHigh(BYTE * pLine) { if (LoadDevice(pLine, MK_FP(umb_start + UMB_top, 0), TRUE) == DE_NOMEM) { - printf("Not enough free memory in UMB's: loading low\n"); + printf("Not enough free memory in UMBs: loading low\n"); LoadDevice(pLine, lpTop, FALSE); } } else { - printf("UMB's unavailable!\n"); + printf("UMBs unavailable!\n"); LoadDevice(pLine, lpTop, FALSE); } } diff --git a/kernel/dosfns.c b/kernel/dosfns.c index 5c6ed12..0223148 100644 --- a/kernel/dosfns.c +++ b/kernel/dosfns.c @@ -592,7 +592,7 @@ long DosOpenSft(char FAR * fname, unsigned flags, unsigned attrib) /* /// End of additions for SHARE. - Ron Cemer */ /* NEVER EVER allow directories to be created */ - /* ... though FCB's are weird :) */ + /* ... though FCBs are weird :) */ if (!(flags & O_FCB) && (attrib & ~(D_RDONLY | D_HIDDEN | D_SYSTEM | D_ARCHIVE | D_VOLID))) return DE_ACCESS; diff --git a/kernel/dsk.c b/kernel/dsk.c index 660c1f8..42632b5 100644 --- a/kernel/dsk.c +++ b/kernel/dsk.c @@ -917,7 +917,7 @@ STATIC unsigned DMA_max_transfer(void FAR * buffer, unsigned count) translation to CHS addressing if necessary - crossing track boundaries (necessary for some BIOS's + crossing track boundaries (necessary for some BIOSes High memory doesn't work very well, use internal buffer diff --git a/kernel/dyninit.c b/kernel/dyninit.c index 46acb1a..8bd0d37 100644 --- a/kernel/dyninit.c +++ b/kernel/dyninit.c @@ -19,7 +19,7 @@ additionally: 02610H 0F40EH 0CDFFH HMA_TEXT HMA - FCB's, f_nodes, buffers,... + FCBs, f_nodes, buffers,... drivers diff --git a/kernel/fatfs.c b/kernel/fatfs.c index c1ffce6..48da3cb 100644 --- a/kernel/fatfs.c +++ b/kernel/fatfs.c @@ -1347,7 +1347,7 @@ COUNT map_cluster(REG f_node_ptr fnp, COUNT mode) } /* extends a file from f_dir.dir_size to f_offset */ -/* Proper OS's write zeros in between, but DOS just adds */ +/* Proper OSes write zeros in between, but DOS just adds */ /* garbage sectors, and lets the caller do the zero filling */ /* if you prefer you can have this enabled using */ /* #define WRITEZEROS 1 */ diff --git a/kernel/fattab.c b/kernel/fattab.c index 852c0df..5a2f68f 100644 --- a/kernel/fattab.c +++ b/kernel/fattab.c @@ -118,10 +118,10 @@ void write_fsinfo(struct dpb FAR * dpbp) /* */ /* The FAT file system is difficult to trace through FAT table. */ -/* There are two kinds of FAT's, 12 bit and 16 bit. The 16 bit */ +/* There are two kinds of FATs, 12 bit and 16 bit. The 16 bit */ /* FAT is the easiest, since it is nothing more than a series */ -/* of UWORD's. The 12 bit FAT is difficult, because it packs 3 */ -/* FAT entries into two BYTE's. These are packed as follows: */ +/* of UWORDs. The 12 bit FAT is difficult, because it packs 3 */ +/* FAT entries into two BYTEs. These are packed as follows: */ /* */ /* 0x0003 0x0004 0x0005 0x0006 0x0007 0x0008 0x0009 ... */ /* */ diff --git a/kernel/globals.h b/kernel/globals.h index efd7953..5f2f8d1 100644 --- a/kernel/globals.h +++ b/kernel/globals.h @@ -230,7 +230,7 @@ Freeman Publishing, Lawrence KS, USA (ISBN 0-87930-436-7).\n\ /* Globally referenced variables - WARNING: ORDER IS DEFINED IN */ /* KERNAL.ASM AND MUST NOT BE CHANGED. DO NOT CHANGE ORDER BECAUSE THEY */ -/* ARE DOCUMENTED AS UNDOCUMENTED (?) AND HAVE MANY PROGRAMS AND TSR'S */ +/* ARE DOCUMENTED AS UNDOCUMENTED (?) AND HAVE MANY PROGRAMS AND TSRs */ /* ACCESSING THEM */ extern UWORD ASM NetBios; diff --git a/kernel/initdisk.c b/kernel/initdisk.c index 39c5a75..0e8f500 100644 --- a/kernel/initdisk.c +++ b/kernel/initdisk.c @@ -68,7 +68,7 @@ COUNT nUnits BSS_INIT(0); * * d) using intr(intno, ®s) method. * - * whynot's + * why not? * * a) this is my personal favorite, combining the best aof all worlds. * TURBO-C does support inline assembly, but only by using TASM, @@ -93,7 +93,7 @@ COUNT nUnits BSS_INIT(0); * d) this method is somewhat clumsy and certainly not the * fastest way to do things. * on the other hand, this is INIT code, executed once. - * and scince it's the only portable method, I opted for it. + * and since it's the only portable method, I opted for it. * * e) and all this is my private opinion. tom ehlert. * @@ -287,7 +287,7 @@ typedef struct { UWORD bpb_nbyte; /* Bytes per Sector */ UBYTE bpb_nsector; /* Sectors per Allocation Unit */ UWORD bpb_nreserved; /* # Reserved Sectors */ - UBYTE bpb_nfat; /* # FAT's */ + UBYTE bpb_nfat; /* # FATs */ UWORD bpb_ndirent; /* # Root Directory entries */ UWORD bpb_nsize; /* Size in sectors */ UBYTE bpb_mdesc; /* MEDIA Descriptor Byte */ @@ -885,7 +885,7 @@ BOOL ScanForPrimaryPartitions(struct DriveParamS * driveParam, int scan_type, LBA_to_CHS(&chs, partitionStart, driveParam); LBA_to_CHS(&end, partitionStart + pEntry->NumSect - 1, driveParam); - /* some FDISK's enter for partitions + /* some FDISKs enter for partitions > 8 GB cyl = 1023, other (cyl&1023) */ diff --git a/kernel/int2f.asm b/kernel/int2f.asm index aec5adc..42465a8 100644 --- a/kernel/int2f.asm +++ b/kernel/int2f.asm @@ -466,7 +466,7 @@ FLOPPY_CHANGE: ; 00h successful ; 80h function not implemented ; B0h only a smaller UMB is available -; B1h no UMB's are available +; B1h no UMBs are available ; B2h UMB segment number is invalid ; @@ -480,7 +480,7 @@ UMB_GET_LARGEST: mov bp,sp mov dx,0xffff ; go for broke! - mov ax,1000h ; get the umb's + mov ax,1000h ; get the UMBs call far [bp+8] ; Call the driver ; diff --git a/kernel/kernel.asm b/kernel/kernel.asm index 2453b51..91b47c6 100644 --- a/kernel/kernel.asm +++ b/kernel/kernel.asm @@ -279,7 +279,7 @@ _NetBios dw 0 ; NetBios Number ; Globally referenced variables - WARNING: DO NOT CHANGE ORDER ; BECAUSE THEY ARE DOCUMENTED AS UNDOCUMENTED (?) AND HAVE -; MANY MULTIPLEX PROGRAMS AND TSR'S ACCESSING THEM +; MANY MULTIPLEX PROGRAMS AND TSRs ACCESSING THEM global _NetRetry _NetRetry dw 3 ;-000c network retry count global _NetDelay @@ -417,7 +417,7 @@ _PrinterEcho db 0 ;-34 - 0 = no printer echo, ~0 echo global _verify_ena _verify_ena db 0 ; ~0, write with verify -; this byte is used for TAB's +; this byte is used for TABs (shared by all char device writes??) global _scr_pos _scr_pos db 0 ; Current Cursor Column global _switchar diff --git a/kernel/memmgr.c b/kernel/memmgr.c index 1ec7c66..d235f5c 100644 --- a/kernel/memmgr.c +++ b/kernel/memmgr.c @@ -299,7 +299,7 @@ COUNT DosMemFree(UWORD para) return DE_INVLDMCB; /* Mark the mcb as free so that we can later */ - /* merge with other surrounding free mcb's */ + /* merge with other surrounding free MCBs */ p->m_psp = FREE_PSP; fmemset(p->m_name, '\0', 8); @@ -356,11 +356,11 @@ COUNT DosMemChange(UWORD para, UWORD size, UWORD * maxSize) p->m_type = MCB_NORMAL; /* Mark the mcb as free so that we can later */ - /* merge with other surrounding free mcb's */ + /* merge with other surrounding free MCBs */ q->m_psp = FREE_PSP; fmemset(q->m_name, '\0', 8); - /* try to join q with the free mcb's following it if possible */ + /* try to join q with the free MCBs following it if possible */ if (joinMCBs(FP_SEG(q)) != SUCCESS) return DE_MCBDESTRY; } diff --git a/kernel/printer.asm b/kernel/printer.asm index c979323..142a8b2 100644 --- a/kernel/printer.asm +++ b/kernel/printer.asm @@ -220,7 +220,7 @@ PrtGnIoctl3: ; ; original implementation didn't print at all - on my machine,LPT2 ; -; maybe this one's not much better either, +; maybe this one is not much better either, ; but should print a little bit ; ; the status bits = AH diff --git a/kernel/task.c b/kernel/task.c index 2a173bb..b8f9950 100644 --- a/kernel/task.c +++ b/kernel/task.c @@ -433,7 +433,7 @@ COUNT DosComLoader(BYTE FAR * namep, exec_blk * exp, COUNT mode, COUNT fd) if (mode & 0x80) { mem_access_mode |= 0x80; - DosUmbLink(1); /* link in UMB's */ + DosUmbLink(1); /* link in UMBs */ } rc = ChildEnv(exp, &env, namep); @@ -599,7 +599,7 @@ COUNT DosExeLoader(BYTE FAR * namep, exec_blk * exp, COUNT mode, COUNT fd) /* Clone the environement and create a memory arena */ if (mode & 0x80) { - DosUmbLink(1); /* link in UMB's */ + DosUmbLink(1); /* link in UMBs */ mem_access_mode |= 0x80; }