Search found 303 matches

by Belxjander
Wed Jun 13, 2018 12:41 am
Forum: General Developer Support
Topic: Device Driver "struct PCIDevice *pcidev;" pcidev's...
Replies: 0
Views: 1479

Device Driver "struct PCIDevice *pcidev;" pcidev's...

I'm currently trying to write a device driver for a PCI bridged PCI-Express USB3 XHCI controller and running into the following situation... during ramlib execution of the device "DevInit" and eventually passing through "InitUnit()" I can use the expansion.library "IPCI"...
by Belxjander
Sun Jun 10, 2018 6:27 pm
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 3807

Re: exec.library->AddTask() stack handling...

well... everything I was doing before reworking that section was entirely localized for variable usage.

so I am not actually sure where the globals came from at all
by Belxjander
Sun Jun 10, 2018 2:34 am
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 3807

Re: exec.library->AddTask() stack handling...

Not a redeemable choice in following the example so closely... changed from using AddTask() over to using CreateTask() [CreateTaskTags() variant] instead... using AddTask() turns out to only be safe as long as code is hand-written assembly at that point. otherwise *every* syscall will trigger DSI an...
by Belxjander
Sat Jun 09, 2018 10:26 pm
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 3807

Re: exec.library->AddTask() stack handling...

@ThomasRapp: Thank you for clarifying that. Will try it and see what happens next... It will be nice to actually have a working XHCI USB3 controller added to my setup ... @Everyone... if anyone wants the sources I'll be publishing them in full as an example device driver, that works against *real* P...
by Belxjander
Sat Jun 09, 2018 12:53 pm
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 3807

Re: exec.library->AddTask() stack handling...

The stack grows downwards from high to low addresses. So to start with an empty stack SPReg must point to the end of the stack, not to the beginning. so then ... unit->uTask.tc_SPReg = (APTR)((uint32)UNIT_STACK_SIZE +(uint32)(unit->uStack)); unit->uTask.tc_SPLower = unit->uStack; unit->uTask.tc_SPU...
by Belxjander
Sat Jun 09, 2018 6:17 am
Forum: General Developer Support
Topic: exec.library->AddTask() stack handling...
Replies: 9
Views: 3807

exec.library->AddTask() stack handling...

What would be the specific corrections needed to deal with the SPReg, SPLower and SPUpper in the "struct Task uTask;" as part of the "struct DEVICE_UNIT_CLASS *unit;" dyamically allocated within the following code ? I'm looking at the example on the Amiga Developer CD 2.1 and try...
by Belxjander
Sat May 05, 2018 2:10 am
Forum: AmigaOS Feature Requests
Topic: Intuition "Xinerama" Features
Replies: 11
Views: 6800

Re: Intuition "Xinerama" Features

EDIT: @Broadblues: Multiple PubScreens with separate GraphicsCard+Monitor hardware *on-a-single-machine*, not two machines sharing a Keyboard+mouse, single machine with two graphics cards and two monitors showing two PubScreens that are used as a singular workspace. Yes but functionally in terms of...
by Belxjander
Wed May 02, 2018 10:32 pm
Forum: AmigaOS Feature Requests
Topic: Intuition "Xinerama" Features
Replies: 11
Views: 6800

Re: Intuition "Xinerama" Features

FOR CLARICATION ***NOT** A SINGLE-SCREEN ACROSS MONITORS, Specifically the visual appearance of *multiple* PubScreens allowing the mouse to visually border cross from one to another, @ThomasRapp: the Right-Border linkage to a second screen is a simple case, I was also considering where Workbench was...
by Belxjander
Wed May 02, 2018 7:45 am
Forum: AmigaOS Feature Requests
Topic: Intuition "Xinerama" Features
Replies: 11
Views: 6800

Intuition "Xinerama" Features

This is actually very simple in concept, 1: Allowance for Mutliple Display Capable Machines to have whatever Intuition Screen displayed on each card to continue refreshing even when the pointer is active elsewhere 2 Visually Infinite Mouse Scrolling using a transition at Screen Edges Option (Program...
by Belxjander
Fri Dec 22, 2017 1:53 am
Forum: AmigaOS Feature Requests
Topic: Spanned volume
Replies: 4
Views: 10463

Re: Spanned volume

I have run across a hardware option for RAID that is Amiga compliant (at least for 4.x+)… Logitech do a “Gachabay” branded set of SATA/USB3 Harddisk RAID controllers for the Japanese market, you can slot between 2-8 mixed disks as a single device in a simple JBOD(multiple disks by LUN)/RAID0/… arran...