English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.Amix (https://eab.abime.net/forumdisplay.php?f=125)
-   -   Amix in WinUAE (https://eab.abime.net/showthread.php?t=67210)

Toni Wilen 29 December 2012 20:06

Amix in WinUAE
 
1 Attachment(s)
[Moved from MMU thread]

Amix at least asks for tape now :)

EDIT: Actually it does not get that far, it tries to find SCSI HD but it accesses DMAC/SCSI chip quite differently compared to A590/A2091/A3000 Amiga boot roms and it hangs.. Need to implement missing WD SCSI chip functionality first.

mark_k 01 January 2013 11:53

Amix in WinUAE
 
A little googling mentions a 200MB HD size. So it could be worth trying something smaller. Didn't older A590/2091 drivers fail with >1GB disks? Maybe there could be a similar bug in the AMIX code.

For partitioning, might you need to create a UNI\0 partition using HDToolBox first? (I don't know, is there a scanned version of the AMIX install guide online? I have a printed copy somewhere which I can try to find if you get stuck.)

Oh, I just found this. PDF manuals, HD image of installed AMIX OS, etc. etc.

Edit: See this post for a link to a PDF of the Installing Amiga UNIX manual.

Toni Wilen 01 January 2013 12:30

Success! Problem was as simple as writing not working correctly.

Amix installer created correct partitions and finally it asks for tape :)

(winuae.zip updated)

Ratte 01 January 2013 12:36

Allways nice to see WinUAE growing .. next feature tape-emulation with sequential datastream and forward/rewind function.
?!

btw.
HAPPY NEW YEAR!!!

Toni Wilen 01 January 2013 12:41

I don't think I'll bother with SCSI tape drive emulation. Not worth the trouble just for Amix. At least 68030 MMU and WD SCSI emulation is used by other programs.

For example ATAPI-CD emulation is more important than Tape drive emulation :)

mark_k 01 January 2013 13:24

2 Attachment(s)
You'd probably only need to implement a few commands/features for AMIX to install. But anyway...

(Maybe this should be separated into a separate "getting AMIX working in WinUAE thread"..?)

I downloaded the pre-installed AMIX hard disk image from http://amigaunix.com/. Apparently that was created on an A3000. It boots at least, but then immediately reports an error, see pic. Anyone got any ideas? It may just be a problem with my WinUAE config.

Toni Wilen 01 January 2013 13:58

Set HD to SCSI6.

It boots, does some HD checks and then reboots.

Toni Wilen 01 January 2013 17:21

1 Attachment(s)
Tiny fix in LINK m68k instruction bus fault handling (address register that LINK modifies was not saved = register had wrong data if this instruction had bus fault while writing to stack)

Pre-installed Amix works now!

mark_k 01 January 2013 19:09

1 Attachment(s)
Great job! Here's a screenshot with X and Open Look running in A2024 mode. :)

mark_k 01 January 2013 20:30

Don't know whether it's of any relevance, but AMIX seems to lock up if you have the Immediate blitter option enabled.

Also, if after logging in you run rn then press Ctrl-Z, this text is shown (the system doesn't crash):
NOTICE: User BUS ERROR at 1000, PC:1000 FAULT:6 PID:150 CMD:rn

Toni Wilen 02 January 2013 11:03

Quote:

Originally Posted by mark_k (Post 858956)
Don't know whether it's of any relevance, but AMIX seems to lock up if you have the Immediate blitter option enabled.

Immediate blitter didn't check if blitter DMA was enabled (I think this has been broken long time ago) and blit was always finished immediately.

AMIX starts weird long blit from address zero but it never enables DMA, blit never starts. I am not sure whats the point, some kind of protection?

Quote:

Also, if after logging in you run rn then press Ctrl-Z, this text is shown (the system doesn't crash):
NOTICE: User BUS ERROR at 1000, PC:1000 FAULT:6 PID:150 CMD:rn
This may be just a bug in the program, not handling CTRL-Z properly. Invalid MMU bus errors generally always crash the system.

Toni Wilen 02 January 2013 11:04

Quote:

Originally Posted by mark_k (Post 858926)
Great job! Here's a screenshot with X and Open Look running in A2024 mode. :)

Totally useless but also really cool :D

mark_k 02 January 2013 15:53

Quote:

Originally Posted by Toni Wilen (Post 859043)
Immediate blitter didn't check if blitter DMA was enabled (I think this has been broken long time ago) and blit was always finished immediately.

AMIX starts weird long blit from address zero but it never enables DMA, blit never starts. I am not sure whats the point, some kind of protection?

Does it try to set up/start that blit early-on in the boot sequence? Maybe the developer was trying to clear/initialise chip memory, but forgot to actually enable blitter DMA. And anything else which uses chip RAM clears it using the CPU anyway, so the problem was never noticed???

neozeed 14 January 2013 01:07

Wow totally awesome!

kokoboi 24 January 2013 10:08

I'm using the 2.6.0beta on win7 x64 and the image from amigaunix.com. However can't get it to boot :confused

mark_k 24 January 2013 14:38

There's probably something wrong with your WinUAE config. If you post it here I can take a look. Can you get it to work if you use the a3000_amix_test.uae config I posted above? (You'll need to change the SCSI ID of the hardfile to 6 before booting.)

Gilloo 24 January 2013 15:36

useless things have no price and are awesome!

kokoboi 24 January 2013 23:23

1 Attachment(s)
Here is the config. Attachment 34010

r4ge 25 January 2013 07:25

Hi guys, using the amix.uae config i have managed to boot into amix 1.1, from there i have used the boot and root img files from here http://amigaunix.com/tiki-list_file_...hp?galleryId=1, and dd'd them into adf files. I can upload them if anyone is interested. After booting these images i have been able to mount the amix 2.1 cpio into winuae and and start the install process. Its not quite done yet but its looking promissing.

Btw, to create the .adf images. I loaded amix 1.1, added a network interface and bound it to my ethernet adapter. This requires winpcap. once this is done I booted into amix and set up the interface, ie ifconfig en0 192.168.1.100 netmask 255.255.255.0, from there i ftp'd into my server and downloaded the boot.img and root_v2.img. I bunzip'd them first to save some time. then these images can be dd's to your virtual fdd, ie dd if=boot.img of=/dev/rdsk/fd0 this will take a few minutes. once boot is done you can swap out your virtual fdd (press f12) then load your root disk. this is done in the same manner, ie dd if=root_v2.img of=/dev/rdsk/fd0 again this will take a few minutes. once this is complete you can reboot your system and boot the first disk, there will then be a prompt to insert the root disk. A little caveat. Use RDB mode to set the drive geom on the cpio image. this should be set to scsi1. I have kept the target disk as scsi6.

kokoboi 25 January 2013 10:07

It doesn't boot at all using the same config and amix image :confused:confused


All times are GMT +2. The time now is 16:45.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.06279 seconds with 11 queries