Commit graph

  • c4bbe52d24 Pretty working 65oo2 assembler. 65oo2 d0p1 🏳️‍⚧️ 2024-02-23 16:09:37 +0100
  • 7550b7dbc6 Basic assembly syntax d0p1 🏳️‍⚧️ 2024-02-22 20:37:12 +0100
  • 9a7c5579b5 65oo2 boilerplate d0p1 🏳️‍⚧️ 2024-02-22 16:13:52 +0100
  • 7cc3f65a58 xr/17032 boilerplate default d0p1 🏳️‍⚧️ 2024-02-20 04:11:09 +0100
  • db5a32c68c
    Merge pull request #288 from tkchia/tkchia/20230708 David Given 2023-07-08 22:17:27 +0200
  • 56ebd1409b plat/linuxppc/emu: get dump_state( ) to also dump FP registers tkchia 2023-07-08 19:50:09 +0000
  • 7dd8ea2ea5 plat/linuxppc/emu: fix fctiw & fctiwz emulation for AArch64 host tkchia 2023-07-08 19:47:00 +0000
  • 6aa3fef91f
    Merge pull request #278 from davidgiven/dtrg-qemu David Given 2023-02-14 00:09:59 +0100
  • 3badc8ece7 Remove the qemu tests --- they've never been reliable and cause problems for people. dg 2023-02-13 22:21:42 +0000
  • 1fb1016349
    Merge pull request #248 from davidgiven/llgen David Given 2023-01-08 21:32:29 +0100
  • 278ed3cf26
    Merge pull request #267 from davidgiven/dtrg-fixes David Given 2023-01-08 13:02:19 +0100
  • f21d256f3f Update documentation. dg 2023-01-08 11:27:46 +0000
  • 42b8c481e3 More warning fixes. dg 2023-01-08 11:27:36 +0000
  • 0fe814b530 Merge from master. dg 2023-01-08 10:35:47 +0000
  • 9dfa4a88c5
    Merge pull request #276 from davidgiven/dtrg-build David Given 2022-12-30 20:27:54 +0100
  • baff578256 Fix some build issues when using the make build backend. dg 2022-12-30 18:50:16 +0000
  • 5b554e8e6e
    Merge pull request #274 from tkchia/tkchia/20220920 David Given 2022-09-21 00:41:40 +0200
  • b59422a24b pc86: add degenerate "hard disk partition table" to boot sector tkchia 2022-09-20 16:14:38 +0000
  • 8619ce3ada
    Merge pull request #272 from tkchia/tkchia/20220826 David Given 2022-08-26 23:14:26 +0200
  • 247a2bd6ae plat/msdos386: rename _psp[] to .psp, avoid namespace pollution tkchia 2022-08-26 17:29:54 +0000
  • f8a6f92752 plat/msdos386: fix: RM int 0x21 calls was clobbering high halves of esi and edi registers tkchia 2022-08-26 17:28:25 +0000
  • cba54b205b plat/msdos386: refactor, firm up, and optimize tkchia 2022-08-26 17:20:56 +0000
  • 8891fae303
    Merge pull request #270 from tkchia/tkchia/20220823 David Given 2022-08-24 19:13:37 +0200
  • 15955282f6 plat/msdos386: fix some issues in libsys code tkchia 2022-08-24 15:17:04 +0000
  • 249e4b9069 plat/msdos386: fix a few more issues with startup and stub code tkchia 2022-08-24 10:17:15 +0000
  • 95ed8ee484 plat/msdos386: fix startup code so that it works under dosemu2 tkchia 2022-08-23 14:35:43 +0000
  • 0165c07c7b
    Merge pull request #269 from davidgiven/dtrg-msdos386 David Given 2022-08-19 21:00:43 +0200
  • 887ec0656e Update documentation. David Given 2022-08-19 20:08:39 +0200
  • d24c3f8722 Fix typo. David Given 2022-08-19 20:03:48 +0200
  • c37c0e62cc Remember to actually update the brk position when calling brk. David Given 2022-08-19 20:03:40 +0200
  • dc1f69be83 Most of read and write now works; filename-based operations partially work; but there's a nasty memory corruption somewhere which needs investigating. David Given 2022-08-19 00:08:57 +0200
  • 5329c98b81 Simplify and fix reading and writing so they seem to work. David Given 2022-08-18 21:21:33 +0200
  • cc356b5c75 Programs now start up and can write to the console, but crash when reading. David Given 2022-08-18 00:24:08 +0200
  • 48398b072a write() system calls work; start going through the libsys. David Given 2022-08-17 22:34:06 +0200
  • 680b6b9857 Marshal the environment, command line and PSP into 32-bit memory. David Given 2022-08-11 23:36:23 +0200
  • 1764c6baa2 Made realloc work; the 32-bit process can now be resized to include bss and stack. David Given 2022-08-10 16:14:12 +0200
  • 967b46e98e Hacky workaround to make lar work. David Given 2022-08-10 00:15:40 +0200
  • b868c1ece9 Hacky workaround to make operatings on pointer differences work. David Given 2022-08-10 00:15:28 +0200
  • d464606dd6 We can now load and run 32-bit protected-mode executables. We have not, however, set up the data segment. David Given 2022-08-09 23:49:18 +0200
  • b48b5b13ce Maybe have a working stub now. David Given 2022-08-09 23:32:41 +0200
  • 21b30ccadb We can now switch to 32-bit mode. David Given 2022-08-08 23:22:00 +0200
  • 1e0961c679 Do enough of the boot stub to produce an EXE header and enter DPMI protected mode. David Given 2022-08-08 22:03:12 +0200
  • 3716d49cd9 Allow arithmetic on variable values. David Given 2022-08-08 22:02:51 +0200
  • f2a49ff3ab msdos86 actually emits .COM files. David Given 2022-08-08 00:01:06 +0200
  • b81ac5e2c3 Cut-and-paste the msdos86 libsys so the msdos386 stuff now at least builds. David Given 2022-08-07 22:10:08 +0200
  • 00c722d2ef Merge from trunk. David Given 2022-08-07 22:01:08 +0200
  • a47bb5493d
    Merge pull request #268 from tkchia/tkchia/self-host David Given 2022-08-07 20:42:01 +0200
  • 63f646de78 plat/msdos86: add rename( ) tkchia 2022-08-07 16:38:31 +0000
  • 03420ef4ad Fix warnings caused by bad prototypes. David Given 2022-08-03 21:13:12 +0200
  • 6d9ac0b182 Add the nonfunctional boilerplate for the MSDOS 386 port. David Given 2022-08-03 20:41:06 +0200
  • a45f1cdd33 Allow stosw, lodsw, scasw. David Given 2022-08-03 20:32:58 +0200
  • 86ded9ea2c
    Merge pull request #266 from tkchia/tkchia/20220802 David Given 2022-08-03 14:16:33 +0200
  • 3b1d440d5c Fix cpp.ansi crash when stringifying missing macro argument tkchia 2022-08-02 15:28:21 +0000
  • afd6f30812
    Merge pull request #265 from davidgiven/dtrg-fixes David Given 2022-08-01 22:46:02 +0200
  • 5dd6e8c856 Make compatible with lua 5.1. David Given 2022-08-01 22:44:31 +0200
  • 50d3354ccb
    Merge pull request #264 from davidgiven/dtrg-fixes David Given 2022-08-01 22:37:19 +0200
  • d728801f43
    Merge pull request #263 from tkchia/tkchia/20220801 David Given 2022-08-01 22:34:57 +0200
  • 511c3e99ee Fix a whole bunch of warnings. David Given 2022-08-01 22:08:23 +0200
  • 551f666028 Silence an irritating warning. David Given 2022-08-01 22:08:13 +0200
  • fc0cdc0471 Don't dump statistics unless in verbose mode. David Given 2022-08-01 22:01:18 +0200
  • 3f64b7c8c1 Don't spam the output with debug information unless -v is set. David Given 2022-08-01 21:58:01 +0200
  • 14c386561a Fix use-after-free in Modula-2 middle-end's em_m2 tkchia 2022-08-01 17:48:54 +0000
  • 3757b4ad03
    Merge pull request #260 from davidgiven/dtrg-ci David Given 2022-07-20 01:04:58 +0200
  • c295920696 Make the Windows binaries actually run. David Given 2022-07-20 00:25:07 +0200
  • f5acf70911 Typo fix. David Given 2022-07-20 00:24:52 +0200
  • 6a3c94a9d0 Better string escaping, but it's still not good enough to support paths with spaces. David Given 2022-07-20 00:24:20 +0200
  • 3e394b95e4 Actually make the binaries runnable... and a fraction of the size. David Given 2022-07-19 21:44:34 +0200
  • 4555352a18 Build a Windows installer when doing a CI build. David Given 2022-07-19 21:21:48 +0200
  • 79aff56b62 Actually honour LDFLAGS. David Given 2022-07-19 21:21:23 +0200
  • 33ce9169b4
    Merge pull request #259 from davidgiven/dtrg-ci David Given 2022-07-18 23:05:01 +0200
  • 967ba0f417 Disable appveyor. David Given 2022-07-18 23:03:00 +0200
  • 8d51f476b2 Typo fix. David Given 2022-07-18 22:30:23 +0200
  • 6cd0c8c958 Properly declare close(). David Given 2022-07-18 22:24:41 +0200
  • 64c62439cd Fix a bunch of issues with the new temp file generation. David Given 2022-07-18 22:18:08 +0200
  • 0cd26b1d0c Get fed up with trying to make mkstemp work and wrote my own function which does what I want. David Given 2022-07-18 21:42:52 +0200
  • 0cadd6a299 Remove shf, which is obsolete and unused. David Given 2022-07-18 20:50:26 +0200
  • bf8dda7aa3 Remove the K&R cpp, which is obsolete and unused. David Given 2022-07-18 20:49:58 +0200
  • e9687e90b5 Remove flex, which is obsolete and unused. David Given 2022-07-18 20:49:21 +0200
  • 3a417ef5a0 Remove byacc, which is obsolete and unused. David Given 2022-07-18 20:49:05 +0200
  • af72a7accb Update README. David Given 2022-07-18 20:47:29 +0200
  • ddee0f20e8 Disable line ending conversion. David Given 2022-07-18 20:39:07 +0200
  • 56b0eb81c1 Treat \r as a space. David Given 2022-07-18 20:35:53 +0200
  • 7d112a394c Open EM files in binary mode. David Given 2022-07-18 20:25:56 +0200
  • 205a50d8ee Add more binary mode flags. David Given 2022-07-18 19:36:44 +0200
  • 279de30935 More binary mode flag setting. David Given 2022-07-18 19:29:53 +0200
  • c573b9bce2 Split aal arguments properly. David Given 2022-07-18 16:48:14 +0200
  • 01c2342e18 Create archives in chunks to allow for very long lists of members. David Given 2022-07-18 00:55:02 +0200
  • 20c2029753 Remove ed. We don't need it any more! David Given 2022-07-18 00:25:22 +0200
  • 122bfde8bb Remove one more terrible ed script and replace it with a working Lua script. David Given 2022-07-18 00:22:50 +0200
  • 78674d935f Warning fixes. David Given 2022-07-17 23:52:05 +0200
  • 739b9af662 Make ego put its temporary files in the right place. David Given 2022-07-17 21:09:18 +0200
  • 28d4480f62 It turns out that you can't use freopen() to set binary mode of stdin/stdout on Windows; so add a new system function called sys_setbinarymode which does it instead. Then find lots more binary mode flags which need setting. David Given 2022-07-17 20:47:53 +0200
  • acd2fe1351 More binary flags; and, remember to truncate existing files when trying to create new ones. David Given 2022-07-17 20:11:21 +0200
  • e640a33154
    Merge pull request #258 from tkchia/tkchia/abort David Given 2022-07-17 18:29:00 +0200
  • 2558d00d17 Replace the terrible code generation shell script with a Lua script. David Given 2022-07-17 18:15:09 +0200
  • 90c6f0274a Stupid git didn't commit the files I told it to. David Given 2022-07-17 14:53:48 +0200
  • 1ee6efabb0 Use Bison instead of Yacc --- we don't have Posix yacc grammars. David Given 2022-07-17 14:51:18 +0200
  • f8bf333bd4 Replace the dodgy code generation shell scripts with Lua scripts. David Given 2022-07-17 14:31:37 +0200
  • 544e8d474b Only Windows has O_BINARY. David Given 2022-07-17 13:36:26 +0200
  • 1fa8f40beb Only Windows has O_BINARY. David Given 2022-07-17 13:17:24 +0200