Commit Graph

520 Commits

Author SHA1 Message Date
Mikael Pettersson
7a5ff6e992 elf2boot: allow selecting C36 or H36 as output format, make C36 default 2025-08-08 20:14:11 +02:00
Mikael Pettersson
18ee8e6453 elf2boot: generate output one full word at a time 2025-08-08 18:09:03 +02:00
Mikael Pettersson
b5e2857116 pdp10_opcodes: mark more insns as A_UNUSED and/or E_UNUSED 2025-07-21 16:14:46 +02:00
Mikael Pettersson
3f80870025 pdp10_opcodes: use BASIC format with separate flag for A_UNUSED insns
This matches reality better: A is may-be-zero (preferred) not must-be-zero.
2025-07-21 15:56:23 +02:00
Mikael Pettersson
1e8dc3468f pdp10_opcodes: fix typos in comments 2025-07-21 14:11:19 +02:00
Mikael Pettersson
c47d61b550 rebar3: bump to 3.25.0 2025-05-24 16:49:06 +02:00
Mikael Pettersson
52ad811aa0 pdp10_opcodes: fix dialyzer error with OTP-28.0-rc3 2025-04-20 12:19:50 +02:00
Mikael Pettersson
1f636bff4f rebar3: bump to 3.24.0 2025-04-19 23:46:50 +02:00
Mikael Pettersson
63746bbc93 pdp10_elf36.hrl: sync with binutils-2.44 ELF definitions 2025-04-19 23:43:00 +02:00
Mikael Pettersson
4edce6a058 pdp10_elf36.hrl: sync with binutils-2.43 ELF definitions 2025-04-19 19:56:32 +02:00
Mikael Pettersson
80e12bf0c8 pdp10_elf36.hrl: add missing AT_HWCAP2 macro 2025-04-19 15:59:20 +02:00
Mikael Pettersson
829dddbe69 pdp10_elf36.hrl: sync with binutils-2.42 ELF definitions 2025-04-19 15:57:07 +02:00
Mikael Pettersson
3ff0f8f203 as: handle .type <sym>,@object 2023-10-13 20:27:30 +02:00
Mikael Pettersson
1455bfc2e2 opcodes: mark SKIPA as E_UNUSED 2023-10-11 19:03:28 +02:00
Mikael Pettersson
6bd82dd571 as: treat . as a symbol in expressions 2023-10-11 18:36:50 +02:00
Mikael Pettersson
36356bbbe6 as: treat ; as starting a line comment, for MACRO-10 compatibility 2023-10-09 21:53:17 +02:00
Mikael Pettersson
d0c78d4423 as: allow upper-case instruction mnemonics 2023-10-09 21:16:11 +02:00
Mikael Pettersson
67361ef2d8 as: add support for .debug* sections 2023-10-07 17:51:00 +02:00
Mikael Pettersson
3c3fbae342 as: add support for .string directive 2023-10-07 17:06:45 +02:00
Mikael Pettersson
1b39e2dc92 as: fix scanning of hex numerals 2023-10-07 16:21:47 +02:00
Mikael Pettersson
f9ea1d57ab as: add support for .2byte and .4byte directives 2023-10-07 16:18:39 +02:00
Mikael Pettersson
39f938c7bb as: add support for Sym1-Sym2 expressions 2023-10-07 16:18:20 +02:00
Mikael Pettersson
81903d1517 TODO: remove ranlib note, add as/ld notes detected by gcc 2023-09-10 17:22:57 +02:00
Mikael Pettersson
149bad4289 ranlib: install as a symlink to ar 2023-09-09 20:06:19 +02:00
Mikael Pettersson
b44d57482b ar: emulate ranlib when invoked as ranlib 2023-09-09 20:05:47 +02:00
Mikael Pettersson
3db8f7e60d elf2boot: remove workaround for recently fixed pdp10_stdio bug 2023-09-06 20:39:11 +02:00
Mikael Pettersson
dc517a8710 pdp10_stdio:handle_fopen/2: handling writes after seeks may require reads, so try to get read access even if the user did not ask for it 2023-09-06 20:39:11 +02:00
Mikael Pettersson
61dcfccd0d pdp10_stdio:prepare_to_write/1: fix failure to reload shiftreg after seek 2023-09-06 20:39:04 +02:00
Mikael Pettersson
0d64455d0d elf2boot: new tool to convert static ELF executables to KLH10-bootable images 2023-09-03 17:43:09 +02:00
Mikael Pettersson
e2c3811daa od: use * to mark suppressed ranges of duplicate lines 2023-09-03 15:29:49 +02:00
Mikael Pettersson
1f102c13bc readelf: use octal for addresses and accumulators 2023-09-03 15:29:49 +02:00
Mikael Pettersson
29fa941e46 rebar.config: trim list of unused exports 2023-09-02 16:46:40 +02:00
Mikael Pettersson
4adb051325 add "make install", installing the tools with pdp10-elf- prefixes 2023-08-24 21:25:29 +02:00
Mikael Pettersson
a55acb51f5 rebar.config: explicitly name escript main modules, so the scripts work even if renamed 2023-08-24 21:23:03 +02:00
Mikael Pettersson
5754587b35 pdp10-abi.txt: update definition of register contents at process start 2023-08-22 19:34:34 +02:00
Mikael Pettersson
9239504ce1 pdp10-abi.txt: in large and medium code models, text starts at page 1 in its section, not offset 020 2023-08-22 19:33:12 +02:00
Mikael Pettersson
36b1a93485 sim_loader: allocate the stack in section 1 not 0 2023-08-21 21:32:01 +02:00
Mikael Pettersson
018497f147 sim_core.hrl: fix typo in docs 2023-08-21 21:29:23 +02:00
Mikael Pettersson
828522d5ef ld_assign: make .text start in section 2 not 1 2023-08-21 21:18:00 +02:00
Mikael Pettersson
cdd7fb386e pdp10-abi.txt: in large and medium code models, move text to section 2 and stack to section 1 2023-08-21 20:58:40 +02:00
Mikael Pettersson
68884d8822 pdp10-abi.txt: fix typos 2023-08-21 20:55:46 +02:00
Mikael Pettersson
f0d8c5bf84 commit some old notes about as and macro10 2023-08-19 19:36:42 +02:00
Mikael Pettersson
632c3aafe5 remove obsolete C code 2023-08-19 19:30:10 +02:00
Mikael Pettersson
dfd5ef162e drop 'clone' from tool descriptions 2023-08-19 19:03:47 +02:00
Mikael Pettersson
fdd0da6a6b readelf: in disassembly print insn virtual addresses not their in-unit offsets 2023-08-19 18:44:10 +02:00
Mikael Pettersson
4f130e89e6 ld_output: add support for archives 2023-08-18 19:17:19 +02:00
Mikael Pettersson
c852cb50f9 ld_output: cleanups 2023-08-18 18:58:58 +02:00
Mikael Pettersson
817bb04464 ld_symtab: add support for archives 2023-08-18 18:58:58 +02:00
Mikael Pettersson
522b7101ca ld_symtab: cleanups 2023-08-18 18:58:58 +02:00
Mikael Pettersson
b4ec2ef819 ld_assign: cleanups 2023-08-18 18:58:58 +02:00