Skip to content

Commit

Permalink
fix macros mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Apr 1, 2021
1 parent 841e940 commit ec7ad45
Show file tree
Hide file tree
Showing 19 changed files with 149 additions and 149 deletions.
26 changes: 13 additions & 13 deletions docs/doc/cmn/386arch.gml
Original file line number Diff line number Diff line change
Expand Up @@ -212,31 +212,31 @@ You must look up the description of a particular instruction to see
what effect it might have, if any, on the flags register.
:image depth='1.5i' file='386ARCH3' text='Flags Register'.
.synote compact
.note VM
.mnote VM
= Virtual 8086 Mode
.note RF
.mnote RF
= Resume Flag
.note NT
.mnote NT
= Nested Task Flag
.note IOPL
.mnote IOPL
= I/O Privilege Level
.note OF
.mnote OF
= Overflow Flag
.note DF
.mnote DF
= Direction Flag
.note IF
.mnote IF
= Interrupt Flag
.note TF
.mnote TF
= Trace Flag
.note SF
.mnote SF
= Sign Flag
.note ZF
.mnote ZF
= Zero Flag
.note AF
.mnote AF
= Auxiliary Carry Flag
.note PF
.mnote PF
= Parity Flag
.note CF
.mnote CF
= Carry Flag
.esynote
.*
Expand Down
6 changes: 3 additions & 3 deletions docs/doc/cmn/envsetup.gml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ environment variables should be defined before using &cmpname and the
&lnkname. on their own.
.do end
.begnote
.mnote PATH
.note PATH
In order for
.if '&target' eq 'QNX' .do begin
QNX
Expand Down Expand Up @@ -137,7 +137,7 @@ called :FNAME.&pathnam.&pc.binp:eFNAME. and
.exam end
.do end
.if '&lang' eq 'C' or '&lang' eq 'C/C++' .do begin
.mnote &incvarup.
.note &incvarup.
In order for &cmpname to locate the &product. header files such as
:FNAME.stdio.h:eFNAME., the
.ev &incvarup.
Expand Down Expand Up @@ -166,7 +166,7 @@ environment string is like the
string in that you can specify one or more directories separated by
&psword.s ("&ps.").
.do end
.mnote &pathvarup.
.note &pathvarup.
In order for the &lnkname. to locate the &product. library files, the
.ev &pathvarup.
environment variable should be defined to be the directory
Expand Down
24 changes: 12 additions & 12 deletions docs/doc/cmn/exe2bin.gml
Original file line number Diff line number Diff line change
Expand Up @@ -172,66 +172,66 @@ by more verbose descriptions and some possible causes.
.*
.begnote $break
.*
.mnote Error opening %s for reading.
.note Error opening %s for reading.
The input executable file could not be opened for reading.
.np
Check that the input file exists and &e2bcmd. has read permissions.
.*
.mnote Error opening %s for writing.
.note Error opening %s for writing.
The output binary file could not be opened for writing.
.np
Make sure the media is not write protected, has enough free space to hold the
output file, and &e2bcmd. has write permissions.
.*
.mnote Error allocating file I/O buffer.
.note Error allocating file I/O buffer.
There is not enough free memory to allocate a file buffer.
.*
.mnote Error reading while copying data.
.note Error reading while copying data.
An error occured while reading the binary part of the input file.
.np
This is most likely due to a corrupted executable header. Run &e2bcmd. with the
&sw.h option and check the size reported. The size of the input file
must be at least ("Number of pages" - 1) * 512 + "Size mod 512". Omit
decrementing the number of pages if "Size mod 512" happens to equal zero.
.*
.mnote Error writing while copying data.
.note Error writing while copying data.
The output binary file can not be written to.
.np
Make sure the media has enough free space to hold the output file and is not
removed while writing to it.
.*
.mnote Error. %s has no valid executable header.
.note Error. %s has no valid executable header.
The signature (the first two bytes of the input file) does not match "MZ".
.np
&e2bcmd. can only use valid DOS executable files as input.
.*
.mnote Error allocating/reading reloc-table.
.note Error allocating/reading reloc-table.
There is either not enough free memory to allocate a buffer for the relocations
(each relocation takes about 4 bytes) or there was an error while reading
from the input file.
.*
.mnote Error. Option "-l=<seg>" mandatory (there are relocations).
.note Error. Option "-l=<seg>" mandatory (there are relocations).
The executable file contains relocations. Therefore, &e2bcmd. needs to know the
segment the binary output file is supposed to reside at.
.np
Either provide a segment as an argument to the &sw.l option or rewrite your
executable file to not contain any relocations.
.*
.mnote Error: Binary part exceeds 64 KBytes.
.note Error: Binary part exceeds 64 KBytes.
The binary part of the input file is larger than 64 KBytes.
.np
The restriction applies because the &sw.x option was not specified.
Check if the extended behaviour is suitable or rewrite the program to shorten
the binary part.
.*
.mnote Error: Stack segment defined.
.note Error: Stack segment defined.
The header defines an initial stack, i.e. ss:sp != 0x0000:0x0000.
.np
The restriction applies because the &sw.x option was not specified.
Check if the extended behaviour is suitable or rewrite the program to not have
a segment of class "stack".
.*
.mnote Error: CS:IP neither 0x0000:0x0000 nor 0x0000:0x0100.
.note Error: CS:IP neither 0x0000:0x0000 nor 0x0000:0x0100.
The header defines an initial cs:ip not matching any of the two values.
.np
The restriction applies because the &sw.x option was not specified.
Expand All @@ -240,7 +240,7 @@ different entry point (cf. &lnkname.
.mono "option start"
).
.*
.mnote Error: com-file must not have relocations.
.note Error: com-file must not have relocations.
Although the binary part is <= 64 KByte in length, there is no stack defined
and the cs:ip is 0x0000:0x0100, i.e. &e2bcmd. assumes you try to generate a
".COM" executable, there are relocations in the input file.
Expand Down
18 changes: 9 additions & 9 deletions docs/doc/cmn/wdis.gml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ The &disname command line syntax is the following.
.np
The square brackets [ ] denote items which are optional.
.begnote
.mnote &discmd
.note &discmd
is the name of the &disname..
.mnote filespec
.note filespec
is the filename specification of the object file to be
disassembled.
A default filename extension of ".o" is assumed when no extension is
Expand All @@ -41,7 +41,7 @@ File Specification Extension
/home/john.doe/foo.bar .bar
/home/john.doe/foo.goo.bar .bar
.exam end
.mnote options
.note options
is a list of valid &disname options, each preceded by a dash
("&minus.").
Options may be specified in any order.
Expand All @@ -54,22 +54,22 @@ Options may be specified in any order.
.np
The square brackets [ ] denote items which are optional.
.begnote
.mnote &discmdup
.note &discmdup
is the name of the &disname..
.mnote d:
.note d:
is an optional drive specification such as "A:", "B:", etc.
If not specified, the default drive is assumed.
.mnote path
.note path
is an optional path specification such as "\PROGRAMS\OBJ\".
If not specified, the current directory is assumed.
.mnote filename
.note filename
is the file name of the object file to disassemble.
.mnote ext
.note ext
is the file extension of the object file to disassemble.
If omitted, a file extension of "&obj" is assumed.
If the period "." is specified but not the extension, the file is
assumed to have no file extension.
.mnote options
.note options
is a list of valid options, each preceded by a slash
("/") or a dash ("&minus.").
Options may be specified in any order.
Expand Down
18 changes: 9 additions & 9 deletions docs/doc/cmn/wdisasm.gml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ The &disname command line syntax is the following.
.np
The square brackets [ ] denote items which are optional.
.begnote
.mnote &discmd
.note &discmd
is the name of the &disname..
.mnote filespec
.note filespec
is the filename specification of the object file to be
disassembled.
A default filename extension of ".o" is assumed when no extension is
Expand All @@ -41,7 +41,7 @@ File Specification Extension
/home/john.doe/foo.bar .bar
/home/john.doe/foo.goo.bar .bar
.exam end
.mnote options
.note options
is a list of valid &disname options, each preceded by a dash
("&minus.").
Options may be specified in any order.
Expand All @@ -54,22 +54,22 @@ Options may be specified in any order.
.np
The square brackets [ ] denote items which are optional.
.begnote
.mnote &discmdup
.note &discmdup
is the name of the &disname..
.mnote d:
.note d:
is an optional drive specification such as "A:", "B:", etc.
If not specified, the default drive is assumed.
.mnote path
.note path
is an optional path specification such as "\PROGRAMS\OBJ\".
If not specified, the current directory is assumed.
.mnote filename
.note filename
is the file name of the object file to disassemble.
.mnote ext
.note ext
is the file extension of the object file to disassemble.
If omitted, a file extension of "&obj" is assumed.
If the period "." is specified but not the extension, the file is
assumed to have no file extension.
.mnote options
.note options
is a list of valid options, each preceded by a slash
("/") or a dash ("&minus.").
Options may be specified in any order.
Expand Down
12 changes: 6 additions & 6 deletions docs/doc/cmn/womp.gml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,26 @@ WOMP [options]* file [options|file]*
.pc
The square brackets [ ] denote items which are optional.
.begpoint
.mnote options
.point options
is a list of valid WOMP options, each preceded by a slash ("/") or a
dash ("&minus.").
Options may be specified in any order.
Options are described below.
.mnote file
.point file
is a file specification which can include wild cards in the file name
and extension parts.
A file specification takes the form:
.begpoint
.mnote d:
.point d:
is an optional drive specification such as "A:", "B:", etc.
If not specified, the default drive is assumed.
.mnote path
.point path
is an optional path specification such as "\PROGRAMS\EXE\".
If not specified, the current directory is assumed.
.mnote file
.point file
is the file name of the object or library file.
The file name may contain an "*" wild card.
.mnote ext
.point ext
is the file extension of the object or library file.
The file extension may contain an "*" wild card.
.endpoint
Expand Down
8 changes: 4 additions & 4 deletions docs/doc/fg/fplibr.gml
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,20 @@ strategy with which the modules in the library have been compiled.
.begnote
.ix 'FORTRAN 77 libraries' 'medium'
.ix 'medium model' 'libraries'
.mnote M
.note M
denotes a version of the 16-bit &product libraries which have been
compiled for the "medium" memory model (big code, small data).
.ix 'FORTRAN 77 libraries' 'large'
.ix 'large model' 'libraries'
.ix 'FORTRAN 77 libraries' 'huge'
.ix 'huge model' 'libraries'
.mnote L
.note L
denotes a version of the 16-bit &product libraries which have been
compiled for the "large" or "huge" memory models (big code, big data
or huge data).
.ix 'FORTRAN 77 libraries' 'in-line 80x87 instructions'
.ix 'in-line 80x87 instructions' 'libraries'
.mnote 7
.note 7
denotes a version of the &product libraries which should be used when
compiling with the "fpi" or "fpi87"
option.
Expand All @@ -105,7 +105,7 @@ Otherwise the libraries have been compiled using the "fpc" compiler option.
.ix 'flat model' 'libraries'
.ix 'FORTRAN 77 libraries' 'small'
.ix 'small model' 'libraries'
.mnote S
.note S
denotes a version of the 32-bit &product libraries which have been
compiled using the "sc" option (stack calling conventions).
.endnote
Expand Down
14 changes: 7 additions & 7 deletions docs/doc/fg/fpwfc.gml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,25 @@ The formal &product command line syntax is shown below.
.np
The square brackets [ ] denote items which are optional.
.begnote
.mnote &ccmdup16
.note &ccmdup16
is the name of the 16-bit &cmpname compiler.
.mnote &ccmdup32
.note &ccmdup32
is the name of the 32-bit &cmpname compiler.
.mnote d:
.note d:
is an optional drive specification such as "A:", "B:", etc.
If not specified, the default drive is assumed.
.mnote path
.note path
is an optional path specification such as
.fi \PROGRAMS\SRC\.
If not specified, the current directory is assumed.
.mnote filename
.note filename
is the file name of the file to be compiled.
.mnote ext
.note ext
is the file extension of the file to be compiled.
If omitted, a file extension of "&langsuffup" is assumed.
If the period "." is specified but not the extension, the file is
assumed to have no file extension.
.mnote options
.note options
is a list of valid &cmpname options, each preceded by a slash ("/") or
a dash ("&minus.").
Certain options can include a "no" prefix to disable an option.
Expand Down
Loading

0 comments on commit ec7ad45

Please sign in to comment.