amiga.org
     
iconAll times are GMT -6. The time now is 06:32 PM. | Welcome to Forum, please register to access all of our features.

Amiga.org Amiga computer related discussion Amiga News and Community Announcements Amiga Programming and Development lowlevel PCI-coding / Amithlon

Amiga Programming and Development This is the news feed forum for all Amiga programming and development news items and announcements.

Reply
 
Thread Tools Display Modes
Old 11-20-2011, 10:19 PM   #1
Ratte
Technoid
Points: 8,268, Level: 61 Points: 8,268, Level: 61 Points: 8,268, Level: 61
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Sep 2006
Posts: 359
Question lowlevel PCI-coding / Amithlon

At the moment i am working on a open-pci 68k gfx driver.
Its still working in a "framebuffer"-mode as long as i am trying to support all kind of amiga-pci-systems.
openpci is great for this kind of drivers, but some very lowlevel operations during hw-init must be separated for different pci-systems.
So it seems to be impossible to read the pci-rom trough powerpci/openpci on Amithlon.
I have to code the bars directly like pci-specs describe it.

But here is the problem, it will work for ONE time, after a reset the system hangs if i try to read the pci-rom again.
This problem seems to be old ... amithlon-open:
http://tech.groups.yahoo.com/group/a.../message/13190

Is there an existing workaround or a bugfix?
Or some documented "softreset" code for pci-slots?

An other solution could be a resetproof resident-structure with a copy of the gfx-card.rom generated during the first amithlon-coldstart.
But I like to read the real rom before i start playing with resident-structures.

Thanx in advance.
Ratte is offline   Reply With Quote
Old 11-21-2011, 08:23 AM   #2
Heiroglyph
Cult Member
Points: 8,563, Level: 62 Points: 8,563, Level: 62 Points: 8,563, Level: 62
Activity: 8% Activity: 8% Activity: 8%
 
Heiroglyph's Avatar
 
Join Date: Jun 2010
Posts: 843
Default Re: lowlevel PCI-coding / Amithlon

When you say "reset", is it resetting the Amithlon software or resetting the computer?

I've got a lot of information on OpenPCI but I have to go to work. I'll take a look later to see if there is anything I can help with though.
Heiroglyph is offline   Reply With Quote
Old 11-22-2011, 04:23 AM   #3
Ratte
Technoid
Points: 8,268, Level: 61 Points: 8,268, Level: 61 Points: 8,268, Level: 61
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Sep 2006
Posts: 359
Default Re: lowlevel PCI-coding / Amithlon

I mean resetting Amithlon not the x86.
Ratte is offline   Reply With Quote
Old 11-22-2011, 08:08 AM   #4
Heiroglyph
Cult Member
Points: 8,563, Level: 62 Points: 8,563, Level: 62 Points: 8,563, Level: 62
Activity: 8% Activity: 8% Activity: 8%
 
Heiroglyph's Avatar
 
Join Date: Jun 2010
Posts: 843
Default Re: lowlevel PCI-coding / Amithlon

I'm pretty sure that's a known problem with Amithlon but I'm not sure why it only happens with some PCI devices.

ArakAttack includes a reset command that resets cards that it is aware of to avoid this. This is also mentioned in the ArakAttack help file.

I can't tell you how it works off the top of my head, but I'm pretty sure it's calling something on the x86 side of Amithlon.

I'd disassemble his reset command or try to contact him to see what's going on.
Heiroglyph is offline   Reply With Quote
Old 01-12-2012, 10:33 AM   #5
Ratte
Technoid
Points: 8,268, Level: 61 Points: 8,268, Level: 61 Points: 8,268, Level: 61
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Sep 2006
Posts: 359
Default Re: lowlevel PCI-coding / Amithlon

http://youtu.be/HWax2_r0cDg
thanx 4 support
Ratte is offline   Reply With Quote
Reply

Bookmarks

Tags
amithlon , lowlevel , pcicoding
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump