Project

General

Profile

Activity

From 10/08/2018 to 11/06/2018

10/13/2018

09:44 PM Revision 800 (repo2): Some handy palette stuff
markw
09:41 PM Revision 799 (repo2): EclaireXL has diverged a lot, use this for other platforms for now!
markw
09:35 PM Revision 798 (repo2): Turn off some 5200 stuff when not in 5200 mode. Remove unused function.
markw
FO 08:57 PM 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...
foft
FO 08:32 PM 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...
foft

10/12/2018

FO 09:49 PM Core v31
A very simple, but hard to find, change this time!
Wizard of Wor was failing due to the code switching back and forth from poly 17 to poly 9 mode at precise times. This caused repeatable values from random, which crashed the game!
...
foft
FO 09:45 PM Bug #33 (Closed): Wizard of Wor
I modeled this by adding a 1 cycle delay on sel9bitpoly going high. The game then works! foft
FO 09:04 PM 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!
foft
FO 08:44 PM 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. foft
FO 08:34 PM 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. foft
FO 08:33 PM Bug #33: Wizard of Wor
I set them to nop ... then the game works and no longer crashes! foft
FO 08:19 PM 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
foft
FO 08:10 PM 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
foft
FO 08:03 PM Bug #33: Wizard of Wor
With 8f for only ... 6 cycles foft
FO 07:57 PM 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?
foft
FO 07:45 PM 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...
foft

10/11/2018

FO 09:41 PM 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.
foft
FO 09:34 PM 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...
foft
FO 09:25 PM 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? foft
FO 08:10 PM Bug #33: Wizard of Wor
Crashes in the same way with T65, so... I guess its not a cpu bug! foft
FO 08:04 PM 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. foft

10/09/2018

FO 08:55 PM Bug #33: Wizard of Wor
Disables them at $a535 then never re-enables... (this address is normal, I see this call on Altirra) foft
FO 08:44 PM Bug #33: Wizard of Wor
One of the common crashes is when it ends up with the character set in the bottom half. In this state there are no NMIs. Going to try to catch that on the logic analyzer with a large history and see how it entered that state. I guess nmi... foft
FO 07:39 PM Bug #33: Wizard of Wor
Tried shifting the dli, seems to then work.
Tried removing my cpu hack, no change.
Updated to latest cpu core, change was just in sensitivity lists (no real change).
Since the following work:
i) Running core 2x faster
ii) Shifting...
foft

10/08/2018

FO 08:01 AM Bug #33: Wizard of Wor
I have a feeling I did a cpu patch that I wasn’t certain about to fix the Irq blocking nmi acid test. I expect that is related. foft
 

Also available in: Atom