TODO: see cpu_arm_instr_dpi; non-zero steps but still under 256 is not implemented yet
to_be_translated(): TODO: unimplemented instruction:
ebf61a60: e28fc600 add ip,pc,#0
Problems found with existing digests:
Package suse131_libSDL
1c4d17a53bece6243cb3e6dd11c36d50f851a4f4 [recorded]
da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]
Package suse131_libdbus
de99fcfa8e2c7ced28caf38c24d217d6037aaa56 [recorded]
da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]
Package suse131_qt4
94daff738912c96ed8878ce1a131cd49fb379206 [recorded]
886206018431aee9f8a01e1fb7e46973e8dca9d9 [calculated]
Problems found locating distfiles for atari800, compat12, compat 13,
compat14, compat15, compat20, compat30, compat40, compat50,
compat50-x11, compat51, compat51-x11, compat60, compat61,
compat61-x11, fmsx, osf1_lib, vice, xbeeb, xm7.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Changelog:
[20140817] Release 0.6.0.1. It has been a while since the last
release, and the SVN repository mirror at Sourceforge seems to be
broken, so it felt reasonable to package the current code into a
patch release. Not much has happened feature-wise since 0.6.0.
[20140816] On FreeBSD/amd64 with GCC 4.2.1 as the default compiler,
you may need to install GCC 4.8.4 and run the configure script like
this to avoid triggering a bug in the default compiler:
CXX=c++48 CXXFLAGS=-Wl,-rpath,/usr/local/lib/gcc48 ./configure
[20110820] Not much coding lately. The only thing worth mentioning
is that the Dreamcast emulation mode now gets further when running
Marcus Comstedt's test programs, and also shows "something" when
booting the PROM from my real Dreamcast. (This was in the legacy
Dreamcast mode, for fun. I haven't had time to work on the new
framework at all.)
[20100729] Uploaded a clip to YouTube, showing the NetBSD/pmax
install procedure in GXemul.
Now works with NetBSD 4, 5 & 6 which would have previously failed.
Comment out some unusual sector subtractions which handled values in the
multigigabyte range.
Now allows all tested NetBSD versions (3, 4, 5 & 6) to mount ISO images
---
The main change between release 0.4.7.2 and 0.6.0 is:
* Since late 2007, a complete rewrite of the emulator's base framework
has been going on. GXemul 0.6.0 is a very early release of the new
framework. So far, only the testm88k machine mode has been rewritten
to use the new framework, all other machine modes run in legacy mode
using the old framework (which is still included).
In other words: For most emulation modes, 0.6.0 will be exactly
like 0.4.7.2.
In addition to the new framework, a couple of other changes are
worth mentioning:
* Many unused, rarely used, and bogus emulation modes and features
were removed, to reduce the maintenance burden.
* Some operating systems listed on the guest OS page have had
new releases; the documentation has been updated to reflect this.
* New source code (but not the legacy part) is documented using
Doxygen comments, and there is a unit testing framework in place.
* There is now finally an install Makefile target, and the -j make
option can be used to parallelize builds.
Please read the HISTORY file for more details.
---
Also update pkgsrc files:
* update COMMENT and DESCR per the latest release note
* remove MAKE_JOBS_SAFE=no as mentioned in the above changes list.
for running several NetBSD ports properly on the emulator. PR pkg/41742
Discussed with and okay'ed by wiz@.
Upstream changes:
The changes between release 0.4.6.6 and 0.4.7 are:
* Motorola 88K emulation is now complete enough to run a guest operating
system: OpenBSD/mvme88k 4.4.
A big thank you goes to Miod Vallat, who sent me physical 88100
documentation, via snail mail. This has been invaluable when implementing
the 88K emulation mode.
The changes between release 0.4.7 and 0.4.7.1 are:
* Applying a man page hypenation patch from Jonathan Wiltshire.
* Minor documentation errors fixed.
* Some more missing M88K instructions added.
* NetBSD/hpcmips can now be installed and run using serial console (i.e.
without -X), in addition to using the framebuffer.
The changes between release 0.4.7.1 and 0.4.7.2 are:
* NetBSD 5.0, OpenBSD 4.5, and HelenOS 0.4.0 have been released, and the
guest OS page has been updated to reflect this. (Not all versions and
architectures work; the versions listed on the guest OS page are the latest
ones that have been tested.)
* A bug has been fixed which prevented configuration files from being used.
Patches pulled from upstream trunk:
patch-aa:
Applying a patch for setting the ARCBIOS OSLOADPARTITION environment
variable in a more correct way.
http://gxemul.svn.sourceforge.net/viewvc/gxemul?view=rev&revision=5473
This makes NetBSD/arc work on PICA emulation with VGA console.
(more proper fix than the previous patch-aa)
patch-ab:
Better fix for the Cobalt board ID number.
http://gxemul.svn.sourceforge.net/viewvc/gxemul?view=rev&revision=5485
(fixes in the previous patch-ab has been integrated in the latest release)
patch-ac:
Applying a patch which makes NetBSD/hpcmips work well with the clock again.
http://gxemul.svn.sourceforge.net/viewvc/gxemul?view=rev&revision=5472
pkgsrc changes:
- update MASTER_SITES and HOMEPAGE (now they are in sourceforge)
- update PLIST (add share/doc/gxemul/unsupported.html)
Changes:
- Applying a patch from Kiyotaka Inaba which causes an ARM UND
exception to be generated by the instruction word 0xe6000011, which
is needed by gdb when running inside the emulator. Also enabling
ARM UND exceptions for ARM floating point instructions (needed by
both Linux and NetBSD/arm).
- Fix for a free() bug in bootblock_iso9660.c. Updating the
OpenBSD/landisk installation instructions from 4.2 to 4.4, after
verifying that it works.
Due to small issue with gxemul (PCI registers values of piix
controller are not saved having been written) FreeBSD in
gxemul panics after detecting IDE devices. Apply this patch to
fix it...
Bump PKGREVISION.
Changes since 0.4.6.1:
* Applying a patch from Oleksandr Tymoshenko for the wdc device, fixing the
order of 16-bit words within 32-bit words in the identify struct, and the
error register is not cleared on reads any more.
* The disk device used in the test machines can now access disk images
larger than 4 GBs when emulating 32-bit architectures (as suggested by
Julian Elischer).
* For ARM emulation, a special case for PC-relative load which wasn't
implemented before has now been implemented. (The problem could be
triggered by attempting large builds using NetBSD's pkgsrc inside e.g.
NetBSD/cats.)
* The ARM 'bkpt' instruction has been implemented (patch from Jiri Svoboda).
The changes between release 0.4.6 and 0.4.6.1 are mostly focused on documentation
updates, to reflect new releases of guest operating systems:
* OpenBSD 4.2 has been released. OpenBSD/landisk 4.2 works in GXemul.
* NetBSD 4.0 has been released. The installation instructions in GXemul's
documentation have been updated to reflect this.
o In most cases this simply means that NetBSD 4.0 should work,
in addition to NetBSD 3.1.
Some specifics worth mentioning are:
o For NetBSD/pmax, the change from 3.1 to 4.0 means that X Windows is now
working again out-of-the-box. (Simply run startx as root to start X.)
o For NetBSD/arc, the supported version has jumped from 1.6.2 to 4.0.
o NetBSD/landisk has been released, and works in GXemul.
o NetBSD/prep is unfortunately still at NetBSD 2.1.
o In some emulation modes, such as evbmips, hpcmips, and perhaps some more,
NetBSD 4.0 uses the clock in a way which is not yet implemented in the
emulator. (NetBSD 4.0 works, but NetBSD 3.1 worked better.)
o (I have not tried some of the "heavier" emulation setups, such as
NetBSD/sgimips.)
The changes between release 0.4.5.1 and 0.4.6 include, among other things:
o) NetBSD/pmppc can now run in the emulator (with root-on-nfs), on
an emulated Artesyn PM/PPC board.
o) An instruction combination has been implemented for the idle loop
used by NetBSD/arm (cats, netwinder, and iq80321). In plain English,
this means that if the guest OS inside the emulator is not using
any CPU, the emulator should not use much CPU on the host either.
o) Some minor SuperH emulation speed improvements.
o) General code cleanup: Non-working (skeleton) emulation modes have
been removed, to make it easier to maintain the source code in
the long run, and many unused/legacy constructs have been removed.
The changes between release 0.4.5 and 0.4.5.1 include, among other things:
o) OpenBSD/landisk has now had its first release (4.1, 2007-05-01).
Landisk emulation is now stable enough to allow OpenBSD/landisk
to be installed onto a disk image, and run from it.
o) Finally found and fixed an old bug in the address to symbol name
lookup mechanism, which caused some symbols to be missed. Debug
output with -t or -i should now show all symbols.
o) Initial support for "disk overlays" has been implemented. This
enables e.g. simple roll-back of emulated disk contents to a
previous state.
o) Dyntrans bug fixes; code translations on physical addresses that
were offset a multiple of 128 MB from each other could either
cause weird bugs, or translation leaks (leading to unnecessary
dyntrans cache overflows).
o) Some cleanup: The GDB debugging stub support, some dummy machine
modes (TS7200, Walnut, PB1000, and Meshcube), and some dummy or
experimental CPUs (RCA180x and Transputer) have been removed, to
make the emulator slightly more maintainable.
o) SuperH (SH4) emulation is now somewhat more stable.
x) GXemul 0.4.4: A NetBSD/dreamcast Live CD works.
x) GXemul 0.4.4.1: A Linux/dreamcast Live CD also works.
o) PowerPC "G4" emulation is now stable enough to let NetBSD/macppc
run from a disk image. (Installing actually worked before, but the
NetBSD/macppc GENERIC kernel uses AltiVec instructions which were
not implemented correctly.)
o) The PICA-61 (arc) and i80321 (evbarm) emulation modes now have their
timers fixed at 100 Hz. A hardcoded speed like this is very ugly, but
it is at least better than before (when the timer wasn't really
running at any specific speed at all).
Changes between release 0.4.3 and 0.4.4 include, among other things:
o) The interrupt subsystem has been redesigned. This means two things:
x) Internal code cleanup, which makes the whole emulator more
maintainable. Instead of using magically encoded integers
for interrupts, strings are now used. These strings are in
the form of "paths", so that devices and busses can more
easily be connected to other busses, devices, or CPUs.
x) Some machine types which happened to work in release 0.4.3,
but were not listed in the documentation as working, may
have stopped working now. As always, the documentation should
indicate the combinations of machine modes and guest OSes that
are supposed to work.
o) SuperH (SH4) emulation is now somewhat more stable, enough to let a
NetBSD/dreamcast Live CD be usable.
o) PowerPC "G4" emulation is now stable enough to let NetBSD/macppc
run from a disk image. (Installing actually worked before, but the
NetBSD/macppc GENERIC kernel uses AltiVec instructions which were
not implemented correctly.)
o) The PICA-61 (arc) and i80321 (evbarm) emulation modes now have their
timers fixed at 100 Hz. A hardcoded speed like this is very ugly, but
it is at least better than before (when the timer wasn't really
running at any specific speed at all).
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.