head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-base:1.3 pkgsrc-2008Q4:1.2.0.20 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.18 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.16 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.14 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.12 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.10 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.0.2 pkgsrc-2006Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2010.05.13.14.48.54; author tsutsui; state dead; branches; next 1.3; 1.3 date 2009.07.18.18.43.56; author tsutsui; state Exp; branches; next 1.2; 1.2 date 2006.11.09.20.01.55; author xtraeme; state dead; branches; next 1.1; 1.1 date 2006.09.17.19.53.05; author he; state Exp; branches; next ; desc @@ 1.4 log @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. @ text @$NetBSD: patch-ac,v 1.3 2009/07/18 18:43:56 tsutsui Exp $ A patch pulled from upstream trunk for NetBSD/hpcmips: http://gxemul.svn.sourceforge.net/viewvc/gxemul?view=rev&revision=5472 --- src/devices/dev_vr41xx.c 2009/07/04 19:41:47 +++ src/devices/dev_vr41xx.c 2009/07/10 16:07:32 @@@@ -590,6 +590,7 @@@@ switch (relative_addr) { case 0xc0: odata = (tv.tv_sec & 1) << 15; + odata += (uint64_t)tv.tv_usec * 32768 / 1000000; break; case 0xc2: odata = (tv.tv_sec >> 1) & 0xffff; @ 1.3 log @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) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 0.4.3. 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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2006/09/17 19:53:05 he Exp $ d3 13 a15 11 --- src/include/diskimage.h.orig 2005-11-13 03:22:01.000000000 +0100 +++ src/include/diskimage.h @@@@ -150,6 +150,8 @@@@ void diskimage_dump_info(struct machine /* SCSI CD-ROM commands: */ #define SCSICDROM_READ_SUBCHANNEL 0x42 #define SCSICDROM_READ_TOC 0x43 +#define SCSICDROM_READ_DISCINFO 0x51 +#define SCSICDROM_READ_TRACKINFO 0x52 /* SCSI tape commands: */ #define SCSICMD_REWIND 0x01 @ 1.1 log @Add patches to implement the SCSI commands READ_DISCINFO and 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. @ text @d1 1 a1 1 $NetBSD$ @