22 Commits

Author SHA1 Message Date
Mikael Pettersson
fadd664dc7 as: move old overly complex incomplete prototype to new 0LD subdir; start afresh with a minimalistic design and improve it incrementally 2013-07-20 10:54:06 +00:00
Mikael Pettersson
4aaf6337f4 doc/MUUO.txt: correct encoding of HALT 2013-07-19 14:27:51 +00:00
Mikael Pettersson
a175bb1f1a od: add od clone 2013-07-18 15:29:16 +00:00
Mikael Pettersson
f8fd594c7f readelf: bump version to 0.1 and hoist its definition to the start of the file 2013-07-17 16:12:42 +00:00
Mikael Pettersson
bf6570bdde readelf: implement disassembly of .text sections, with labels from symtab 2013-07-16 16:55:02 +00:00
Mikael Pettersson
d58f6f8920 gen-test1: correct value for HALT insn 2013-07-16 16:53:18 +00:00
Mikael Pettersson
0a39fd1237 pdp10-opcodes: add pdp10_instruction_from_high13() helper for decoding/disassembly 2013-07-16 16:52:22 +00:00
Mikael Pettersson
8f37f6155e readelf: prettify output, always prefix hex with 0x, avoid hex for non-addresses, do not print data both raw and symbolic, instead print it symbolic with raw only as fallback for unknown cases 2013-07-16 11:45:12 +00:00
Mikael Pettersson
3fe558d6cf readelf: update gen-test1.c to create a complete .o file with sections, string tables, symbol table, and a .text section; update readelf.c to parse and display section headers and the symbol table both while using string tables to display proper names 2013-07-16 10:59:06 +00:00
Mikael Pettersson
082505ff13 MUUO.txt: add notes about MUUOs and the chosen syscall sequence 2013-07-14 11:24:06 +00:00
Mikael Pettersson
a6ff4c9832 pdp10-elf36: defined ELF36_SHDR_SIZEOF and ELF36_SYM_SIZEOF 2013-07-13 20:36:42 +00:00
Mikael Pettersson
42f7cb666f readelf: start implementing readelf clone, currently capable of parsing command line options, reading, verifying, and printing Elf36_Ehdr; add gen-test1.c which outputs a minimal Elf36 .o file 2013-07-10 20:02:19 +00:00
Mikael Pettersson
3979061f0d pdp10-elf36: change Ehdr e_ident{1,2,3,4} to e_wident[4] to make it eaiser to process, define EI_NIDENT, define ELF36_EHDR_SIZEOF or avoid host-level sizeof mishaps 2013-07-10 19:59:31 +00:00
Mikael Pettersson
ba0c6cea95 pdp10-elf36.h: fix documentation nits 2013-07-08 12:50:55 +00:00
Mikael Pettersson
7ba63c4bee pdp10-elf36: add EM_*, GRP_MASKOS, GRP_MASKPROC, SHF_COMPRESSED, Elf36_Chdr, and ELFCOMPRESS_* from draft #14 published 2013-06-10 2013-07-05 18:37:00 +00:00
Mikael Pettersson
d938fc426b pdp10-elf36: drop the _Ext types, add procedures for reading and writing Elf36 structures 2013-07-05 17:00:54 +00:00
Mikael Pettersson
73e1d21104 pdp10-stdio: add pdp10_ftello(), include <sys/types.h> for off_t 2013-07-05 16:59:13 +00:00
Mikael Pettersson
8ea37e57b9 pdp10-extint: drop typedef, rename x[] field to nonet[] 2013-07-05 16:58:19 +00:00
Mikael Pettersson
5d2fd7e2b3 pdp10-elf36.h: change e_ident to allow it to be binary compatible with Elf32 and Elf64, change ELFCLASS36 value to reduce change of collision with other Elf extensions 2013-07-04 19:52:45 +00:00
Mikael Pettersson
06134f9e04 pdp10-opcodes: fix grammar and spelling, add note on pdp10 word size and bit numbering, delete unused cpu models, renumber enumerations,move internal helper declarations from .h to .c, add declarations for pdp10_extended_instructions[] 2013-07-04 14:03:27 +00:00
Mikael Pettersson
546bb5a145 import pdp10 opcode declarations and definitions from Brinkhoff's pdp10-its-disassembler github repo 2013-07-04 11:46:27 +00:00
Mikael Pettersson
7c189dd488 Initial import 2013-07-03 16:29:42 +00:00