Apout.git
4 years agoMinimal changes to get m6502 to compile (won't work) master multi_arch
Nick Downing [Sun, 30 Jun 2019 13:10:54 +0000 (23:10 +1000)]
Minimal changes to get m6502 to compile (won't work)

4 years agoHopefully a script to regenerate the *.hxx files for m6502
Nick Downing [Sun, 30 Jun 2019 00:35:22 +0000 (10:35 +1000)]
Hopefully a script to regenerate the *.hxx files for m6502

4 years agoPristine copy of src/devices/cpu/m6502 from MAME commit 7a3eb11, but only the m6502...
Nick Downing [Sun, 30 Jun 2019 00:08:04 +0000 (10:08 +1000)]
Pristine copy of src/devices/cpu/m6502 from MAME commit 7a3eb11, but only the m6502 and m65c02-related files

4 years agoGlobally change z180_device::XXX or /*z180_device::*/XXX to z180_device_XXX and simil...
Nick Downing [Sat, 29 Jun 2019 23:56:37 +0000 (09:56 +1000)]
Globally change z180_device::XXX or /*z180_device::*/XXX to z180_device_XXX and similar, required to synthesize the prefix in code where it was implicit in C++, allows better coexistence of multiple CPUs in same executable

4 years agoConnect up z180 memory to apout memory
Nick Downing [Sat, 15 Jun 2019 02:50:37 +0000 (12:50 +1000)]
Connect up z180 memory to apout memory

4 years agoAdd sources from mame commit e17ff48 src/devices/cpu/z180 directory, with minimal...
Nick Downing [Fri, 14 Jun 2019 12:42:58 +0000 (22:42 +1000)]
Add sources from mame commit e17ff48 src/devices/cpu/z180 directory, with minimal translation from C++ to C to get them to compile and link without errors

4 years agoAdd stub for Z180 CPU and make things compile without the PDP11 CPU
Nick Downing [Fri, 14 Jun 2019 12:28:10 +0000 (22:28 +1000)]
Add stub for Z180 CPU and make things compile without the PDP11 CPU

4 years agoSeparate out PDP11 stuff into a separate directory and header file
Nick Downing [Fri, 14 Jun 2019 11:24:40 +0000 (21:24 +1000)]
Separate out PDP11 stuff into a separate directory and header file

4 years agoClunky hack to get unrecognized executables to run via emulated /bin/sh, add ./n...
Nick Downing [Thu, 6 Jun 2019 12:39:27 +0000 (22:39 +1000)]
Clunky hack to get unrecognized executables to run via emulated /bin/sh, add ./n.sh script to set up binfmt_misc (run via sudo)

7 years agoReindented source code using astyle.
Adrian Pistol [Mon, 31 Oct 2016 04:28:59 +0000 (05:28 +0100)]
Reindented source code using astyle.

I tried GNU Indent too, but it decided to act up and throw random tabs here and there, which astyle did not.

7 years agoMove the temporary directory base from /usr/tmp to /tmp
Adrian Pistol [Mon, 31 Oct 2016 03:05:00 +0000 (04:05 +0100)]
Move the temporary directory base from /usr/tmp to /tmp

On many modern systems, /usr/tmp may not exist. However, /tmp almost always does.

7 years agoImprove Makefile slightly.
Adrian Pistol [Mon, 31 Oct 2016 03:02:25 +0000 (04:02 +0100)]
Improve Makefile slightly.

This improves the Makefile structure a little. Shouldn't make much of a difference.

7 years agoAssume APOUT_ROOT if not given.
Adrian Pistol [Mon, 31 Oct 2016 02:47:04 +0000 (03:47 +0100)]
Assume APOUT_ROOT if not given.

This is optional behaviour that may not be wanted. To disable, pass -DAPOUT_DONT_ASSUME_ROOT in the CFLAGS. (Also changed timestamp format because it does not include the time zone. Using plain %c now.)

7 years agoAdd gitignore.
Adrian Pistol [Mon, 31 Oct 2016 02:32:31 +0000 (03:32 +0100)]
Add gitignore.

While possibly not being a complete list, hopefully this will exclude most of the unwanted stuff in commits.

7 years agoMerge branch 'master' of https://github.com/DoctorWkt/Apout
Warren Toomey [Mon, 31 Oct 2016 00:46:38 +0000 (10:46 +1000)]
Merge branch 'master' of https://github.com/DoctorWkt/Apout

Separating Apout out into its own repository.

7 years agoInitial commit
Warren [Mon, 31 Oct 2016 00:29:45 +0000 (10:29 +1000)]
Initial commit

15 years agoFrom Russ Cox:
warren.toomey [Mon, 19 May 2008 13:46:53 +0000 (13:46 +0000)]
From Russ Cox:
In v7trap.c, the case S_BREAK body is wrong:

<       i=0; break;
---
>       i=sarg1; break;

since (in V6 at least) the break system
call does not return anything -- it leaves r0
untouched.  If break zeros r0, then db mysteriously
fails to load the symbols from binaries.

15 years agoAnother patch from Sergey Poznyakoff. A compile-time define allows Apout
warren.toomey [Mon, 19 May 2008 13:45:10 +0000 (13:45 +0000)]
Another patch from Sergey Poznyakoff. A compile-time define allows Apout
to run V1 binaries which do not have 0407 nor 0405 headers; this includes
chmod, rm, ln.

15 years agoRemove all of the Apout compile warnings on Ubuntu and FreeBSD.
warren.toomey [Mon, 19 May 2008 13:27:35 +0000 (13:27 +0000)]
Remove all of the Apout compile warnings on Ubuntu and FreeBSD.

15 years agoPatches from Sergey Poznyakoff, way back in 2001. powf() function may not be
warren.toomey [Sat, 17 May 2008 02:37:44 +0000 (02:37 +0000)]
Patches from Sergey Poznyakoff, way back in 2001. powf() function may not be
present. struct termios may lack c_ispeed, c_ospeed members.

15 years agoI added the APOUT_UNIX_VERSION variable, so we can recompile/reassemble
warren.toomey [Thu, 15 May 2008 03:21:46 +0000 (03:21 +0000)]
I added the APOUT_UNIX_VERSION variable, so we can recompile/reassemble
V2 source code and then run it, without having to muck with the magic.c.

15 years agoAdd __APPLE__ for OS X. Remove -static for OS X.
warren.toomey [Fri, 9 May 2008 14:05:29 +0000 (14:05 +0000)]
Add __APPLE__ for OS X. Remove -static for OS X.

15 years agoAdd V2 bin/strip to list.
warren.toomey [Tue, 6 May 2008 23:32:26 +0000 (23:32 +0000)]
Add V2 bin/strip to list.

15 years agoImport of wkt's apout src tree into svn.
warren.toomey [Tue, 6 May 2008 23:25:22 +0000 (23:25 +0000)]
Import of wkt's apout src tree into svn.