summaryrefslogtreecommitdiff
path: root/emulators/gxemul
AgeCommit message (Collapse)AuthorFilesLines
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
2008-03-29Replace DESCR with a copy of the first few paraghraphs from the READMEapb1-6/+18
inside the distribution. OK xtraeme.
2008-01-04Update to 0.4.6.1:xtraeme3-11/+9
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-03Add DESTDIR support.joerg1-6/+7
2007-06-16Update to 0.4.6:xtraeme3-7/+9
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-05-01Update to 0.4.5.1:xtraeme3-7/+9
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-04-14Update to 0.4.5.xtraeme3-10/+8
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-03-18Update to 0.4.4.1:xtraeme3-8/+16
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-02-19Update to 0.4.4 (thanks to Anders for the notice):xtraeme3-7/+14
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-07Modular Xorg support.joerg1-2/+2
2007-01-07Mechanically replaced man/* with ${PKGMANDIR}/* in the definition ofrillig1-2/+2
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.
2006-11-09Update to 0.4.3.xtraeme6-147/+10
Changes between release 0.4.2 and 0.4.3 include, among other things: o) SuperH (SH4) emulation is now stable enough to let a NetBSD/dreamcast GENERIC_MD (ramdisk) kernel reach userland. o) There is now a simple framework for letting emulated clocks, as seen by guest operating systems, run at the same speed as the host clock. So far, the DECstation, MobilePro (hpcmips), NetWinder, CATS, Malta (evbmips), Cobalt, Algor, Dreamcast, and testmips machine modes use the new clock/timer framework. o) Some changes to the way expressions are evaluated in the built-in debugger, and some changes in command behaviour: x) Expressions (including assignments) can now be arbitrarily complex, using parentheses, and the following operators: + - * / % (modulo) ^ (xor) & (and) | (or) x) Some internal emulator variables can now be read/written using normal expressions. Examples of commands that did not work earlier, but should work now: print verbose r5 = sp - arch_pagesize * 4 machine[0].statistics_enabled = 1 x) To force a name to be interpreted as a setting/register name, a hash sign (#) is now used instead of the percentage sign (%). (In the new expression evaluator, % means arithmetic modulo.) x) The 'focus' command now also selects a cpu, in addition to selecting machine and emul. x) The 'reg' command only prints registers for one cpu now, not all cpus in the currently focused machine. o) The wdc (standard IDE controller) had a bug which prevented disk images larger than 2 GB to work correctly. This has been fixed. o) For MIPS emulation, some combinations of emulated processor + guest operating system should now work better when idling (i.e. the host should not run at 100% CPU): x) For MIPS32/MIPS64 and RM5200, the 'wait' instruction should now work more or less as expected. x) For VR41xx (e.g. MobilePro) emulation, the standby instruction should work like the 'wait' instruction. x) For R3000 emulation, where there is no hardware wait instruction, I've implemented "instruction combination" hacks for both NetBSD/pmax and Debian/pmax, so that their cpu idle loops are detected and treated almost as a wait instruction. o) MIPS 64-bit address translation (X=1) was not fully working before; TLB exception handling for xkseg and larger-than-2GB-userland should now actually work. (Thanks to Juli Mallett and Carl van Schaik for noticing these problems.) o) The mouse cursor update routines in DECstation (LK201) emulation previously used the fact that guest OSes set the _hardware_ cursor position. In order to support X Windows when emulating modern versions of NetBSD/pmax, which don't set the hardware position anymore, a workaround has been implemented which only sends relative coordinates to the guest OS. This has two drawbacks: 1. Ultrix emulation with dual- and tripple-head emulation will most likely feel very strange. It will still work, though. 2. Cursor movement feels "accelerated", because the emulator sends unaccelerated movements to the guest OS, which then accelerates them. This can however be compensated to some degree by running 'xset m 1 0' in the guest OS. Having weird accelerated mouse movement is better than having no mouse support at all, so this change was necessary.
2006-09-17Add patches to implement the SCSI commands READ_DISCINFO andhe4-2/+112
READ_TRACKINFO, sufficient to get a NetBSD/cats kernel mount a cd-rom image. I still get ""cd_setblksize: trying to change bsize, but no blk_desc" but it seems to be a benign warning. Pkgrevision bumped to 1.
2006-09-17Add a patch which implements free-running timers on footbridge, ashe2-1/+28
found on cats and netwinder. This gets a NetBSD/cats -current install kernel booting again after the move to timecounters. Before this change, the emulated kernel would loop during the tlp0 attachment, inside delay(). Note, I'm guessing that a free-running timer should not generate an interrupt on wrap (I don't have the hardware documentation). Patch sent upstream.
2006-08-20Update to 0.4.2.xtraeme3-11/+17
Changes between release 0.4.1 and 0.4.2 include, among other things: o) The NetWinder emulation mode now works well enough to let NetBSD/netwinder run from a disk image. (NetBSD/netwinder has to be installed manually, though, because there is no installation ramdisk kernel. The GXemul documentation has an example of how to install NetBSD/netwinder using an emulated NetBSD/pmax machine.) o) Algorithmics P5064 emulation works well enough to let NetBSD/algor run from a disk image. (Similar to NetBSD/netwinder, it has to be installed manually, using another emulated machine.) o) PCI configuration register writes can now be handled, which allows NetBSD/Malta (evbmips) 3.0.1 and NetBSD/cobalt 3.0.1 to run from PCI IDE harddisk images. (Previously, only NetBSD 2.1 worked for the Malta and Cobalt emulation modes.) o) Some performance increases: The virtual translation table update routine has been simplified to work the same way for 32-bit and 64-bit emulation, and this apparently results in a speedup for all 64-bit modes. For 32-bit MIPS, some more instruction combinations have been added.
2006-07-27Only include x11.bl3.mk if the x11 option is turned on.wiz1-2/+3
From pancake in PR 34088.
2006-07-25Update to 0.4.1:xtraeme2-6/+7
Changes between release 0.4.0.1 and 0.4.1 include, among other things: o) Some bugs in the dynamic translation core have been fixed, making all emulation modes (especially the MIPS mode) more stable. o) In the refactoring effort between 0.4.0 and 0.4.0.1, single-stepping (and instruction tracing) of 64-bit programs was accidentally broken. Single-stepping in 64-bit mode could result in strange exceptions. This has been fixed in 0.4.1. o) MIPS emulation performance has been improved somewhat: R3000: After removing some buggy code (hints for physical page translations), it was possible to remove the workaround for R3000 caches which was needed in 0.4.0.1 to make Linux and Ultrix run. This gives an overall speedup for R2000/R3000. For non-R3000, there have been some speedups as well. After fixing reference count bugs for 64-bit addressing in the dyntrans system, workarounds/hacks in the tlbwr/tlbwi instructions and in the ASID change helper function could be removed. o) A new -s command line option is now available, for dumping raw runtime data/statistics on every instruction to a file. Currently, the following kinds of data can be dumped: 1. the program counter (virtual address) 2. the physical address representation of the program counter 3. the internal dyntrans instruction call pointer, useful when developing/optimizing the emulator This data can then be analyzed by external tools. (There was a -s command line option in previous releases of the emulator, but it did not work as intended, and was not usable from dyntrans emulation modes.)
2006-07-05Fixed pkglint warnings.xtraeme1-3/+3
2006-07-02Update to 0.4.0.1:xtraeme3-16/+51
The most important change between release 0.3.8 and 0.4.0.1 is: o) The emulation of MIPS processors has been completely rewritten; it now uses the same portable dynamic translation system as the ARM and PowerPC emulation modes. On Alpha and i386 hosts (and AMD64 hosts running in 32-bit mode), GXemul previously used translation into native code. This release will perform worse than 0.3.8 on those host architectures. On all other hosts (including AMD64 running in native 64-bit mode), 0.4.0 is likely to be faster than 0.3.8, when emulating MIPS. I think that in the long term, moving towards full portability like this is a good idea. (0.4.0 was a bit buggy and unstable; 0.4.0.1 is a quick-fix release.) There have also been many other changes, including, but not limited to: o) The "test machine" functionality is more well-defined than before, and some tutorial-like demos have been added. These could be useful e.g. in operating system construction courses. o) NetBSD/sgimips 3.0 works now. This is most likely due to the rewrite of the MIPS emulation mode. Previous releases of GXemul only worked with NetBSD/sgimips 2.1. o) I have begun implementing rudimentary support for GDB remote serial protocol connections. This means that you can run e.g. the Data Display Debugger, and connect it to a GXemul instance. No advanced GDB functionality is working yet, but starting and stopping the emulated machine and single-stepping should work.