summaryrefslogtreecommitdiff
path: root/emulators/mips64emul
AgeCommit message (Collapse)AuthorFilesLines
2005-03-14Added a patch that uses the <stddef.h> offsetof macro for constantrillig2-1/+56
expressions. Approved by wiz.
2005-02-23Add RMD160 digests to the SHA1 onesagc1-1/+2
2005-02-20Update to 0.3 (pointed out by the author Anders Gavare).xtraeme3-12/+13
Summary of changes from version 0.2.4.1 to 0.3: x) Performed a major code clean-up. x) Support for using "configuration files" has been added, so settings do not have to be entered on the command line anymore. (Useful for complex emulation setups.) x) Multiple machines can now be emulated simultaneously. (This is still experimental, though, and probably a bit buggy.) x) Some command line options have changed since 0.2.4.1, most notable the options to select the machine to be emulated. -E should now be used to select the machine type, and if necessary, -e can be used to select a subtype. x) Many bugfixes, too many to mention here.
2005-01-12Update to 0.2.4.xtraeme3-6/+9
Here is a short summary of the changes from version 0.2.3 to 0.2.4: x) Debian GNU/Linux can now be installed. However, it is VERY unstable, and Linux Oopses when there is heavy serial console output. A '-U' command line option reduces the risk, but doesn't fix the problem. x) When emulating framebuffers for machines like the DECstation 5000/200, that have a hardware mouse cursor, the host machine's X cursor is now invisible. (This might not sound like a very exiting change, but it "feels" a lot better than before.) x) Improvements to the experimental dynamic binary translation subsystem. x) Many improvements to the single-step debugger. x) Various other bugfixes and updates.
2004-12-21Update HOMEPAGE and MASTER_SITE.xtraeme1-3/+3
2004-12-20Update to 0.2.3, and convert to use bsd.options.mk, available options:xtraeme3-11/+19
X11 (enabled by default) This closes PR pkg/28654 by pancake. Here is a short summary of the changes from version 0.2.2 to 0.2.3: x) An experimental dynamic binary translation subsystem has been added, which improves speed. It should work when emulating R3000-style CPUs. Add -b to the command line to enable bintrans. (For R4000-style CPUs, the bintrans system is not entirely reliable yet.) Bintrans backends have been written for the Alpha and i386 platforms. x) Redhat Linux 7.1 for mips has been verified to work under DECstation 5000/200 emulation. (It could probably run with earlier versions of the emulator, but I hadn't seen it myself.) x) Lots of minor bug fixes.
2004-11-04Update emulators/mips64emul to 0.2.2.xtraeme3-7/+24
o) 0.2.1 -> 0.2.2: x) Acer PICA-61 is now emulated well enough to let NetBSD/arc and OpenBSD/arc be installed onto harddisk images. x) Some parts of TCP/IP networking work when running Ultrix as the guest OS. (Network support should still be considered experimental, though, even for NetBSD, OpenBSD, and Linux.) x) Ultrix running with more than one emulated graphics card (dual- or tripple-headed workstation setup) works better than before; when moving the host's mouse pointer from one framebuffer window to another, the emulated mouse is now moved so that it should appear on the correct emulated screen. x) Mach (the microkernel) seems to boot and run on an emulated DECstation. (Unfortunately, I haven't found any "mach_servers" binaries for pmax yet, and without those the microkernel cannot do much.) x) Lots of minor bug fixes.
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-3/+2
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-04Enable pkgviews installation and remove superfluous WRKSRC.xtraeme1-2/+3
2004-08-04Update emulators/mips64emul to 0.2.xtraeme3-7/+8
Changes: 0.1 -> 0.1.1: x) Added support for booting directly from disk images and CDROM images (so far only for the DECstation emulation mode). 0.1.1 -> 0.2: x) More "guest" operating systems now run to an acceptable degree in the emulator; apart from NetBSD/pmax and Ultrix/RISC, it is now also possible to run OpenBSD/pmax and Sprite for DECstation. x) Clock devices in the emulated environment should now adjust themselves to tick at approximately the same speed as the host's clock. (This can be overridden with a command-line option, to set a fixed emulation speed, regardless of the host's speed.) x) Networking support (TCP/IP) is partly implemented, enough to perform an install of NetBSD/pmax or OpenBSD/pmax via ftp or nfs. (This should be considered experimental.) x) The DECstation mouse pointer is now "de-accelerated" to attempt to follow the host's mouse pointer. x) Some minor performance enhancements.
2004-07-03Update emulators/mips64emul to 0.1.1.xtraeme2-5/+5
20040701 The -j option now takes a name, the of the kernel as passed on to the bootloader. ("netbsd" is the default name.) Adding support to load bootstrap code directly from a disk image, for DECstation. Both NetBSD/pmax and Ultrix boot straight of a disk image now, with no need to supply a kernel filename on the command line. (Ultrix still needs -j vmunix, though, to boot from /vmunix instead of /netbsd.) 20040702 Minor bugfix (some new untested code for X11 keypresses was incorrect). 20040702(later) Adding an ugly hack for CDROMs in FreeBSD; if an fread() isn't done at a 2048-byte aligned offset, it will fail. The hack tries to read at 2048-byte aligned offsets and move around buffers to make it work. Adding video off (screen blanking) support to BT459. Making a 0.1.1 release.
2004-07-01Remove a commented out line for WRKSRC.xtraeme1-2/+1
2004-07-01Update emulators/mips64emul to 0.1 (first stable version).xtraeme2-8/+6
In mips64emul's current state, it is possible to emulate a DECstation well enough to let NetBSD/pmax install itself onto a harddisk image, in a manner very similar to how an install is performed on a real physical DECstation. (Ultrix/RISC is also possible to install this way.)
2004-06-28Update emulators/mips64emul to 20040627.xtraeme3-7/+19
Changes: 27 Jun 2004: (Early.) I found and fixed an interrupt related bug in the BT459 ramdac device, which affected the performance of any machine using the PMAG-BA negatively (that means DECstations), so now Ultrix 4.2 boots into graphical login in about 25 seconds! Wow. For X11 bitdepths other than 8 or 24, a warning message is printed at startup. Adding a BUGS file containing a list of known bugs. I'm doing a lot of other minor fixes, optimizations, and beautifying of the code as well. I measured the time of another full NetBSD 1.6.2 install, on the same host and with the same compiler as on the 24th of June: Runtime flags: -CR4000 -D2 -q -M32 -I6000000 Total install time (NetBSD 1.6.2, silent mode): about 50 minutes Total time until the login prompt appears: about 2 minutes (This is with -CR4000 and without -X.) Compiling the emulator inside itself: 1.5 hours -fomit-frame-pointer is now enabled by default by the configure script, if the C compiler supports it. Adding a minimal man page, doc/mips64emul.1. 25 Jun 2004: (Later) Adding a -v (verbose) command line option. If -v is not specified, the emulator goes into -q (quiet) mode just before it starts to execute MIPS code.
2004-06-23Update emulators/mips64emul to 20040623.xtraeme2-5/+5
Changes: 23 Jun 2004: (Early in the morning.) Performing a general code cleanup (comments, fixing stuff that led to compiler warnings, ...). Disabling MIPS16 support by default, and making it a configure time option to enable it (--mips16). This gives a few percent speed increase overall. Increasing performance by assuming that instruction loads (reading from memory) will be at the same page as the last load. First by assuming that a vaddr -> paddr translation for instruction loads almost always is preserved (gaining a few percent speed), and then that a paddr -> host memblock translation also holds if the instruction is in normal RAM (which led to some more percents of speed increase). :-) This is definitely a fine night for coding... For example, the total time from starting the emulator until Ultrix 4. 2 shows it graphical login dialog is 48 seconds! 22 Jun 2004: (Late.) Trying to track down the last SCSI tape bugs. Removing all dynamic binary translation code (bintrans), starting from scratch again. 22 Jun 2004: (Early in the morning.) Finally! After many many hours of trial and error, I got the SCSI tape stuff to work; when going past the end of a file, automagically switch to the beginning of the next. 21 Jun 2004: Removing the Nintendo 64 emulation mode, as it is too uninteresting to support. Adding SCSI tape device support (read-only, so far, and not 100% working). Fixing a bug which caused the cursor to be corrupted if new data was written to the framebuffer, but the cursor wasn't moved. 20 Jun 2004: Adding a program which converts SGI prom dumps from text capture to binary, and some hacks to try to make such an IP22 PROM to work better in the emulator.
2004-06-21Initial import of mips64emul-20040619 from pkgsrc-wip.xtraeme4-0/+43
mips64emul is a MIPS machine emulator. The goals are to emulate 32-bit and 64-bit MIPS CPUs and enough surrounding hardware to fake real machines, capable of running real (unmodified) operating systems, such as NetBSD or Linux.