Jump to content

Photo

XEL-I3 Incognito Addressed IDE/CF Interface for 1088XEL

IDE CF Incognito XEL

111 replies to this topic

#101 Van OFFLINE  

Van

    Chopper Commander

  • 240 posts
  • Location:Maryland

Posted Wed Jun 21, 2017 10:15 PM

Such a list was posted here some time ago (so it may not be complete). If I find it, I'll post the link in this thread.

 

I can't find it now.

I bookmarked this a while ago, http://atariage.com/...ware-registers/It might help.

 

$D100 - $D1FF PBI
$D100 - $D107 MyIDE Internal
$D100, $D104, 1400XL/1450XLD Modem, Voice and Disk interface
$D108, $D110 "
$D114 "
$D170 - $D171 BlackBox
$D17C, $D1BC "
$D1BE, $D1C0 "
$D1C0 - $D1C1 SmartIDE LCD
$D1E0 - $D1E3 MIO
$D1FF PBI Device Enable / IRQ Mask



#102 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Wed Jun 21, 2017 11:01 PM

I bookmarked this a while ago, http://atariage.com/...ware-registers/It might help.

 

Nice  :thumbsup:  :)

 

Well it looks like I'm only in conflict with the SmartIDE and the MIO. Not really a serious problem since mine is also a HDD solution. And nothing really permanent anyway, since a person could always re-flash a different PBI ROM, pull my board, and you're back in business. And actually no surprise that most stuff on that list is aimed at being an HDD solution first and foremost. This seems to be the common theme in PBI devices, and what the PBI is obviously well suited for.

 

Thanks Van.

 

- Michael



#103 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Yesterday, 7:56 AM

Ok perhaps $D1C0-7 isn't the best place for the CF Reset to be mapped to out of the available choices I have from the on-board 138 decoded outputs. I also missed a few possibilities and misplaced a few others on that first posted allocation list I did (too much Sangria that day  :P). So here is an updated and correct memory map of that chip in the XEL-I3.

 

Note: each one of these covers 8-bytes ($D1x0-$D1x7)

 

/Y0 = $D10x
/Y1 = $D12x
/Y2 = $D14x

/Y3 = $D16x

/Y4 = $D18x
/Y5 = $D1Ax
/Y6 = $D1Cx
/Y7 = $D1Ex (dedicated to the 8 IDE registers)

 

And here are some known $D1xx allocations from that list that Van posted earlier...

 

$D100 - $D1FF PBI
$D100 - $D107 MyIDE Internal
$D100,  $D104, 1400XL/1450XLD Modem, Voice and Disk interface
$D108,  $D110 "
$D114         "
$D170 - $D171 BlackBox
$D17C,  $D1BC "
$D1BE,  $D1C0 "
$D1C0 - $D1C1 SmartIDE LCD
$D1E0 - $D1E3 MIO
$D1FF PBI Device Enable / IRQ Mask

 

If we ignore the $D1Ex allocation which is already in use by the XEL-I3 for it's IDE registers, this appears to leave the following possibilities free and clear...

 

$D12x

$D14x

$D16x

$D18x

$D1Ax

 

So Jon any input on this? Out of the 5 possible (non-conflicting???) mappings for the CF Reset, which one do you think looks to be the best bet?

 

- Michael


Edited by mytekcontrols, Yesterday, 8:15 AM.


#104 flashjazzcat ONLINE  

flashjazzcat

    Quadrunner

  • 12,349 posts
  • Location:United Kingdom

Posted Yesterday, 9:21 AM

What's the problem with $D1Cx?



#105 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Yesterday, 9:37 AM

What's the problem with $D1Cx?

 

It does appear to be used by the BlackBox. So I was just thinking that it might be possible to co-exist with that device if I stayed out of it's territory. But I must admit to being quite a newbie (or simply uniformed) when it comes to PBI device conflicts.

 

Edit: I have no problems with sticking with $D1Cx as I have it now, but if there is a better choice now's the time to lock it down  :)

 

- Michael


Edited by mytekcontrols, Yesterday, 9:53 AM.


#106 ivop OFFLINE  

ivop

    Moonsweeper

  • 347 posts
  • Location:The Netherlands

Posted Yesterday, 10:32 AM

If I'm not mistaken, a well behaved PBI device should be completely invisible if it is not selected through $D1FF. I don't know if the Blackbox or SmartIDE LCD work that way. I do know that the internal MyIDE is just a relocated cartridge and is always visible.



#107 flashjazzcat ONLINE  

flashjazzcat

    Quadrunner

  • 12,349 posts
  • Location:United Kingdom

Posted Yesterday, 11:03 AM

This isn't a PBI device, though: it's the U1MB PBI ROM which is the (internal) PBI device. We're simulating Incognito, whose IDE controller sits at the same address regardless of whether the PBI ROM is selected. Remember also that the XEL-I3 can be used on a non-U1MB machine via a custom OS or SDX driver.

I don't think BB was too observant of other external devices, so I wouldn't worry too much about that.

#108 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Yesterday, 11:24 AM

This isn't a PBI device, though: it's the U1MB PBI ROM which is the (internal) PBI device. We're simulating Incognito, whose IDE controller sits at the same address regardless of whether the PBI ROM is selected. Remember also that the XEL-I3 can be used on a non-U1MB machine via a custom OS or SDX driver.

I don't think BB was too observant of other external devices, so I wouldn't worry too much about that.

 

Sounds good  :thumbsup:  :)  So I'll stick with $D1Cx as the CF Reset.

 

- Michael



#109 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Yesterday, 3:03 PM

So these were the good old days of having a HDD on your A8...

 

KaBTRN4.png

Supra's Hard Disk for XL/XE Review by Les Ellingham

 

 

That's about $950.00 or $47 per megabyte of storage back in the day. In today's dollars it would cost $1,777.00 ($89 per megabyte).

 

Just doing a parts cost estimate on the XEL-I3 including a 4GB CF card, total comes to $25 or $.00625 per megabyte. Just a tiny bit less  ;)

 

- Michael


Edited by mytekcontrols, Yesterday, 3:03 PM.


#110 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Yesterday, 6:26 PM

XEL-I3 Updated Test Program incorporating CF Hardware Reset at $D1Cx

10 IDEPRNT=500:REM IDE PRINT ROUTINE
20 IDE=53728:REM IDE BASE ADDRESS
30 RES=53696:REM HARDWARE RESET
50 FEAT=239:REM SET FEATURE COMMAND
60 ID=236:REM IDENTIFY COMMAND
70 REM ----- DRIVE RESET -----
80 POKE RES,0
90 FOR DLY=1 TO 250:NEXT DLY
100 REM ----- DRIVE SET-UP -----
120 POKE IDE+1,1:REM SET 8-BIT MODE
130 POKE IDE+7,FEAT
140 POKE IDE+7,ID
150 REM ----- MAIN PROGRAM LOOP -----
160 FOR X=0 TO 255:DLSB=PEEK(IDE):DMSB=PEEK(IDE)
170 IF X=10 THEN ? "S/N: ";
180 IF X>9 AND X<20 THEN GOSUB IDEPRNT
190 IF X=23 THEN ? :? "REVISION: ";
200 IF X>22 AND X<27 THEN GOSUB IDEPRNT
210 IF X=27 THEN ? :? "MODEL   : ";
220 IF X>26 AND X<47 THEN GOSUB IDEPRNT
230 IF X=48 THEN ? 
240 NEXT X
250 END 
500 REM ----- PRINT ROUTINE -----
510 ? CHR$(DMSB);
520 ? CHR$(DLSB);
530 RETURN

Program File: Attached File  IDETEST.BAS   956bytes   4 downloads

 

- Michael



#111 mytekcontrols OFFLINE  

mytekcontrols

    Stargunner

  • Topic Starter
  • 1,747 posts
  • Location:Santa Rosa, CA

Posted Today, 6:39 AM

Jon (FlashJazzCat) now that the choice of memory location has been tested and locked in for doing the CF Reset, can this be coded into the SHIFT+RESET partition refresh command of the U1MB? I'm also curious as to where that is done, Main BIOS or PBI BIOS?

I know you're a busy guy, so I don't expect you to drop everything to do this, but I'm hoping that it's at least on your radar. BTW, thank you very much for having made this project even possible by the recoding you've already done on the PBI BIOS to work with the XEL-I3.

On a separate subject, although still related to the XEL-I3, do you know if there is a program that can do a rigorous test of this interface? Reason I ask has to do with selection of the delay capacitor on the address latch, which allows for better compatibility and diversity in the choice of CF Cards that can be used.

- Michael

Edited by mytekcontrols, Today, 6:41 AM.


#112 flashjazzcat ONLINE  

flashjazzcat

    Quadrunner

  • 12,349 posts
  • Location:United Kingdom

Posted Today, 7:12 AM

Jon (FlashJazzCat) now that the choice of memory location has been tested and locked in for doing the CF Reset, can this be coded into the SHIFT+RESET partition refresh command of the U1MB? I'm also curious as to where that is done, Main BIOS or PBI BIOS?

I know you're a busy guy, so I don't expect you to drop everything to do this, but I'm hoping that it's at least on your radar. BTW, thank you very much for having made this project even possible by the recoding you've already done on the PBI BIOS to work with the XEL-I3.


No problem Michael! I was going to sort this out last night, but I got side-tracked diagnosing audio-in noise on this crappy PC. :) I'll make the changes this evening.

On a separate subject, although still related to the XEL-I3, do you know if there is a program that can do a rigorous test of this interface? Reason I ask has to do with selection of the delay capacitor on the address latch, which allows for better compatibility and diversity in the choice of CF Cards that can be used.


I did write a low-level hardware test some years ago, but the source is probably lost now. Stuff like RWCRC (from Drac030's site) is useful for stability testing, but since the test goes through the file system, hardware problems can be obfuscated by any error-correction in the BIOS (for instance, a double read might trigger a retry in the BIOS if DRQ went low after byte 511 was read). I was thinking that it might be useful to build something around the FDISK/UFLASH UI which did a low-level test of the drive (raw speed, data integrity, etc).

But RWCRC offers a good real-world indication of whether the thing works properly, since most of the time we're going through the SIO anyway. There are some cases when the loader will trip up even after an RWCRC pass, but that's because the loader has zero retry logic (hardware has to be 100 per cent there). Usually a 74LS08 swap or different CF card irons out those problems.





Also tagged with one or more of these keywords: IDE, CF, Incognito, XEL

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users