English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   request.UAE Wishlist (https://eab.abime.net/forumdisplay.php?f=56)
-   -   Accelerator board emulation (https://eab.abime.net/showthread.php?t=74466)

Zilog 21 July 2014 17:06

Accelerator board emulation
 
Hy Tony,
it possibile emulate too Apollo 4040/4060.

Thanks, By.

Toni Wilen 21 July 2014 18:04

Quote:

Originally Posted by Zilog (Post 965284)
Hy Tony,
it possibile emulate too Apollo 4040/4060.

I don't see much point. Hardware has no unique features and SCSI is fully software based (software directly writes and reads SCSI data and status lines)

There is one interesting point: ROM dump download contains full Apollo rom and driver sources. (http://amigaromarchives.limewebs.com/). But still not worth the trouble because there is no low level SCSI emulation, all existing SCSI drivers use 33c93 or 53c710 chips in high level mode. ("Do this data transfer command, thanks. I don't care how you do it, just do it.")

Zilog 22 July 2014 14:10

Emulate CyberStorm Mk3
 
Hy Tony,
onother question, i ask if possibile :)

It possible emulation CyberStorm Mk3?

Thans.
Zilog.

Toni Wilen 23 July 2014 11:11

(Moved from 282 beta thread)

Cyberstorm boards surprisingly are possibility because they have 53c770 SCSI which is sort of emulated (by using original qemu 53c8xx code, not 53c710 hacked version. 720 and later chips are quite similar, 710 is very different)

Most fun feature would be CSPPC without any PPC chip emulated emulation. It would cause lots of confusion. Which would be interesting to see :D

jbenam 23 July 2014 12:46

Quote:

Originally Posted by Toni Wilen (Post 965482)
Most fun feature would be CSPPC without any PPC chip emulated emulation. It would cause lots of confusion. Which would be interesting to see :D

You want to see lots of threads named "Why won't AmigaOS 4.1 run with CSPPC emulation" in support.WinUAE then ;)

Zilog 23 July 2014 16:32

Quote:

Originally Posted by Toni Wilen (Post 965482)
(Moved from 282 beta thread)

Most fun feature would be CSPPC without any PPC chip emulated emulation. It would cause lots of confusion. Which would be interesting to see :D

Ok, i understand :)
Anyway i am interesting only at 680x0 version http://amiga.resource.cx/exp/cyberstorm3 and not at http://amiga.resource.cx/exp/cyberstormppc with ppc cpu

Ok! Thanks a lot ;)
By Zilog.

Toni Wilen 23 July 2014 20:53

It was easier than I expected. CyberStorm MK3 is now working, mostly. Boot menu appears (ESC key), SCSI (cybppc.device) automounts and boots!

Board register information is mostly unknown. Fortunately there was one linux patch that included register names (but not function). I mostly guessed how the most important one works (SCSI interrupt) but the rest is unknown, including maprom or memory mapping.

(Yes, totally pointless and so on except for system level/OS developers)

EDIT: Flash update utility also runs now and updates the virtual ROM :)

bubbob42 23 July 2014 22:40

Great - throw in the MK2 as well and I finally have a near 1:1 replica of my 4000 in software. :D

Zilog 24 July 2014 00:58

Quote:

Originally Posted by Toni Wilen (Post 965536)
It was easier than I expected. CyberStorm MK3 is now working, mostly. Boot menu appears (ESC key), SCSI (cybppc.device) automounts and boots!

Board register information is mostly unknown. Fortunately there was one linux patch that included register names (but not function). I mostly guessed how the most important one works (SCSI interrupt) but the rest is unknown, including maprom or memory mapping.

(Yes, totally pointless and so on except for system level/OS developers)

EDIT: Flash update utility also runs now and updates the virtual ROM :)

Very Great! :great

Toni Wilen 24 July 2014 10:43

CS MK3 emulation has one problem/feature: flash rom is also used for storing CyberStorm bootmenu settings. (last 16k sector of flash) which means flash contents also needs to be saved back to disk under emulation if it is modified. (by bootmenu or flash update utility).

Flash also contains board serial number (which is zeros in flash update file, serial number data is preserved when flashing)

This also means it is not possible to autodetect rom image using checksums.

I guess yet another rom selection box is needed..

Quote:

Originally Posted by bubbob42 (Post 965554)
Great - throw in the MK2 as well and I finally have a near 1:1 replica of my 4000 in software. :D

We'll see.. SCSI is the annoying part (FAS216 = 53C94 clone and it needs external DMA controller) and imho without SCSI it isn't that interesting..

SCSI flash update contains unscrambled contents but CPU board rom ("diagrom") contents are not included. Could you do following test (without SCSI board connected if you have one):

Does CSMK2 autoconfig entry/entries appear in early boot menu? EDIT: and if there is any, find the autoconfig base address (showconfig, artm, scout, sysinfo and so on) and save it to file too. (It is probably either 64k or 128k autoconfig slot). This may not create 100% correct image but should be good enough for testing.

Dump $f00000 region to file. (It probably has usual "VER: 68060 BootStrap V1.x..." string)

Zilog 24 July 2014 21:07

Quote:

Originally Posted by Toni Wilen (Post 965612)
CS MK3 emulation has one problem/feature: flash rom is also used for storing CyberStorm bootmenu settings. (last 16k sector of flash) which means flash contents also needs to be saved back to disk under emulation if it is modified. (by bootmenu or flash update utility).

Flash also contains board serial number (which is zeros in flash update file, serial number data is preserved when flashing)

This also means it is not possible to autodetect rom image using checksums.

I guess yet another rom selection box is needed..

Ok, is perfect. I wait for at beta version when possible.

Toni Wilen 24 July 2014 22:19

Some more news but first lets repeat: No, there is no PPC emulation!

CyberStorm PPC (which is practically same as CSMK3) and Blizzard PPC (which is mix of both Blizzard 12xx and CSMK3 designs) boards are now supported.

Technically it emulates board without PPC chip (and PPC extra logic). Which surprisingly does not break m68k side, boot rom still works, boot menu works, flash updater works, SCSI works and so on.

Beta will be out tomorrow, maybe.

Zilog 24 July 2014 22:41

Quote:

Originally Posted by Toni Wilen (Post 965726)
Some more news but first lets repeat: No, there is no PPC emulation!

CyberStorm PPC (which is practically same as CSMK3) and Blizzard PPC (which is mix of both Blizzard 12xx and CSMK3 designs) boards are now supported.

Technically it emulates board without PPC chip (and PPC extra logic). Which surprisingly does not break m68k side, boot rom still works, boot menu works, flash updater works, SCSI works and so on.

Beta will be out tomorrow, maybe.

Yes, no pcc, ok!...Perhaps, too CSMK3 is same CyberStorm PPC, the name of board in the menu winaue is better
"CyberStorm Mk3 (No PPC emulation)"; to avoid confusion.

jbenam 24 July 2014 23:58

Quote:

Originally Posted by Toni Wilen (Post 965726)
Which surprisingly does not break m68k side, boot rom still works, boot menu works, flash updater works, SCSI works and so on.

Does that mean the real card should behave in the same way?

I'm asking because I have a BlizzardPPC which I bought as broken (oscillator sockets completely torn off and other mad "repairs" done on board...) and it's not booting. I started wondering if a bad PPC could stop the card from booting entirely, but I never got a real answer on that :D

Maybe you can enlight me on that one with your unlimited Amiga knowledge, Toni :bowdown Thanks!

Toni Wilen 25 July 2014 08:09

Quote:

Originally Posted by jbenam (Post 965744)
Does that mean the real card should behave in the same way?

No idea. It is possible PPC glue logic gets confused or it needs some signals from the PPC CPU before m68k is enabled or something. It is very complex hardware.

Zilog 25 July 2014 14:28

Cybervision Ppc
 
Quote:

Originally Posted by Toni Wilen (Post 965726)
Some more news but first lets repeat: No, there is no PPC emulation!

CyberStorm PPC (which is practically same as CSMK3) and Blizzard PPC (which is mix of both Blizzard 12xx and CSMK3 designs) boards are now supported.

Technically it emulates board without PPC chip (and PPC extra logic). Which surprisingly does not break m68k side, boot rom still works, boot menu works, flash updater works, SCSI works and so on.

Beta will be out tomorrow, maybe.

Great!

Another quest...Tony you thinks that interesting and possible emulate the graphics card Cybervision PPC ;not centre with cpu ppc, but function also with CyberStorm Mk3.

By.

Toni Wilen 25 July 2014 16:54

53C94/FAS216 SCSI chip emulation is now working (esp.c from qemu, was really easy to use in UAE). Blizzard 2060 SCSI now boots. Blizzard SCSI Kit and others later..

EDIT: 1230 / 1260 + SCSI Kit IV done.

Quote:

Originally Posted by Zilog (Post 965804)
Great!

Another quest...Tony you thinks that interesting and possible emulate the graphics card Cybervision PPC ;not centre with cpu ppc, but function also with CyberStorm Mk3.

By.

Graphics chips are really complex (VGA stuff is complex and strange and most of them have very custom blitter chips and other stuff that Amiga RTG, especially CGX uses very heavily).

QEMU has some other chips (than already used Cirrus Logic chip) but at least CL was not very well emulated for non-PC platforms and required lots of changes. Maybe someday..

jbenam 25 July 2014 17:12

Quote:

Originally Posted by Toni Wilen (Post 965834)
This is serious answer from me, for once about PPC: I don't do anything PPC but it is possible (unlikely but possible) to bolt some external PPC CPU-only emulator to Blizzard/CSPPC emulation and see what happens.

Following on this from the WinUAE Beta thread - do you surmise it would be possible to get the PPC emulation core from something like PearPC and have that run the PPC while WinUAE does the 68k part?

Zilog 25 July 2014 17:21

Quote:

Originally Posted by Toni Wilen (Post 965830)
53C94/FAS216 SCSI chip emulation is now working (esp.c from qemu, was really easy to use in UAE). Blizzard 2060 SCSI now boots. Blizzard SCSI Kit and others later..



Graphics chips are really complex (VGA stuff is complex and strange and most of them have very custom blitter chips and other stuff that Amiga RTG, especially CGX uses very heavily).

QEMU has some other chips (than already used Cirrus Logic chip) but at least CL was not very well emulated for non-PC platforms and required lots of changes. Maybe someday..

Ok! Great Work with the acceleration card, really great work! :great

bubbob42 25 July 2014 17:35

Quote:

Originally Posted by Toni Wilen (Post 965612)
Could you do following test (without SCSI board connected if you have ...
Dump $f00000 region to file. (It probably has usual "VER: 68060 BootStrap V1.x..." string)

Give me a few days...


All times are GMT +2. The time now is 08:42.

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

Page generated in 0.05095 seconds with 11 queries