Jump to content
IGNORED

IDE Plus 2.0 - Disable SDX temporarily


tschak909

Recommended Posts

The limiting factor is that it uses PIO - the CPU has to read/write to the data register to perform the IO.

 

Some extra speedup could be achieved if the loop was unwound a bit, IIRC it uses a single (inx),Y instruction inside the loop, so speeds on real hardware are generally 25-70 K/sec or so depending on media and how much graphics DMA is slowing it down.

 

Of course the ideal would be DMA but the default architecture of the XL/XE doesn't really allow for it.

 

Anything faster? I think there might be. Some HDD interfaces present a sector buffer that appears in the IO space which would allow somewhat faster transfer speeds, or in fact just displaying directly from the buffer - IIRC phaeron did a video program that does just that.

Link to comment
Share on other sites

No faster, but you should get roughly the same bandwidth using Incognito or Ultimate 1MB PBI/SIDE.

 

The reason these reads are so fast, BTW, is that the sectors are unbuffered (aside from any buffers DOS uses when not in burst mode). At c.65KB/s, the sole limiting factor is the rate at which the 6502 can pull the sectors out of the IDE controller. Phaeron overcame this by using Antic DMA instead of the CPU to read the data register.

 

Regarding loop unrolling: the designers were aware of the concept, and IDE plus, Ultimate/SIDE and Incognito all already use loop unrolling (by a factor of sixteen, IIRC), so there is very little scope left for speeding things up.

Edited by flashjazzcat
  • Like 1
Link to comment
Share on other sites

Regarding loop unrolling: the designers were aware of the concept, and IDE plus, Ultimate/SIDE and Incognito all already use loop unrolling (by a factor of sixteen, IIRC), so there is very little scope left for speeding things up.

 

...until we get a faster CPU...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...