summaryrefslogtreecommitdiff
path: root/emulators/gxemul
AgeCommit message (Collapse)AuthorFilesLines
2019-08-23Update to 0.6.2ryoon20-579/+39
* All pkgsrc patches are included by upstream or target files are removed. Changelog: The most important changes between release 0.6.1 and 0.6.2 are: When writing to mirrored RAM ranges, any dyntrans translations made in either the mirror or the mirrored ranges are now invalidated. This means that an emulated SGI O2 can now be used with up to 1 GB of RAM when running OpenBSD/sgi as a guest OS. Previously, 256 MB was the maximum amount of emulated RAM possible for the SGI O2. A fix 2018-06-13 (between 0.6.0.1 and 0.6.0.2) for translation invalidation when using larger than 4 KB pages, which made HelenOS/malta run further, caused a regression which broke NetBSD/hpcmips (on VR4121 CPUs, which have 1 KB native page size). A bit of cleanup seems to have fixed this, so that both NetBSD/hpcmips and HelenOS/malta work now. Cleanup: The MIPS processor emulation implemented in the "new framework", and the corresponding MIPS machine modes in the new framework, have been removed. (All meaningful MIPS emulation is in the old framework anyway.) Documentation updates: Each emulated machine now has a page of its own with the guest OSes or other software that may run in that mode, rather than just having a long unsorted list of guest OS installation instructions. Less focus on the "new framework", more focus on the old framework where things actually work. An introduction to using GXemul as a debugger. A general overhaul to remove old stuff, fix errors, and make things easier to read.
2019-06-30Restore these changes that were lost in a recent updateskrll3-3/+164
When emulating the MIPS DIV and DDIV instructions, check for divide overflow instead of performing the overflowing divide on the host and crashing the emulator. This is needed to run recent versions of the NetBSD test suite on an emulated MIPS system. implement trap with immediate instructions present in MIPS32.
2019-06-02emulators/gxemul: fix hpcmips emulationgson3-5/+16
Add a patch from Anders Gavare that makes the hpcmips installation work again. Bump PKGREVISION.
2019-04-11PR/54114: Ignore unimplemented scsi commands.christos3-3/+22
2019-03-03emulators/gxemul: Fix console data lossgson3-2/+19
Set the SA_RESTART flag on SIGALRM so that it will not interrupt writes to the console causing loss of console data. Bump PKGREVISION.
2019-01-04Update to 0.6.1ryoon62-3667/+83
* Update MASTER_SITES and HOMEPAGE Changelog: * Support OpenBSD/sgi 6.4 * Add luna-88k and luna-88k2 emulations * Add i960 emulation stub
2018-08-08Fix patch checksum.gson1-2/+2
2018-08-08emulators/gxemul: check for MIPS divide overflowgson3-10/+33
When emulating the MIPS DIV and DDIV instructions, check for divide overflow instead of performing the overflowing divide on the host and crashing the emulator. This is needed to run recent versions of the NetBSD test suite on an emulated MIPS system.
2018-07-04*: Move SUBST_STAGE from post-patch to pre-configurejperkin1-2/+2
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
2018-03-21gxemul: Fix build with clang 7svnkamil50-35/+3401
Fix C++11 literals, they are now fatal. Reverting to C++98 does not work as it is, as this code uses C++11 extensions like 'PRIx32' macros. Extend one int to long in order to handle all values in a switch() case. No functional change intended.
2017-09-04Add NetBSD CVS tag and a commentryoon2-2/+6
2017-08-24the MIPS 4Kc, 4KEc, 5Kc and 5KE cpus don't have an FPU.mrg3-3/+21
this will break the MALTA kernel in gxemul, but the real hardware does not have an FPU.. bump pkg revision.
2017-07-16fix paths in patches.christos3-9/+9
2017-07-16Fix dropped characters on landisk (sh4). Now the arrow keys work in thechristos4-3/+74
installer.
2017-06-29fix root device for pmax.christos3-3/+19
2017-05-15Fix cats interrupt issue, cosmetic addition to footbridge.christos3-3/+63
2017-05-11regenchristos2-4/+4
2017-05-11fix cats kernel:christos1-6/+16
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
2016-07-05Add license (BSD-3)maya1-1/+2
2016-03-29add support for tgei, tegiu, tlti, tltiu, teqi and tnei instructions.mrg4-2/+161
bump pkg version. ok @wiz.
2015-11-03Add SHA512 digests for distfiles for emulators categoryagc1-1/+2
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.
2014-12-12Remove obsolete patch.ryoon1-28/+0
Thank you, wiz@.
2014-12-08Update to 0.6.0.1ryoon9-194/+50
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-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2013-12-10Use LDFLAGS instead of LIBS, fixes SunOS. Patch from Sebastian Wiedenroth.jperkin1-2/+2
2013-06-29add support for more ways of writing to arm SPSR, as needed bymrg3-8/+44
netbsd/arm32 ports since about 6 or so months ago. bump pkg version. ok agc.
2012-11-23Fix compilation on Linux.alnsn2-1/+15
2012-11-23Don't define functions returning functions.joerg7-1/+100
2012-10-03Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-08-02fix missing patch checksumsabs1-1/+8
2012-07-26Fake up a much more complete TOC based on real CD image.abs3-10/+91
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-16Fix the mkstemp() configure check - can now boot full Dreamcast CD images ↵abs3-4/+20
again. Bump PKGREVISION
2012-06-23Add -lsocket -lnsl on Solaris.dholland1-1/+3
2012-02-06Fix a bug in blx rM register emulation on arm.matt2-1/+14
2011-10-26implement sh "LDS Rn,MACH". gcc now generates this for some kernel code.mrg2-5/+17
2011-07-28implement "LDS Rn,MACL".mrg2-1/+18
2011-07-17- try to enable big-endian mips support (from matt@)mrg4-1/+102
- add sh kernel-address-in-user-mode exception support (seems to work for me, but XXX: some sh person should really look at this.)
2010-07-02Fix compilation. Fix PLIST. Bump revision.joerg4-3/+22
2010-05-13Update gxemul to 0.6.0. Okay'ed by wiz@, in PR pkg/43296 by me.tsutsui7-95/+42
--- 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.
2009-07-21MAKE_JOBS unsafe.asau1-1/+3
2009-07-18Update gxemul to 0.4.7.2, and also pull some fixes from upstream trunktsutsui6-42/+58
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-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-06-12Fixed some minor pkglint warnings.rillig2-14/+14
2008-11-14Update gxemul to 0.4.6.6. Submitted by ISIHARA Takanori in PR pkg/39906.minskim3-10/+9
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-10-24Apply a patch from FreeBSD Ports:minskim3-3/+17
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-24Regen patch-aa with pkgdiff so that it conatins the NetBSD tag.minskim2-7/+8
2008-09-14Add a workaround to make NetBSD/arc work with vga/pckbd console.tsutsui3-2/+46
(set proper ARC environments to avoid cngetc() on boot device detection) Bump PKGREVISION.
2008-06-18Update gxemul to 0.4.6.5.minskim2-6/+6
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-05-26Second round of explicit pax dependencies. As reminded by tnn@,joerg1-2/+4
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
2008-05-25Reset maintainer on his request.wiz1-2/+2