Welcome, Guest. Please login or register.

Author Topic: MaxTransfer , how and where.  (Read 6249 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: MaxTransfer , how and where.
« on: February 27, 2009, 11:40:16 PM »
And based on past observations, I'm under the impression this is a signed value, so 0x7fffffff would be the max, anyway. Anyone know for sure? Dependent on the device driver's interpretation of the data?
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: MaxTransfer , how and where.
« Reply #1 on: February 28, 2009, 11:54:57 PM »
@Zac67

:-P My point, of course, was that 0x80000000 = -1 and any device that can transfer negative blocks of data certainly deserves our attention. ;-)

WinUAE supports up to 1.5GB, so it's almost there. I forget why Toni stopped there, but I think he's explained over on EAB. So, an OS3 device driver could, in theory, use a MaxTransfer value approaching 2^31-1 if Toni bumped up the Z3 memory emulation. :-)

And there's OS4 and MorphOS to consider. Did device driver tooltypes carry over to those with the same semantics?
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show all replies
Re: MaxTransfer , how and where.
« Reply #2 on: March 01, 2009, 04:41:08 PM »
Uh, d'oh! Yes. :-) The point of my point ;-) was the sign bit, so I could fib and say I meant -1 * n or something like that. Pardon me while I bludgeon myself with a two's complement primer.