anthony
c3fa922c2f
fix quiet mode oversight
...
A line never printed because it checks for the wrong flag instead
of OPTF_QUIET. This fixes it.
2010-01-12 17:55:07 -07:00
anthony
b23c5ab4ba
rewrite usage to match new getopt() option format
2010-01-12 17:33:08 -07:00
anthony
16c7a49ffa
use getopt(3) instead of our hand-rolled flag parsing
...
Simplify and standardize the code by using the standard getopt()
function for parsing command-line flags.
This is a backwards-incompatible change.
2010-01-12 14:25:54 -07:00
anthony
8f5e767615
list new default init values in usage information (rgbasm, xlink)
2010-01-05 14:21:42 -07:00
anthony
8614871e68
change unitialized byte values in xlink to 0
2010-01-05 14:17:24 -07:00
anthony
b864431a14
add yacc output to the clean target
2010-01-05 14:11:54 -07:00
anthony
f9e443b10c
get rid of a strcpy() warning on OpenBSD
2010-01-05 14:08:18 -07:00
anthony
ed3e35e628
set default fillchar for rgbasm to 0, not random
2010-01-05 14:01:32 -07:00
anthony
290c65e9b2
minor spacing changes in output
2010-01-04 20:11:52 -07:00
anthony
8f1ad7f9fc
the -k flag wrote to the wrong location. fixing the bug
2010-01-04 20:09:05 -07:00
anthony
f0361ee025
many of the flags did not respect -d (debug) flag. this fixes them.
2010-01-04 20:04:25 -07:00
anthony
3649cec52d
add -k option to set new licensee code
2010-01-04 20:00:34 -07:00
anthony
fb81793d9f
add -s flag for SGB mode
2010-01-04 19:50:24 -07:00
anthony
6752b10204
add -j option for setting 0x14A (region flag)
2010-01-04 19:40:01 -07:00
anthony
2d72b12eb8
error out if both -o and -c are specified
2009-12-30 19:47:44 -07:00
anthony
77bbbba9f3
give warning if -c/-o overwrites last character of new title
2009-12-30 18:58:48 -07:00
anthony
8e9672c1dd
add -c/-o flags to set GBC flag (lmod)
2009-12-30 18:39:27 -07:00
anthony
317c2662ba
add -b option to the usage (lmod)
2009-12-30 16:54:24 -07:00
anthony
3397810e8d
when changing MBC, print the name of the MBC (lmod)
2009-12-30 16:52:37 -07:00
anthony
2afdc060d0
add -b option to change MBC type (lmod)
2009-12-30 16:32:28 -07:00
anthony
7e4104cabe
add option to change memory size (from lmod)
2009-12-30 15:55:00 -07:00
anthony
ecae948371
remove some tabs to make usage information easier to read on a terminal
2009-12-30 14:10:29 -07:00
anthony
dd16f2d59c
add new info on -p to usage information
2009-12-30 14:05:56 -07:00
anthony
0bc88ce7f7
Add an optional value parameter to -p (lmod)
2009-12-30 13:58:06 -07:00
anthony
d8070a10eb
run indent on header files (whitespace changes)
...
Merging lai's source with this one is very irritating because
they have different indentation styles. I couldn't find what profile
vegard used for his version, so I used these flags (which should bring
the source close to KNF):
-bap
-br
-ce
-ci4
-cli0
-d0
-di0
-i8
-ip
-l79
-nbc
-ncdb
-ndj
-ei
-nfc1
-nlp
-npcs
-psl
-sc
-sob
2009-12-30 12:59:36 -07:00
anthony
a014537837
reran indent (whitespace changes)
...
Merging lai's source with this one is very irritating because
they have different indentation styles. I couldn't find what profile
vegard used for his version, so I used these flags (which should bring
the source close to KNF):
-bap
-br
-ce
-ci4
-cli0
-d0
-di0
-i8
-ip
-l79
-nbc
-ncdb
-ndj
-ei
-nfc1
-nlp
-npcs
-psl
-sc
-sob
2009-12-30 12:51:32 -07:00
anthony
ddd7fdac01
finish fixing segfault (probably caused by argv[] craziness)
...
this diff brought to you by lmod
2009-12-30 00:16:56 -07:00
anthony
e5ac9c2cd8
partially fix segfault when run with options but no input file
...
(caused by fclose()-ing an unopened file)
2009-12-30 00:08:25 -07:00
anthony
5e9c2ee2ab
finish moving src/rgbfix/ to src/fix/
2009-12-29 23:39:06 -07:00
anthony
819615549f
move src/rgbfix/ to src/fix/ for consistency
2009-12-29 23:19:47 -07:00
Anthony Bentley
b6a50a3afc
added -q to the documentation
2009-11-08 21:27:15 -07:00
Anthony Bentley
db0667e54e
added a command line option -q for quiet mode (suppresses messages except errors) (lmod)
2009-11-08 20:28:24 -07:00
Anthony Bentley
b7ca2e2b87
rgbfix: add warning function, separate output between stdout and stderr (lmod)
2009-11-08 19:49:02 -07:00
Anthony Bentley
be13e051f4
xlib: separate output between stdout and stderr (from lmod)
2009-11-08 19:28:59 -07:00
Anthony Bentley
46c131bc86
more HTML formatting gunk
2009-11-08 18:47:28 -07:00
Anthony Bentley
42007c5c92
remove HTML formatting gunk from a lot of the docs
2009-11-06 23:01:00 -07:00
Anthony Bentley
e1f5352ba5
makefile now works with BSD make
2009-11-06 18:37:47 -07:00
Anthony Bentley
8cbc2f4471
use ${CC} and ${YACC} instead of hardcoded programs
2009-11-06 14:59:16 -07:00
Anthony Bentley
8fd364a1a6
document partial binary includes
2009-09-12 18:53:03 -06:00
Anthony Bentley
6c1dd85c9a
add support for partial binary includes (from lmod00)
2009-09-12 18:46:08 -06:00
Anthony Bentley
7d0dd140c3
create stylesheet and link to it
...
Created a simple stylesheet, linked to it, and removed body color
attributes defined there. This reduces repetition and separates
style and presentation.
2009-09-12 17:49:54 -06:00
Anthony Bentley
171061f3a3
Replaced needless anchors with IDs
2009-09-12 17:10:31 -06:00
Anthony Bentley
cd2e59fc8c
converted DOS linebreaks to UNIX
2009-09-12 16:47:49 -06:00
Anthony Bentley
3eb060b017
HTML4 Transitional doctype
...
This is so the HTML can be made simpler later on.
2009-09-12 16:14:08 -06:00
Anthony Bentley
1c734a015d
correct error in documentation
2009-09-12 06:40:24 -06:00
Anthony Bentley
792fb5ef94
Put in the original license
2009-09-11 22:45:47 -06:00
Anthony Bentley
c0031dad51
use [b]yacc instead of bison by default
...
This is scratching my own itch--OpenBSD has byacc in the base
distribution, whereas bison is another program to install.
2009-09-11 22:01:49 -06:00
Anthony Bentley
50a8bbd414
Make grammar specifications yacc-compatible
2009-09-11 21:40:39 -06:00
Vegard Nossum
74eea59208
build: figure out git revision and include as part of version string
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 10:24:12 +02:00
Vegard Nossum
98810091da
build: split cflags to its own variable
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 10:10:12 +02:00