Commit graph

79 commits

Author SHA1 Message Date
ryoon
9ad34ca61a Add NetBSD CVS tag and a comment 2017-09-04 11:19:43 +00:00
mrg
db0310be3b the MIPS 4Kc, 4KEc, 5Kc and 5KE cpus don't have an FPU.
this will break the MALTA kernel in gxemul, but the real hardware does
not have an FPU..

bump pkg revision.
2017-08-24 22:52:55 +00:00
christos
0e08b39240 fix paths in patches. 2017-07-16 16:36:09 +00:00
christos
57d26ac576 Fix dropped characters on landisk (sh4). Now the arrow keys work in the
installer.
2017-07-16 14:10:58 +00:00
christos
43456d0b56 fix root device for pmax. 2017-06-29 17:51:46 +00:00
christos
bf71d48719 Fix cats interrupt issue, cosmetic addition to footbridge. 2017-05-15 01:45:49 +00:00
christos
f61d58d8e1 regen 2017-05-11 12:38:53 +00:00
christos
0f2cdee7ea fix cats kernel:
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
2017-05-11 12:38:30 +00:00
maya
ead9a31366 Add license (BSD-3) 2016-07-05 16:56:57 +00:00
mrg
6b1ea1f14c add support for tgei, tegiu, tlti, tltiu, teqi and tnei instructions.
bump pkg version.

ok @wiz.
2016-03-29 19:03:07 +00:00
agc
81bef80aeb Add SHA512 digests for distfiles for emulators category
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.
2015-11-03 20:30:54 +00:00
ryoon
838d768225 Remove obsolete patch.
Thank you, wiz@.
2014-12-12 09:57:43 +00:00
ryoon
61df09a294 Update to 0.6.0.1
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.
2014-12-08 20:55:19 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jperkin
05724d5b0b Use LDFLAGS instead of LIBS, fixes SunOS. Patch from Sebastian Wiedenroth. 2013-12-10 11:53:55 +00:00
mrg
ab2be59433 add support for more ways of writing to arm SPSR, as needed by
netbsd/arm32 ports since about 6 or so months ago.

bump pkg version.

ok agc.
2013-06-29 08:24:53 +00:00
alnsn
2ced419969 Fix compilation on Linux. 2012-11-23 22:43:09 +00:00
joerg
efadb51da3 Don't define functions returning functions. 2012-11-23 12:33:22 +00:00
asau
49d542f06c Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 12:55:08 +00:00
abs
838ecc3f21 fix missing patch checksums 2012-08-02 09:41:06 +00:00
abs
cd440bebdb Fake up a much more complete TOC based on real CD image.
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
2012-07-26 22:10:28 +00:00
abs
df31b10aee Fix the mkstemp() configure check - can now boot full Dreamcast CD images again. Bump PKGREVISION 2012-07-16 00:19:14 +00:00
dholland
4c4343063a Add -lsocket -lnsl on Solaris. 2012-06-23 19:23:32 +00:00
matt
48b050df13 Fix a bug in blx rM register emulation on arm. 2012-02-06 05:37:40 +00:00
mrg
6140956ed2 implement sh "LDS Rn,MACH". gcc now generates this for some kernel code. 2011-10-26 06:57:30 +00:00
mrg
5e3c131656 implement "LDS Rn,MACL". 2011-07-28 06:25:13 +00:00
mrg
343b888793 - try to enable big-endian mips support (from matt@)
- add sh kernel-address-in-user-mode exception support (seems to work
  for me, but XXX: some sh person should really look at this.)
2011-07-17 12:49:17 +00:00
joerg
8f77f742cd Fix compilation. Fix PLIST. Bump revision. 2010-07-02 14:41:49 +00:00
tsutsui
2c743c4d24 Update gxemul to 0.6.0. Okay'ed by wiz@, in PR pkg/43296 by me.
---
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.
2010-05-13 14:48:53 +00:00
asau
614b1571c1 MAKE_JOBS unsafe. 2009-07-21 20:52:21 +00:00
tsutsui
89611c9248 Update gxemul to 0.4.7.2, and also pull some fixes from upstream trunk
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)
2009-07-18 18:43:56 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
rillig
c54ea98505 Fixed some minor pkglint warnings. 2009-06-12 19:04:02 +00:00
minskim
d2d7b78901 Update gxemul to 0.4.6.6. Submitted by ISIHARA Takanori in PR pkg/39906.
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.
2008-11-14 06:42:34 +00:00
minskim
ff6667f910 Apply a patch from FreeBSD Ports:
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.
2008-10-24 19:55:10 +00:00
minskim
56b5463059 Regen patch-aa with pkgdiff so that it conatins the NetBSD tag. 2008-10-24 19:31:01 +00:00
tsutsui
40a2751c5c Add a workaround to make NetBSD/arc work with vga/pckbd console.
(set proper ARC environments to avoid cngetc() on boot device detection)

Bump PKGREVISION.
2008-09-14 06:15:35 +00:00
minskim
f077fa192a Update gxemul to 0.4.6.5.
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).
2008-06-18 21:30:15 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
wiz
41f426ade1 Reset maintainer on his request. 2008-05-25 21:20:07 +00:00
apb
a9752b00c8 Replace DESCR with a copy of the first few paraghraphs from the README
inside the distribution.

OK xtraeme.
2008-03-29 16:52:07 +00:00
xtraeme
be57c14f52 Update to 0.4.6.1:
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.)
2008-01-04 22:31:01 +00:00
joerg
b535f51416 Add DESTDIR support. 2008-01-03 19:58:38 +00:00
xtraeme
0070e46870 Update to 0.4.6:
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.
2007-06-16 18:15:16 +00:00
xtraeme
1f7d412caa Update to 0.4.5.1:
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.
2007-05-01 16:34:45 +00:00
xtraeme
cb75316170 Update to 0.4.5.
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.
2007-04-14 17:46:41 +00:00
xtraeme
640abc101a Update to 0.4.4.1:
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).
2007-03-18 21:05:38 +00:00
xtraeme
cfe12af3f1 Update to 0.4.4 (thanks to Anders for the notice):
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).
2007-02-19 06:54:47 +00:00
joerg
1c02336619 Modular Xorg support. 2007-02-07 20:00:49 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
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.
2007-01-07 09:13:46 +00:00