bentley
f617078fda
finish minor consistency output changes
2010-01-12 18:42:32 -07:00
anthony
198fcfaab3
minor text output changes
...
- Put quotes around string arguments
- Be consistent with spacing and colons
- Use 0xnn instead of 0Xnn
2010-01-12 18:17:31 -07:00
anthony
ac5b311005
use SI units (KiB) instead of the ambiguous kB
2010-01-12 18:04:42 -07:00
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
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
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
819615549f
move src/rgbfix/ to src/fix/ for consistency
2009-12-29 23:19:47 -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
6c1dd85c9a
add support for partial binary includes (from lmod00)
2009-09-12 18:46:08 -06:00
Anthony Bentley
50a8bbd414
Make grammar specifications yacc-compatible
2009-09-11 21:40:39 -06:00
Vegard Nossum
f81bcc722a
build: merge everything to a single top-level Makefile
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 10:08:32 +02:00
Vegard Nossum
a216855093
Move src/asmotor.h to top-level include/
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 09:29:07 +02:00
Vegard Nossum
afe33e1162
link: move includes to include/link/
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 09:22:49 +02:00
Vegard Nossum
618082bcab
lib: move includes to include/lib/
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 09:18:21 +02:00
Vegard Nossum
cd779b9511
asm: moved includes to include/asm/
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 09:14:19 +02:00
Vegard Nossum
26150fa9d4
asm: add newlines to the ends of yaccprt[134].y
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 09:05:39 +02:00
Vegard Nossum
85f382ffad
asm: run dos2unix on yaccprt1.y
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 09:03:53 +02:00
Vegard Nossum
c6d8069eed
rgbfix: use mkstemp() instead of tmpnam() and fix coding style issues
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 08:59:03 +02:00
Vegard Nossum
bc6b2fe005
link: add missing parameter to error message
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 08:53:18 +02:00
Vegard Nossum
3c82b1ae03
Fixed warnings and some style issues
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 08:51:55 +02:00
Vegard Nossum
b6c749ffbd
Run `indent' on the whole tree
...
Can't indent the .y files yet, they need special treatment.
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 07:59:46 +02:00
Vegard Nossum
660f5daac3
Add .gitignore files
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 07:40:13 +02:00
Vegard Nossum
94fad97aed
Switch line terminators from CRLF to LF
...
Argh, that obnoxious platform again... ;-)
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 07:32:12 +02:00
Vegard Nossum
0d9739535e
Use spaces instead of tabs after CPP directives
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 07:26:46 +02:00
Vegard Nossum
0ce5efb3c5
build: remove obsolete objs* directories
...
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com >
2009-06-11 07:17:03 +02:00