Commit graph

48 commits

Author SHA1 Message Date
David Given
25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00
George Koehler
a434749fd9 Widen valu_t in the assembler to 64 bits.
Most machines had undefined valu_t and redefined it to a different
type.  Edit mach/*/as/mach0.c to remove such redefinitions, so the
next change to valu_t will affect all machines.

Edit mach/proto/as/comm0.h to change valu_t to int64_t, and add
uvalu_t and uint64_t.

Remove int64_t y_valu8 from the yacc %union, now that valu_t y_valu
can hold 64 bits.  Replace y_valu8 with y_valu.  The .data8 pseudo
becomes less special; it now accepts absolute expressions.

This change simplifies the assembler and seems to have no effect on
the assembled output.  Among the files in share/ack/examples, the only
changes are in hilo_bas.* and startrek_c.linuxppc, but those files
seem to change whenever I rebuild them.
2019-10-04 18:58:56 -04:00
George Koehler
fd27acb487 Fix assembly of bfffo d1[0:32], d3
The assembler wrongly defined _bfexts_ and _bfffo_ with the same bits
as _bfextu_; this turned all bfexts and bfffo instructions into
bfextu.  Motorola's 68k Programmer's Reference Manual (1992) gives
different bits for bfexts, but still has wrong bits for bfffo.  Change
bfexts and bfffo to match the 68k emulators musahi, aranym, syn68k.

The bitfield width is from 1 to 32, not 0 to 31, so move the warning
from 32 to 0.  This doesn't change the warning message, so it will say
that 0 is "too big", when 0 is really too small.
2019-09-24 10:44:48 -04:00
carl
9bb69bbb98 Fix several compiler warnings by adding braces 2019-05-14 23:21:19 +08:00
carl
1636b9b52d Add function prototypes. 2019-03-25 00:11:55 +08:00
David Given
fd91851005 Add enough return types to the K&R C that the ACK builds (on Linux) using clang
now.
2016-11-10 22:04:18 +01:00
David Given
f67c98e239 Distributions are a pain --- let's not bother any more. Instead, we just tag
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
David Given
b0c238eb5d Made a start on building the runtimes for each platform and language; the
Linuxes all build.

--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk
2013-05-12 23:51:55 +01:00
George Koehler
0131ca4d46 Delete 689 undead files.
These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.

These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.

See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
ceriel
1db6a3029b Header --> Id 1994-06-24 14:02:31 +00:00
ceriel
dfc4956d59 Fixed bug: some offsets were just plain wrong 1993-02-19 17:33:40 +00:00
ceriel
e43e6b8100 Added M68030 MMU instructions 1992-11-19 18:19:55 +00:00
ceriel
53c4951b29 Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 15:05:43 +00:00
ceriel
0c59e2e12d Prevent name clashes with sys/types.h on system V 1991-12-16 15:24:24 +00:00
ceriel
84e6e1a10b Several fixes 1991-10-25 11:13:43 +00:00
ceriel
ad1ff9d44c Added 1991-09-06 16:01:22 +00:00
ceriel
3168ce61ae New installation mechanism 1991-08-28 12:02:16 +00:00
ceriel
0d65b92220 removed -i flag 1991-02-19 16:57:39 +00:00
ceriel
df77506e1f Some modifications to reduce the number of terminals (for Ultrix) 1990-11-30 09:42:49 +00:00
ceriel
91ee73faa3 made Makefile more portable 1990-11-27 16:51:58 +00:00
ceriel
449a757841 Added Johan's changes (nothing significant) 1990-11-16 16:01:04 +00:00
ceriel
7be2815cbc fix to fit? macros 1990-10-15 13:59:55 +00:00
ceriel
89b736ba83 Added mechanism to warn correctly about conflicts 1990-01-19 16:05:44 +00:00
ceriel
2cd40f68e6 Added support for MC68881 floating point processor 1989-06-08 12:46:17 +00:00
ceriel
5c7325e0de fix: tst instruction also allowed on address register 1989-02-28 18:40:35 +00:00
ceriel
b4e24c5bdd bug fix: some variables were not initialized all the time 1989-02-23 10:40:12 +00:00
ceriel
3be40e8f15 removed some lint complaints 1988-06-28 13:55:25 +00:00
ceriel
59dbc95e0d made bittable dynamic 1988-06-16 13:46:38 +00:00
ceriel
2722d45fdd larger bittable 1988-06-13 15:29:32 +00:00
ceriel
85348f653d cas instruction was encoded wrong 1988-01-11 13:25:28 +00:00
ceriel
8120857c5b disabled listing facilities 1987-09-08 08:59:03 +00:00
ceriel
07a8c48171 fix in one of those tricky addressing modes 1987-08-14 00:15:49 +00:00
ceriel
3d90e41a7f fixed a fix, which did not fix a bug after all 1987-08-13 10:18:25 +00:00
ceriel
ab341e1c93 fixed EXG instruction 1987-08-12 18:37:20 +00:00
ceriel
a6bf3e8892 yet another fix, this time to divu/divul/divs/divsl 1987-08-12 18:32:15 +00:00
ceriel
2381b2e136 disabled assertions, fixed bug with pack/unpk 1987-07-16 09:44:44 +00:00
ceriel
87c67b8c5f EM --> EMHOME 1987-06-30 18:20:25 +00:00
ceriel
81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel
fd1682052d contained a switch on a long 1987-03-19 10:08:31 +00:00
ceriel
6eaf182cee Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel
815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel
11ef9eed01 divu.l, etc where encoded wrong. 1987-03-05 11:21:34 +00:00
ceriel
f8204dc8a9 newer version 1987-02-26 19:49:42 +00:00
ceriel
6d0a4a9ce0 changed directory: nas --> as 1987-02-09 16:29:15 +00:00
ceriel
31b5e111bf Initial revision 1987-01-29 20:15:14 +00:00
ceriel
b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
keie
177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie
772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00