Jump to content
Kyle22

Incognito STICK(3) and STRIG(3)

Recommended Posts

PORTB controls OS ROM, BASIC, self test and extended RAM on the XL/XE... and it's r/w, so I doubt you'll see joystick bits there. Candle already said joysticks 3 and 4 are elsewhere.

Share this post


Link to post
Share on other sites

I should think a custom OS is needed to make any use of this mode. Most software inquires the shadow registers, and in any case there'd be next to nothing that checks $D381 or whatever.

 

Possibly the port has to be configured. Logically the layout at $D38x should follow what is at $D300, so maybe the procedure needs to be done:

 

- switch port to show DDR state.

- set DDR to all inputs.

- switch port back to show IO state.

 

If that was tried at the relevant addresses, maybe some progress can be had.

Share this post


Link to post
Share on other sites

I would think they should be D300-D37x

 

Edit... maybe not, I guess they could be almost anywhere...

Edited by Kyle22

Share this post


Link to post
Share on other sites

Candle mentioned earlier the ports were at $D381, $D3C1 or $D3F1.

 

Going on memory here but e.g. for $D381 you'd need to do:

 

Change D383 to 38, change D381 to 00, change D383 to 3C.

Share this post


Link to post
Share on other sites

for all the addresses $D380-$D3FF, I get random garbage. I tried the above, and it didn't work.

 

Thanks, though.

Share this post


Link to post
Share on other sites

I suspect it might be more involved than what I said earlier.

 

From memory, Ultimate 1 Meg has an unlock bit you have to set to get access to the special registers, I would think Incognito probably has something similar.

Share this post


Link to post
Share on other sites

hold your horses

 

seems i'll have to fix another bug in cpld firmware

nobody bother to check if this work at all - including me :(

Share this post


Link to post
Share on other sites

hold your horses

 

seems i'll have to fix another bug in cpld firmware

nobody bother to check if this work at all - including me :(

Hi Candle,

 

While you're in there working on it, is there any way to make BASIC-XE work on the Incognito? I have tried everything I can think of, but the Extensions lock up when loading every time.

 

-K

Share this post


Link to post
Share on other sites

It works fine on my 1200XL with U1M, and back in the day, I used it on a 256K 1200XL.

Share this post


Link to post
Share on other sites

hold your horses

 

seems i'll have to fix another bug in cpld firmware

nobody bother to check if this work at all - including me :(

Bump... Any news?

Share this post


Link to post
Share on other sites

I don't know how to check the version of the CPLD code.

 

And, as far as STRIG(2) goes, it works at the usual location, but not STRIG(3). This would conflict with the cart interlock, so it may have been moved somewhere?

Share this post


Link to post
Share on other sites

See this. Don't have time to test tonight, but I will eventually.

No hurry. I did look at that, and those addresses still don't work. I get values 0 ($0) alternating with 211 ($D3) from all the addresses mentioned. Moving the stick in ports 3&4 changes nothing.

 

10 poke $D383,$38:poke $D381,0:poke $D383,$3C

20 ?peek($D381):g.20

 

I tried with $D381, $D3C1, $D3F1.

Share this post


Link to post
Share on other sites

Thanks, but I'm sure you have more important things to do. No hurry :)

Share this post


Link to post
Share on other sites

So what is the last word on this?

 

What are the re-mapped registers we need to address?

 

I have TWO Incognito Boards bought at different times / runs, and one of them may have that CPLD firmware fix on it, already... but NOT the other, I suspect... unless I am missing something...

 

This is VERY interesting, because now that we have recovered RIGHT-Cart bus port, now we can move on to Joystics 3 and 4, and bring back the 800 to its full physical potential under Incognito (!!!)

  • Like 2

Share this post


Link to post
Share on other sites

Just for giggle until we get an answer, break the XL/XE OS such that it no longer copies J1 to J3 or J2 to J4, put it back like an 800. Then try on both your incognitos in a 64K XL mode... On a real XL it would just mean those sticks don't tie in but you wouldn't do that any way.

Edited by _The Doctor__

Share this post


Link to post
Share on other sites

Ok, folks, just got got a hand on my Incognito #2 (Back Up), inserted it back on the A800, and checked $D381 register (with $D381, $D383 pokes) and that DOES NOT work for reading Joysticks 3 or 4. All I get is a random shower of 0s and 211s, which is the same as my primary Incognito board.

 

At this point we need:

 

1. EXACT registers we should peeking.

2. Tell-tale signs of CPLD / firmware versions. How can we distinguish them from the latest ones?

2. EXACT code needed to setup proper read-outs of those registers.

 

Until then, this will remain shrouded in mystery.

Edited by Faicuai
  • Like 2

Share this post


Link to post
Share on other sites

It's possible that your board didn't get the bug fix yet, but I'll try to ID the addresses tomorrow.

I re-read and noticed you said bugfix. How can I check if I have it or not?

 

What I meant in that last message was 'Look into it when you have time.'

 

Don't go out of your way for me.

Share this post


Link to post
Share on other sites

I re-read and noticed you said bugfix. How can I check if I have it or not?

 

What I meant in that last message was 'Look into it when you have time.'

 

Don't go out of your way for me.

 

Tested it again with EYE2 since I can't remember what the Hell happened with this two years ago. :) It still doesn't work. I don't even remember receiving any CPLD update.

 

If anything were to be fixed, I think the CCTL PBI RAM write-through bug is of greater importance anyway, although obviously in an ideal world everything would work.

  • Like 1

Share this post


Link to post
Share on other sites

Yes: I said one issue is of 'greater' importance than the other, not that one is important and one is not. Banked cartridges writing to CCTL and potentially mangling the HDD partition table in RAM in the process is a mite more pressing as far as I'm concerned. We do not yet know if joysticks 3 and 4 were even intended to show up at PORTB, so it's possible that even if the feature worked, the signals would not be visible to any existing software or OS.

Edited by flashjazzcat

Share this post


Link to post
Share on other sites

UPDATE (!!!)

Well, it seems that I found signs of alien life!!!

 

STRIG(3) signal IS being sampled, and pressing Joystick button attached to Port 3 and Port 4 (while in XL mode) DOES produce data!

 

Per EYE2, here are the specific addressess, so you can link up with this visitor from outer space:

  1. Goto $0200, cells $0234, $0235 (this is a QUIET, no "active" section of ram, you have to look for STILL data, not moving.) Responds to trigger on Port 3 & 4.
  2. Goto $4700: what the hell is happening there?
  3. Goto $D000, cells $D012, $D032, $D052, $D072, $D092, $D0B2, $D0D2, $D0F2: the ALL respond with "1" ONLY with trig pressed on Port #3 of A800-i.
  4. Goto $D400, cells $D40C, $D41C, $D42C, $D43C, $D44C, $D45C, $D46C, $D47C, $D48C, $D49C, $D4AC, $D4BC,$D4CC,$D4DC, $D4EC, $D4FC. They Change when pressing trigger in ALL FOUR PORTS (!)

So something is definitely out-there, but seems half-baked, though.

Edited by Faicuai
  • Like 3

Share this post


Link to post
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.

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...