added -s option to override start address

This commit is contained in:
Egan Ford 2017-04-01 20:04:06 -06:00
parent 66f63c53d7
commit da5d869e01
4 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,7 @@ usage: c2d [-vh?]
-h|? this help
-m jump to monitor after booting
-s XXXX jump to XXXX after booting
-v print version number and exit
input without a .mon extension is assumed to be a binary with a 4 byte header.
@ -80,6 +81,7 @@ Examples:
c2d hello.mon hello.dsk
c2d hello,800 hello.dsk
c2d -m test,300 test.dsk
c2d -s 7300 alpha4,400 alpha4.dsk\n\
```

BIN
bin/c2d

Binary file not shown.

Binary file not shown.

2
c2d.h
View File

@ -17,6 +17,7 @@ usage: c2d [-vh?]\n\
\n\
-h|? this help\n\
-m jump to monitor after booting\n\
-s XXXX jump to XXXX after booting\n\
-v print version number and exit\n\
\n\
input without a .mon extension is assumed to be a binary with a 4 byte header.\n\
@ -34,6 +35,7 @@ Examples:\n\
c2d hello.mon hello.dsk \n\
c2d hello,800 hello.dsk \n\
c2d -m test,300 test.dsk\n\
c2d -s 7300 alpha4,400 alpha4.dsk\n\
\n\
";