Activity
From 10/11/2018 to 11/09/2018
10/13/2018
- FO 08:57 PM EclaireXL Feature #76: Merge down to trunk
- Easy part done, merged down.
For now I branched firmware into firmware_eclairexl and firmware_legacy (for other platforms).
However common is probably incompatible with the other core builds to some degree... Probably nothing too maj... - FO 08:32 PM EclaireXL Feature #76 (In Progress): Merge down to trunk
- Made an svn copy of existing trunk (branches/releases/trunk_20181013_premerge)
Also made a backup of lots of random local stuff on my trunk checkout!
Going to merge down the entire eclaireXL branch and start working on trunk.
This wil...
10/12/2018
- FO 09:45 PM EclaireXL Bug #33 (Closed): Wizard of Wor
- I modeled this by adding a 1 cycle delay on sel9bitpoly going high. The game then works!
- FO 09:04 PM EclaireXL Bug #33: Wizard of Wor
- The high bit of audctl is sel9bitpoly. In the original chip is is delayed and then combined with itself. So I need a 1 enable delay + a bunch of nors to do it the original way...
!lfsr_delay_sel9bitpoly.png! - FO 08:44 PM EclaireXL Bug #33: Wizard of Wor
- Altirra has two massive poly tables and selects between them with this flag. So, not really much help since here we are using a real lsfr... I'll check the decap.
- FO 08:34 PM EclaireXL Bug #33: Wizard of Wor
- I think the 17/9 bit lsfr is based on the decap schematics, so this is probably down to the number of cycles to delay on writes/reads or suchlike.
- FO 08:33 PM EclaireXL Bug #33: Wizard of Wor
- I set them to nop ... then the game works and no longer crashes!
- FO 08:19 PM EclaireXL Bug #33: Wizard of Wor
- easier to set memory on xex or atx version...
36FD: A9 8F LDA #$8F
36FF: 8D 08 D2 STA AUDCTL
3702: A9 00 LDA #$00
3704: 8D 08 D2 STA AUDCTL
- FO 08:10 PM EclaireXL Bug #33: Wizard of Wor
- Will try nopping these to see (on cart!!)
A0BB: A9 8F LDA #$8F
A0BD: 8D 08 D2 STA AUDCTL
A0C0: A9 00 LDA #$00
A0C2: 8D 08 D2 STA AUDCTL - FO 08:03 PM EclaireXL Bug #33: Wizard of Wor
- With 8f for only ... 6 cycles
- FO 07:57 PM EclaireXL Bug #33: Wizard of Wor
- It writes 8f and 00 often to audctl. This switches the shift register from 17 bit to 9 bit and back. Could there be some freak timing thing where the random ends up giving the same values?
- FO 07:45 PM EclaireXL Bug #33: Wizard of Wor
- No Pokey IRQs
Reads pots, writes potgo
Reads random
Reads skstat
+ plays some music
Nothing out of the ordinary that I can see...
I wonder if its possible to play with paddles or this is used for something else.
Could rando...
10/11/2018
- FO 09:41 PM EclaireXL Bug #33: Wizard of Wor
- I put my real pokey back in the 600Xl to confirm. Definitely works properly with real pokey and definitely fails with pokeymax.
So, we have a pokey core bug. - FO 09:34 PM EclaireXL Bug #33: Wizard of Wor
- Nope, fails with pokeymax in mono mode too!
So, the issue seems to be with pokey. OK, getting closer! Will check which pokey regs its accessing in Altirra to get some clues... - FO 09:25 PM EclaireXL Bug #33: Wizard of Wor
- I'm trying it on my 600XL. I'm getting similar crashes, when running with PokeyMAX. So could be a Pokey bug, or incompatible with stereo pokey?
- FO 08:10 PM EclaireXL Bug #33: Wizard of Wor
- Crashes in the same way with T65, so... I guess its not a cpu bug!
- FO 08:04 PM EclaireXL Bug #33: Wizard of Wor
- I think its a CPU bug, trying to wire up T65 to see if that works. If it does, I'll run the CPUs against each other and highlight the discrepancy! More realistic than it used to be since Wolfgang did a LOT of t65 fixes since I last used it.