Activity
From 10/01/2018 to 10/30/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.
10/09/2018
- FO 08:55 PM EclaireXL Bug #33: Wizard of Wor
- Disables them at $a535 then never re-enables... (this address is normal, I see this call on Altirra)
- FO 08:44 PM EclaireXL 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...
- FO 07:39 PM EclaireXL 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...
10/08/2018
- FO 08:01 AM EclaireXL 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.
10/07/2018
- FO 09:03 PM EclaireXL Bug #33: Wizard of Wor
- Planning to shift the dli so it does not overlap, to see if that fixes it.
- FO 08:29 PM EclaireXL Bug #33: Wizard of Wor
- 9c0c: pla on 2nd dli is when 3rd dli fires. This could be shifted by a few cycles on 'events', which could be when it crashes. pla takes 4 cycles.
- FO 08:16 PM EclaireXL Bug #33: Wizard of Wor
- First dli, seems to reposition player and missiles - for map?
Second dli, wsync, change charset
Third dli, was entered during pla of second dli! Seems to reposition players then copy stuff in loops. I guess The players are used for the... - FO 08:00 PM EclaireXL Bug #33: Wizard of Wor
- So, taking another look in Altirra:
Altirra> .dumpdlist
2110: x3 blank 8
2113: mode D @ 3500
2116: x59 mode D
2151: mode.i D
2152: mode 4
2153: mode.i 4
2154: mode.i D
2155: x3 mod... - FO 07:25 PM EclaireXL Bug #33: Wizard of Wor
- Nope, I was just too rubbish and kept dying before it failed :-)
- FO 07:19 PM EclaireXL Bug #33: Wizard of Wor
- Just testing it and ... tried the atx version and the cart version. They both work now! I guess due to a fix in the last year.
Can someone else double check please to check I'm not going mad? - FO 03:32 PM EclaireXL Bug #33: Wizard of Wor
- This one annoys me, raising the priority and going to take another look...
- FO 03:30 PM EclaireXL Feature #76: Merge down to trunk
- This will probably break many (other platform) core builds on trunk in the short term...
- FO 03:30 PM EclaireXL Feature #76: Merge down to trunk
- Keen to get this work back on the mainline.
- FO 03:04 PM EclaireXL Bug #54 (Closed): GTIA issue when Turbo > 4X
- There is a signal that tells gtia when to read the memory from the bus, correctly that signal's generation to allow for cpu cycles spanning the end of an original cycle time.
10/05/2018
- FA 09:36 PM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- Frustratingly, I have not been easily able to reproduce the effect with the keyboard it occurred on before. I will spend some more time attempting to reproduce soon but will be traveling for the next week or so.
- FO 09:33 PM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- How is it going with the other keyboard?
- FO 09:32 PM EclaireXL Bug #54: GTIA issue when Turbo > 4X
- Data is read on the first completed cycle in an 'original cycle'. Remember this is 32x clock. The problem is that if a cycle starts on the 32nd sub-cycle and ends on the 1st cycle, we take that as the pmg data.
- FO 09:17 PM EclaireXL Feature #76 (Resolved): Merge down to trunk
- Several requests to get some of these features back up and running on the mist.
10/04/2018
- FO 09:41 PM EclaireXL Bug #54 (In Progress): GTIA issue when Turbo > 4X
- FO 09:41 PM EclaireXL Bug #54: GTIA issue when Turbo > 4X
- Another one that bugs me, will look at this next since I'm sure its trivial...
- FO 09:30 PM EclaireXL Bug #60 (Closed): Prozac dreams large logo flickers
- OK, that worked but broke an acid test. Now have a solution that works without breaking the acid test... Closing:-)
- FO 08:42 PM EclaireXL Bug #60: Prozac dreams large logo flickers
- Nasty edge case around dma disabling for the last few cycles of the scanline and cpu cycle completion timing, combined with the later cpu cycle completion due to pbi. Think its fixed, just checking!
- FO 08:10 PM EclaireXL Bug #60: Prozac dreams large logo flickers
- There is an extra dma fetch at colour clock 0, investigating what is going on...
- FO 07:03 AM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- Well I just received Millionaire on disk so I can give it a go and see if I have the same issue. My keyboard definitely keeps working when idle in basic since I leave it there all the time while debugging the core:-)
10/03/2018
- FO 09:36 PM EclaireXL Bug #60: Prozac dreams large logo flickers
- Wired up the pbi enable/disable to the menu, so I can turn it on/off and see the result on the frozen screen. Enough for now, but getting closer!
- FO 09:32 PM EclaireXL Bug #60: Prozac dreams large logo flickers
- Its a plain antic 4 display. Seems to be a kernel that moves pmgs around and sets colours also changes character set. I guess this is rasta converter stuff?
Anyway seems to be for some hscrol values it ends up reading the wrong chars,... - FA 10:47 AM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- Yes, the core is still running because we were hearing music play. The game we were playing didn't use a joystick so we couldn't test that. I can try to reproduce with something that uses both joystick and keyboard. I will also see if I ...
10/02/2018
- FO 09:02 PM EclaireXL Bug #60: Prozac dreams large logo flickers
- What do I know so far...
pbi disabled -> works
pbi enabled -> breaks
Tried instead by delaying the cpu enable 20 cycles -> breaks
Tried to delay cpu writes to antic alone by 20 cycles -> works...
Surprised by that last result be... - SA 08:42 PM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- sadosp wrote:
> Farb wrote:
> ...
- SA 08:39 PM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- Farb wrote:
Could be irrelevant but I haven't replaced a faulty ribbon cable that caused joystick problems. I merely swapped the two cables and joysticks started working properly.
Irrespective of the problem with the keyboard,I am v... - FO 07:25 PM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- Unlikely to be the ribbon, though if its iffy you should replace it. I say that because while the joysticks are connected via the ribbon, the usb ports are directly connected to the fpga.
Might be worth trying a different keyboard to ... - FA 02:41 PM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- I have seen it happen a few times using the same USB keyboard (which was also the same keyboard I used on the MiST and don't recall having a problem):
1. Last night using v28 playing a trivia game ("Millionaire" from the 2018 ABBUC so... - FO 10:27 AM EclaireXL Bug #75: USB keyboard stops functioning after idle period
- Two potential problems:
1) max number of devices was decreased in v28, should have no impact but it was a change.
2) SIO can block usb polling and there have been significant sio changes.
This really seems to be elapsed time? Did yo...
10/01/2018
- FA 10:16 PM EclaireXL Bug #75 (Closed): USB keyboard stops functioning after idle period
- I have noticed in the last few core builds (up to and including v29) that if the USB keyboard is idle for too long, it stops working. Sometimes unplugging/replugging the USB connector fixes the problem and sometimes it doesn't.