 |
|
| Computers Forum Index » Computer - Emulators (Apple2) » KEGS for X64 Linux?... |
|
Page 1 of 1 |
|
| Author |
Message |
| General_Failure... |
Posted: Thu Aug 27, 2009 10:44 am |
|
|
|
Guest
|
G'day! Tristan here.
I'm trying to make a bit of a comeback which is a little hard because
most of my Apple stuff is buried in storage far away. SO I decided to
go the virtual route.
I found some of my software on an SD card, so I'm set there I think.
But not for an emulator.
I did what anyone would have done and downloaded KEGS. Went to make it
like always, and it refused to, complaining about the 64 bit
architecture.
In the past I have hacked and mangled emulators to get them work,
including bastardised versions of UAE and Basilisk (which incidentally
share the CPU emulation code) but I digress. My point is that at least
I could get normal compile time errors. This one has me defeated.
Does anyone know where there is an X64 ready version for Linux? Or
even an alternative emulator.
Normally I would have settled for running Bernie on my G3 Beige, but
that's in storage too. What can I do, people? I can't ignore my
craving any longer.
I can't even use my IIgs (storage, and keyboard not with computer) or
my IIe Platinum (here, but drives are in storage ...somewhere) and my
PC floppy adaptor was never finished (still need to repair the
controller card after a solder bridge oops).
Are there any other full / free emulators that will work for me?
Sorry about posting via Google Groups, but my ISP has destroyed NNTP
and I don't seem to remember my a2central login.
Thankyou. |
|
|
| Back to top |
|
|
|
| BLuRry... |
Posted: Thu Aug 27, 2009 3:14 pm |
|
|
|
Guest
|
On Aug 27, 7:44 am, "Bill Buckels" <bbuck... at (no spam) mts.net> wrote:
Quote: "General_Failure" <tristan.mumf... at (no spam) gmail.com> wrote:
Are there any other full / free emulators that will work for me?
Can you put-up a VM of some lesser Linux up? And run in there?
Not sure how Wine likes 64-bit (or not), but I've found recent copies
of AppleWin work more or less okay in Wine as long as you add the
winehq repository and install the latest via apt-get or synaptic. If
you need a plain architecture that you can hack around with, you could
grab JACE (http://java-ace.sourceforge.net/) out of sourceforge and
give it a shot, since it only requires JDK 5 -- but it's underpowered
compared to AppleWin or Kegs when it comes to hardware emulation or
debugging. (it provides: basic rgb color emulation, disk emulation
(slot 6, dsk/nib only), speaker sound, 80-column, 128k, Super serial
card emulation via TCP/IP).
If you go the virtual machine route, I recommend trying out Sun's
VirtualBox. Share a common work folder as a samba share, so that way
in a VM you can mount it via Fuse (in Linux) or via mapping network
drive (in windows). That will let you at least retain on common
workspace/filesystem and keep everything tidy.
Out of curiosity, why the need for 64-bit? If you install the 32-bit
"server" kernel in Ubuntu (as opposed to the "generic"), it will
recognize more than 2gb of ram. I'm running 4gb with no issue in it.
Best of luck!
-B |
|
|
| Back to top |
|
|
|
| Bill Buckels... |
Posted: Thu Aug 27, 2009 4:44 pm |
|
|
|
Guest
|
"General_Failure" <tristan.mumford at (no spam) gmail.com> wrote:
Quote: Are there any other full / free emulators that will work for me?
Can you put-up a VM of some lesser Linux up? And run in there? |
|
|
| Back to top |
|
|
|
| General_Failure... |
Posted: Thu Aug 27, 2009 9:46 pm |
|
|
|
Guest
|
Thanks for the info everyone. Soeey about the broken reply style. I'm
not so hot at using Google Groups and I'm out of other options
currently.
On Aug 28, 1:14 am, BLuRry <brendan.rob... at (no spam) gmail.com> wrote:
Quote: On Aug 27, 7:44 am, "Bill Buckels" <bbuck... at (no spam) mts.net> wrote:
"General_Failure" <tristan.mumf... at (no spam) gmail.com> wrote:
Are there any other full / free emulators that will work for me?
Can you put-up a VM of some lesser Linux up? And run in there?
Not sure how Wine likes 64-bit (or not), but I've found recent copies
of AppleWin work more or less okay in Wine as long as you add the
winehq repository and install the latest via apt-get or synaptic.
WINE works really well in 64 bit linux. The only issues I've really
had are the usual dropping it's guts when the app tries to make weird
calls etc.
Quote: If
you need a plain architecture that you can hack around with, you could
grab JACE (http://java-ace.sourceforge.net/) out of sourceforge and
give it a shot, since it only requires JDK 5 -- but it's underpowered
compared to AppleWin or Kegs when it comes to hardware emulation or
debugging. (it provides: basic rgb color emulation, disk emulation
(slot 6, dsk/nib only), speaker sound, 80-column, 128k, Super serial
card emulation via TCP/IP).
That's interesting. I'd never heard of that. Thanks.
Quote:
If you go the virtual machine route, I recommend trying out Sun's
VirtualBox. Share a common work folder as a samba share, so that way
in a VM you can mount it via Fuse (in Linux) or via mapping network
drive (in windows). That will let you at least retain on common
workspace/filesystem and keep everything tidy.
Nice way to do it. Used to do something similar with Bernie, except
with the extra step of using the cc65 on my linux box and then copying
it to the share on the G3.
Quote:
Out of curiosity, why the need for 64-bit? If you install the 32-bit
"server" kernel in Ubuntu (as opposed to the "generic"), it will
recognize more than 2gb of ram. I'm running 4gb with no issue in it.
Best of luck!
-B
Well, The computer I'm using is dual core 64 bit. Tried out x64 linux
and found it to feel somewhat snappier (taking advantage of extra
opcodes maybe?). Sure, I use a bit of ram but I can be downright
brutal on CPUs. Also it bugs me when I know there is a piece of
hardware not being fully utilised.
Bill Buckels wrote:
Can you put-up a VM of some lesser Linux up? And run in there?
That's not a bad idea at all. I do have a windows install on this box.
Well, two actually but everything I use is in Linux and doing the
reboot shuffle is maddening, so I'm looking for a linux based
solution. So something else running in a VM seems the best option. |
|
|
| Back to top |
|
|
|
| General_Failure... |
Posted: Thu Aug 27, 2009 10:44 pm |
|
|
|
Guest
|
On Aug 28, 8:08 am, "BluPhoenyx" <bluphoe... at (no spam) a2central.com.remove-119x-
this> wrote:
Quote: To: General_Failure
General_Failure wrote:
G'day! Tristan here.
I'm trying to make a bit of a comeback which is a little hard because
most of my Apple stuff is buried in storage far away. SO I decided to
go the virtual route.
I found some of my software on an SD card, so I'm set there I think.
But not for an emulator.
I did what anyone would have done and downloaded KEGS. Went to make it
like always, and it refused to, complaining about the 64 bit
architecture.
In the past I have hacked and mangled emulators to get them work,
including bastardised versions of UAE and Basilisk (which incidentally
share the CPU emulation code) but I digress. My point is that at least
I could get normal compile time errors. This one has me defeated.
Does anyone know where there is an X64 ready version for Linux? Or
even an alternative emulator.
This is a GCC issue. Try changing the -march option in the vars file.
Recall that vard is a symbolic link to the file for your system. In my
case it's -march=amdfam10.
Google this. gcc march amd64
Alternately, you might try leaving the -march option out.
Thankyou so much! It was so simple. I just copied the vars_x86linux
file and renamed it. Changed vars to point at it, and changed -
march=pentium to -march=barcelona and it compiled. Runs too. Still
have to chuck my ROM01 file in there so it can boot (once I find it).
but the stats ticking away at the bottom of the app window and the
emulated screen of at (no spam) 's says to me all is right in the world.
Thankyou,
Tristan. |
|
|
| Back to top |
|
|
|
| BluPhoenyx... |
Posted: Fri Aug 28, 2009 2:08 am |
|
|
|
Guest
|
To: General_Failure
General_Failure wrote:
Quote: G'day! Tristan here.
I'm trying to make a bit of a comeback which is a little hard because
most of my Apple stuff is buried in storage far away. SO I decided to
go the virtual route.
I found some of my software on an SD card, so I'm set there I think.
But not for an emulator.
I did what anyone would have done and downloaded KEGS. Went to make it
like always, and it refused to, complaining about the 64 bit
architecture.
In the past I have hacked and mangled emulators to get them work,
including bastardised versions of UAE and Basilisk (which incidentally
share the CPU emulation code) but I digress. My point is that at least
I could get normal compile time errors. This one has me defeated.
Does anyone know where there is an X64 ready version for Linux? Or
even an alternative emulator.
This is a GCC issue. Try changing the -march option in the vars file.
Recall that vard is a symbolic link to the file for your system. In my
case it's -march=amdfam10.
Google this. gcc march amd64
Alternately, you might try leaving the -march option out.
Quote:
Normally I would have settled for running Bernie on my G3 Beige, but
that's in storage too. What can I do, people? I can't ignore my
craving any longer.
I can't even use my IIgs (storage, and keyboard not with computer) or
my IIe Platinum (here, but drives are in storage ...somewhere) and my
PC floppy adaptor was never finished (still need to repair the
controller card after a solder bridge oops).
Are there any other full / free emulators that will work for me?
Sorry about posting via Google Groups, but my ISP has destroyed NNTP
and I don't seem to remember my a2central login.
Thankyou.
Other possibilities are using WINE with KEGS32 which works fairly well
but I prefer the native version myself.
Cheers,
Mike T |
|
|
| Back to top |
|
|
|
| vladitx... |
Posted: Fri Aug 28, 2009 10:15 am |
|
|
|
Guest
|
You can run your 32-bit KEGS binary under 64-bit Linux kernel by
providing a small 32-bit compatibility library, which is usually
installed by default by distributions. The CPU and kernel handle 32-
bit code for backwards compatibility. |
|
|
| Back to top |
|
|
|
| vladitx... |
Posted: Fri Aug 28, 2009 10:18 am |
|
|
|
Guest
|
On Aug 27, 6:14 pm, BLuRry <brendan.rob... at (no spam) gmail.com> wrote:
Quote: Out of curiosity, why the need for 64-bit? If you install the 32-bit
"server" kernel in Ubuntu (as opposed to the "generic"), it will
recognize more than 2gb of ram. I'm running 4gb with no issue in it.
Any Linux kernel enabled at compile time to utilise the PXA x86
extension handles >3 GB. I am running 32-bit with 6 GB RAM and
honestly would put more if the motherboard supported it. |
|
|
| Back to top |
|
|
|
| Tristan... |
Posted: Sat Aug 29, 2009 12:11 am |
|
|
|
Guest
|
On Aug 28, 8:15 pm, vladitx <vlad... at (no spam) nucleusys.com> wrote:
Quote: You can run your 32-bit KEGS binary under 64-bit Linux kernel by
providing a small 32-bit compatibility library, which is usually
installed by default by distributions. The CPU and kernel handle 32-
bit code for backwards compatibility.
I compiled it for 64 bit, which involved changing one compiler
variable so why bother. It all works perfectly by the way. Plopped in
a ROM01 and a system 6 image and it purred like a kitten. Still has
the usual XKEGS issue of leaving /dev/dsp locked if it exited by
closing the window though. A minor irritation really. |
|
|
| Back to top |
|
|
|
|
|
All times are GMT
The time now is Thu Dec 03, 2009 12:09 am
|
|