From owner-freebsd-emulation Sun Jan 20 13:59:11 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from bigglesworth.mail.be.easynet.net (bigglesworth.mail.be.easynet.net [212.100.160.67]) by hub.freebsd.org (Postfix) with ESMTP id 4A78D37B400 for ; Sun, 20 Jan 2002 13:59:07 -0800 (PST) Received: from 213-193-182-47.adsl.easynet.be ([213.193.182.47] helo=krijt.dyn.dhs.org) by bigglesworth.mail.be.easynet.net with esmtp (Exim 3.16 #1) id 16SPzQ-0002IU-00 for freebsd-emulation@freebsd.org; Sun, 20 Jan 2002 22:59:01 +0100 Received: (from wim@localhost) by krijt.dyn.dhs.org (8.11.3/8.11.3) id g0KLx8l72908 for freebsd-emulation@freebsd.org; Sun, 20 Jan 2002 22:59:08 +0100 (CET) (envelope-from wim) Date: Sun, 20 Jan 2002 22:59:07 +0100 From: Wim Livens To: freebsd-emulation@freebsd.org Subject: porting disk2d64 to freebsd ? Message-ID: <20020120215906.GC72391@krijt.livens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.24i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've found a nice tool to transfer Commodore 64 disks to .D64 images (http://www.weihenstephan.org/~michaste/disk2d64/) However, this is for Linux. I think it shouldn't be too hard to get it to run under freebsd, even for a amateur like me. I rather not install a linux box just for that... It's a very small C program that controls the parallel port using primitives from linux's , like outb() etc. I'm not familiar with this but don't mind fooling around a bit so I've found that provides the same definitions, so I included that and it compiled up to: gcc -o disk2d64 -O3 disk2d64.c /tmp/cci9d5Ir.o: In function `main': /tmp/cci9d5Ir.o(.text+0x6a9): undefined reference to `ioperm' *** Error code 1 Now I guess I have to link some library, but have no idea how to find which one. I'm not at all sure if I'm on the right track, any help is appreciated. Thanks. (Please reply to me directly, I'm not on the list.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message