flashjazzcat #26 Posted January 11, 2014 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. Quote Share this post Link to post Share on other sites
Rybags #27 Posted January 11, 2014 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. Quote Share this post Link to post Share on other sites
Kyle22 #28 Posted January 11, 2014 (edited) I would think they should be D300-D37x Edit... maybe not, I guess they could be almost anywhere... Edited January 11, 2014 by Kyle22 Quote Share this post Link to post Share on other sites
Rybags #29 Posted January 11, 2014 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. Quote Share this post Link to post Share on other sites
Kyle22 #30 Posted January 11, 2014 for all the addresses $D380-$D3FF, I get random garbage. I tried the above, and it didn't work. Thanks, though. Quote Share this post Link to post Share on other sites
Rybags #31 Posted January 11, 2014 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. Quote Share this post Link to post Share on other sites
candle #32 Posted January 11, 2014 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 Quote Share this post Link to post Share on other sites
Kyle22 #33 Posted January 18, 2014 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 Quote Share this post Link to post Share on other sites
flashjazzcat #34 Posted January 18, 2014 Does BASIC XE work OK with other non-130XE upgrades Kyle? I seem to recall looking into some similar issue before. Quote Share this post Link to post Share on other sites
Kyle22 #35 Posted January 18, 2014 It works fine on my 1200XL with U1M, and back in the day, I used it on a 256K 1200XL. Quote Share this post Link to post Share on other sites
Kyle22 #36 Posted January 31, 2016 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? Quote Share this post Link to post Share on other sites
flashjazzcat #37 Posted January 31, 2016 Bump... Any news? It got fixed, since I sat with Candle and tested it. Do you have the latest CPLD update? Quote Share this post Link to post Share on other sites
Kyle22 #38 Posted January 31, 2016 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? Quote Share this post Link to post Share on other sites
flashjazzcat #39 Posted January 31, 2016 See this. Don't have time to test tonight, but I will eventually. Quote Share this post Link to post Share on other sites
Kyle22 #40 Posted January 31, 2016 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. Quote Share this post Link to post Share on other sites
flashjazzcat #41 Posted January 31, 2016 It's possible that your board didn't get the bug fix yet, but I'll try to ID the addresses tomorrow. 1 Quote Share this post Link to post Share on other sites
Kyle22 #42 Posted January 31, 2016 Thanks, but I'm sure you have more important things to do. No hurry Quote Share this post Link to post Share on other sites
+Faicuai #43 Posted December 2, 2018 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 (!!!) 2 Quote Share this post Link to post Share on other sites
_The Doctor__ #44 Posted December 2, 2018 (edited) 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 December 2, 2018 by _The Doctor__ Quote Share this post Link to post Share on other sites
+Faicuai #45 Posted December 2, 2018 (edited) 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 December 2, 2018 by Faicuai 2 Quote Share this post Link to post Share on other sites
Kyle22 #46 Posted December 3, 2018 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. Quote Share this post Link to post Share on other sites
flashjazzcat #47 Posted December 3, 2018 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. 1 Quote Share this post Link to post Share on other sites
_The Doctor__ #48 Posted December 3, 2018 both are important. who knows maybe somehow linked? We have no idea what he did on some things. 1 Quote Share this post Link to post Share on other sites
flashjazzcat #49 Posted December 3, 2018 (edited) 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 December 3, 2018 by flashjazzcat Quote Share this post Link to post Share on other sites
+Faicuai #50 Posted December 3, 2018 (edited) 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: 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. Goto $4700: what the hell is happening there? 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. 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 December 3, 2018 by Faicuai 3 Quote Share this post Link to post Share on other sites