Commit Graph

  • a2b3770956 as: scan: rename ungetc field in #scan_state{} to charbuf, drop redundant comment Mikael Pettersson 2019-12-28 19:36:07 +01:00
  • 9ff138e590 as: scan: change ungetc/2 to crash on error, remove error check from callers Mikael Pettersson 2019-12-28 19:24:16 +01:00
  • ac426a91f8 as: scan: move scan_state handling here; scan_state: delete Mikael Pettersson 2019-12-27 21:39:13 +01:00
  • 0f121165fc as: scan_state: stop being a gen_server, store state in caller's process dictionary, simplify Mikael Pettersson 2019-12-27 20:23:00 +01:00
  • 539ebe91db as: input: use scan not scan_state Mikael Pettersson 2019-12-27 17:37:41 +01:00
  • f6533ce53d as: parse: use scan not scan_state Mikael Pettersson 2019-12-27 17:37:32 +01:00
  • 711710fe4b as: scan: add API to wrap scan_state Mikael Pettersson 2019-12-27 17:36:34 +01:00
  • dfc3da824a as: scan_state: export type location/0 Mikael Pettersson 2019-12-27 17:34:17 +01:00
  • 084b3b4e8f as: parse: tag returned statements with start locations; input: use it Mikael Pettersson 2019-12-26 20:38:12 +01:00
  • 589e2c40bb as: parse: use tokens' location tags for diagnostics Mikael Pettersson 2019-12-26 21:10:03 +01:00
  • 34202b2e2f as: scan: tag returned tokens with start locations; parse: ignore them Mikael Pettersson 2019-12-26 17:51:38 +01:00
  • f676ed8428 as: input: handle .data directive and section Mikael Pettersson 2019-12-25 16:53:24 +01:00
  • 24753d5e6d as: parse: handle .data directive Mikael Pettersson 2019-12-15 17:47:26 +01:00
  • effc77d47a as: tunit: handle .data directive Mikael Pettersson 2019-12-15 17:40:02 +01:00
  • 3030d31385 as: token: handle .data directive Mikael Pettersson 2019-12-15 17:25:24 +01:00
  • d18a218203 as: input: handle unknown section error in .pushsection Mikael Pettersson 2019-12-25 16:34:58 +01:00
  • f07d47b9dd as: input: extend sectionsmap() to also record a #section{} Mikael Pettersson 2019-12-23 22:56:31 +01:00
  • 1d0f244efa as: input: clean up section and subsection switching Mikael Pettersson 2019-12-22 23:14:11 +01:00
  • 8acfabae2b as: input: rename Section to SectionName and Subsection to SubsectionNr Mikael Pettersson 2019-12-22 20:46:43 +01:00
  • dbc357c556 as: input: correct type of sections_map field in #ctx{} Mikael Pettersson 2019-12-22 19:07:47 +01:00
  • 761a62817d as: support subsections and section stack directives Mikael Pettersson 2019-12-08 17:01:35 +01:00
  • 273ce47561 as: scan_state: replace filename/1 and linenr/1 with location/1 Mikael Pettersson 2019-12-03 18:53:58 +01:00
  • 5c633b99f4 as: scan: accept semi-colon as statement separator Mikael Pettersson 2019-09-09 21:26:32 +02:00
  • 19e8c9fe7d erlang: add xref checks to compile step Mikael Pettersson 2019-09-09 17:52:55 +02:00
  • c172f2df4b as: use pdp10_extint:uint{18,36}_to_ext/1 Mikael Pettersson 2019-09-09 17:48:24 +02:00
  • a4d6d2ffff getopt: remove unused parse/2 API function Mikael Pettersson 2019-09-09 17:39:20 +02:00
  • 858cec95bb pdp10_stdio:fopen/2: silence unwanted crash report on failure; scan_state:fopen/1: likewise Mikael Pettersson 2019-09-08 19:06:29 +02:00
  • d3e5383f36 as: support local labels Mikael Pettersson 2019-09-07 17:40:39 +02:00
  • 162faefd81 as: tunit: correct type of address field in #s_insn{} Mikael Pettersson 2019-09-07 21:51:11 +02:00
  • c41caee3ba as: support symbols in instruction displacement operands Mikael Pettersson 2019-09-07 13:44:51 +02:00
  • af93b5caab as: parse: Accumulator is not mandatory in PDP10_INSN_BASIC instructions Mikael Pettersson 2019-09-07 13:28:23 +02:00
  • c6c6aeeee4 as: tunit.erl: add missing -spec:s Mikael Pettersson 2019-09-07 11:32:14 +02:00
  • c1bd54af52 as: parse: correct reference to stack pointer in example Mikael Pettersson 2019-09-06 19:11:55 +02:00
  • 3cfa254f46 as: macro10.txt: use consistent and less archaic terminology, tidy Mikael Pettersson 2019-09-06 13:48:30 +02:00
  • 704fdf995e as: add some docs on MACRO-10 syntax Mikael Pettersson 2019-09-02 22:07:24 +02:00
  • e410aa86da readelf: rewrite in Erlang Mikael Pettersson 2019-09-01 14:33:30 +02:00
  • a255160ff7 pdp10_elf36: export read_uint36/1 Mikael Pettersson 2019-09-01 14:03:41 +02:00
  • 9c98a4c3b8 pdp10_elf36:read_SymTab/2: also return the ShNdx of the SymTab; nm: adjust Mikael Pettersson 2019-09-01 11:09:29 +02:00
  • aa8791f897 pdp10_elf36: return {Sh,Sym}Tab with s{h,t}_name:s already translated, do not return {Sh,}StrTab; nm: adjust Mikael Pettersson 2019-08-28 19:49:38 +02:00
  • cb450ce096 pdp10_elf36:format_error/1: handle eof from read_uint9/1 Mikael Pettersson 2019-08-28 18:34:58 +02:00
  • e2ea928b58 TODO: adjust library names for Erlang migration, bump Copyright year range Mikael Pettersson 2019-08-22 20:37:18 +02:00
  • c53d8167c9 nm: use pdp10_elf36 library, use error:format/1 to format error reasons Mikael Pettersson 2019-08-19 22:19:39 +02:00
  • c150845358 pdp10_elf36: start rewrite in Erlang, move Elf36 I/O operations from nm to here Mikael Pettersson 2019-08-22 20:31:46 +02:00
  • 54cb1c0a94 pdp10_extint: rewrite in Erlang Mikael Pettersson 2019-08-19 22:14:55 +02:00
  • 07d88d7697 as: fix missed call to error:format/1 Mikael Pettersson 2019-08-17 18:37:15 +02:00
  • 026bc3b8e2 as: correct .file symbols to be SHN_ABS, init sh_link with SHN_UNDEF not 0, add FIXME to symbols_image/0 Mikael Pettersson 2019-08-17 17:49:47 +02:00
  • 295a44f67d as: convert to module-tagged errors, format_error/1, and error:format/1; improve specs Mikael Pettersson 2019-08-16 19:06:21 +02:00
  • 5e34a16dec od: use error:format/1, remove pointless check of skip_bytes/4 return value Mikael Pettersson 2019-08-16 17:57:25 +02:00
  • f2efa4979f 8to9: use error:format/1, break long line Mikael Pettersson 2019-08-16 17:42:07 +02:00
  • 369668d362 error: new module to format error terms for diagnostics Mikael Pettersson 2019-08-16 15:05:45 +02:00
  • 887fdf0d93 format_error/1 implementations: remove lists:flatten/1 calls, correct return value spec Mikael Pettersson 2019-08-16 14:56:05 +02:00
  • 2b1022dd03 pdp10_stdio: add format_error/1, tag own and file errors with originating module Mikael Pettersson 2019-08-14 21:21:01 +02:00
  • 9af4555d3e getopt: add format_error/1, tag error reasons with ?MODULE Mikael Pettersson 2019-08-14 18:52:46 +02:00
  • 880eba4b76 strtol: add format_error/1, tag error reasons with ?MODULE Mikael Pettersson 2019-08-14 18:27:28 +02:00
  • 180fcbc1b9 change strtol:parse/2 to return a standard {ok,Result} 2-tuple Mikael Pettersson 2019-08-14 17:57:27 +02:00
  • ce0595ef44 as: rewrite in Erlang, initial version Mikael Pettersson 2019-08-11 21:50:14 +02:00
  • c184c9b4a8 pdp10_elf36.hrl: sync with binutils-2.32 ELF definitions Mikael Pettersson 2019-07-31 17:23:21 +02:00
  • fa0d71dd5a pdp10-elf36.h: sync with binutils-2.32 ELF definitions Mikael Pettersson 2019-07-31 16:48:17 +02:00
  • 730bffc28b pdp10_opcodes: rewrite in Erlang, resolve ambiguities Mikael Pettersson 2019-07-30 18:24:38 +02:00
  • 690a7c86e8 ar: rewrite in Erlang, initial version Mikael Pettersson 2019-07-20 19:17:51 +02:00
  • cc709a7e1c pdp10_stdio.erl: correct return value in fopen failure case Mikael Pettersson 2019-07-03 17:22:42 +02:00
  • 512f2e452d ar.c: correct strftime() format for ar -tv Mikael Pettersson 2019-07-02 18:17:06 +02:00
  • a05674438f pdp10_stdio.erl: rename fwrite/2 to fputs/2 Mikael Pettersson 2019-04-07 11:03:27 +02:00
  • 91fbdd293d pdp10-ar.h: update links, fix typo, tweak struct field descriptions Mikael Pettersson 2019-03-01 17:59:55 +01:00
  • 964eed2f31 nm: rewrite in Erlang Mikael Pettersson 2019-02-03 20:57:00 +01:00
  • b37c24d009 pdp10_stdio:fseek/2: correct -spec Mikael Pettersson 2019-02-24 13:35:38 +01:00
  • d394dc856a pdp10_stdio.erl: fix typo and grammar Mikael Pettersson 2019-02-10 20:39:44 +01:00
  • 35ec8bfc13 pdp10-stdio.c: fix typo and grammar Mikael Pettersson 2019-02-10 20:39:29 +01:00
  • 1f37143922 erlang/Makefile: type -p usage requires bash Mikael Pettersson 2019-02-02 17:09:55 +01:00
  • fbd15cc2ba pdp10_elf36.hrl: sync with binutils-2.31.1 ELF definitions Mikael Pettersson 2019-01-27 21:09:32 +01:00
  • 56a4e88356 pdp10-elf36.h: sync with binutils-2.31.1 ELF definitions Mikael Pettersson 2019-01-27 21:09:04 +01:00
  • 12a96bd910 pdp10_elf36.hrl: Erlang version of pdp10-elf36.h Mikael Pettersson 2019-01-27 17:47:49 +01:00
  • 0e363453b0 pdp10_stdint.hrl: Erlang version of pdp10-stdint.h Mikael Pettersson 2019-01-27 17:46:38 +01:00
  • c0eabb3283 pdp10-elf36.h: cleanups Mikael Pettersson 2019-01-27 17:45:23 +01:00
  • a005109a33 change licence of Erlang bits to the GPL, matching the rest of the project Mikael Pettersson 2018-12-26 17:51:03 +01:00
  • b03e167eca od: enable long command-line options Mikael Pettersson 2018-12-26 13:41:47 +01:00
  • ea4861ad33 getopt: correct parsing of options with optional arguments Mikael Pettersson 2018-12-26 13:40:32 +01:00
  • 2e07d7945e od: rewrite in Erlang Mikael Pettersson 2018-12-26 11:04:16 +01:00
  • 0f5fb79ddd implement strtol clone for Erlang Mikael Pettersson 2018-12-26 11:03:05 +01:00
  • 8f7f62a23d od: remove -S alias for -t d4, correct octal output, fix typo in comment Mikael Pettersson 2018-12-26 11:01:58 +01:00
  • 96be8c9d08 erlang: add Makefile and rebar.config for building with rebar3 Mikael Pettersson 2018-12-22 17:46:08 +01:00
  • 980addf20b 8to9: rewrite in Erlang Mikael Pettersson 2018-12-22 17:45:06 +01:00
  • 5d25a3ef8a lib: add .app.src for OTP and rebar compatibility Mikael Pettersson 2018-12-22 17:44:07 +01:00
  • 48de55782f implement runtime support library for Erlang programs (escripts) Mikael Pettersson 2018-12-22 17:42:39 +01:00
  • 5a2f9bb6a2 implement getopt clone for Erlang Mikael Pettersson 2018-12-22 17:40:10 +01:00
  • 6374e23a86 pdp10_stdio: rewrite in Erlang, handle non-seekable files better Mikael Pettersson 2018-12-22 17:38:47 +01:00
  • e72ed3fff2 pdp10-stdio: fix grammar in comment Mikael Pettersson 2018-12-22 17:25:33 +01:00
  • 9fbacc2a32 sim: minor updates Mikael Pettersson 2018-12-22 17:24:29 +01:00
  • 5104bf8847 sim: add effective address calculation Mikael Pettersson 2018-05-08 22:42:06 +02:00
  • abfc0ef04a sim: add core definitions Mikael Pettersson 2018-05-08 22:41:24 +02:00
  • 54ea34d560 pdp10-arith: add pdp10_sext_uint18() Mikael Pettersson 2018-05-08 22:39:18 +02:00
  • 5e2ad04250 sim: add (virtual) memory emulation Mikael Pettersson 2018-05-05 18:26:22 +02:00
  • eeb251944b pdp10-elf36.h: remove old EM_MOXIE definition, add EM_BPF Mikael Pettersson 2018-05-05 18:21:42 +02:00
  • 79fa45ce3a sim: new tool (stub for now) Mikael Pettersson 2018-04-28 17:44:04 +02:00
  • 7fde78a4c6 doc/Booting.txt: fix typos Mikael Pettersson 2017-08-02 17:38:50 +02:00
  • 24cf9254f1 doc/Timers.txt: fix typo Mikael Pettersson 2017-08-02 17:25:38 +02:00
  • 94c28c504a doc/Interrupts.txt: fix typos Mikael Pettersson 2017-08-02 17:14:42 +02:00
  • ab06ac512c doc/pdp10-abi.txt: correct reference to the thread register Mikael Pettersson 2017-08-02 16:47:14 +02:00
  • 824b8a877e doc/Paging.txt: fix some typos Mikael Pettersson 2017-08-02 16:09:58 +02:00
  • ba6485eb1b doc: add notes on boot sequences for different PDP10 generations Mikael Pettersson 2015-09-22 23:29:07 +02:00