From: Brett Gordon Date: Sat, 6 May 2017 02:00:31 +0000 (-0400) Subject: dasm09: add package install, man page, mod docs X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a03897cdc72a8e9af4e40f2e88e50caa1aee1829;p=FUZIX.git dasm09: add package install, man page, mod docs --- diff --git a/Applications/dasm09/README b/Applications/dasm09/README index fdb069ae..ded1dd2e 100644 --- a/Applications/dasm09/README +++ b/Applications/dasm09/README @@ -1,3 +1,12 @@ +Lightly modified to compile and run under Fuzix by Brett M. Gordon 2017: + +- original loads entire image to a buffer and dasms from there. I +redefined the low-level macro to call read functions that read +directly from a FILE stream. A 32K userspace would have a hard time +with large images using the original method! + + +Original README: dasm09: M6809/H6309/OS9 disassembler V0.1 © 2000 Arto Salmi Usage: dasm09 [options] diff --git a/Applications/dasm09/dasm09.1 b/Applications/dasm09/dasm09.1 new file mode 100644 index 00000000..d1ea94b3 --- /dev/null +++ b/Applications/dasm09/dasm09.1 @@ -0,0 +1,48 @@ +.TH man 1 "dasm09 M6809/H6309 Disassembler" "FUZIX" \" -*- nroff -*- +.SH NAME +dasm09 \- Disassemble 6809/6309 images +.SH SYNOPSIS +.B dasm09 +[options] +.SH DESCRIPTION +.B dasm09 +disassembles a 6809/6309 machine code image. +.SS OPTIONS +.TP +.I "-begin" +start disassembly address +.TP +.I "-end" +end disassembly address +.TP +.I "-offset" +address to load program +.TP +.I "-out" +output file +.TP +.I "-noaddr" +no address dump +.TP +.I "-nohex" +no hex dump +.TP +.I "-os0" +use os9 psuedo-opcode for swi2 +.TP +All address values are in hexadecimal. +.SH EXAMPLES +.IP +dasm09 -out cat.asm -offset 100 /bin/cat +.SH EXIT STATUS +.TP +.B 0 +Completed successfully. +.TP +.B 1 +An error occured. +.SH BUGS +os9 call table is not tested. +.SH AUTHORS +Arto Salmi + diff --git a/Applications/dasm09/fuzix-dasm09.pkg b/Applications/dasm09/fuzix-dasm09.pkg new file mode 100644 index 00000000..28c54b06 --- /dev/null +++ b/Applications/dasm09/fuzix-dasm09.pkg @@ -0,0 +1,5 @@ +package dasm09 +if-file dasm09 + +f 0755 /usr/bin/dasm09 dasm09 +f 0644 /usr/man/man1/dasm09.1 dasm09.1 \ No newline at end of file