Hardware test results

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpiceWare

Good news - you have the correct driver for testing with the Dev cart:

IMG_6449.jpg


Bad news, while the menu is stable the game screen constantly rolls - see attached movie (I tried putting it inline but it wouldn't play).


Note: I created a new topic as I didn't see a way to attach files in a reply.

alex_79

Quote from: SpiceWare on 06 Jun 2026, 01:21 AMNote: I created a new topic as I didn't see a way to attach files in a reply.

Clicking "Preview" while replying moves you to a new page where there is an "attachments" button.
Anyway, it doesn't seem to work correctly: you can only pick one file (if you select another one, it replaces the previous one), and you can't include it inline with the message.
When you post the message you'll find the file at the bottom.

Attachments seem to work fine in other parts of the forum, like the "Programming" subforum. I tried creating a new topic there (but didn't commit), and it lets you drag and drop multiple files and allows to place them inline in the body of the message.

@Andrew Davie can you check the forum settings and see if this can be fixed?


Andrew Davie

Quote from: SpiceWare on 06 Jun 2026, 01:21 AMGood news - you have the correct driver for testing with the Dev cart:
Bad news, while the menu is stable the game screen constantly rolls - see attached movie (I tried putting it inline but it wouldn't play).


Thanks for testing!
I either have a malformed frame, or I'm overtime. I suspect the latter.
In the latest version (attached), I've reduced the usage of VB and OS to see if it improves.
But overall, I really haven't paid a LOT of attention to the potential overtimes so if it's that, I'm not wholly suprised.

As to the forum attachment thing requiring you to go to preview - yes it's super annoying. I'll see if anyone has fixed it, or if there are any options.


Andrew Davie

Quote from: alex_79 on 06 Jun 2026, 02:45 AM@Andrew Davie can you check the forum settings and see if this can be fixed?

TY. I'll look into it. I'm not strong at managing the forum.

Andrew Davie

Quote from: alex_79 on 06 Jun 2026, 02:45 AM@Andrew Davie can you check the forum settings and see if this can be fixed?

Surprisingly, this is by design in the SMF forum.

Essentially there are two reply modes - a "QUICK REPLY" which is a stripped-down reply mode (no attachments), and a normal "REPLY" mode - the full shebang.  There's a REPLY at the very bottom of the thread which lets you do the full thing (but not include quotes by default). It sucks.  The QUOTE button is wired to the QUCK REPLY editor, by default.  Apparently many people hate it.

For now the workaround is to hit QUICK REPLY and then PREVIEW -- which escalates you to the full editor. Apparently there are plugins that fix this behaviour; I'll do some digging and try and get it fixed.

Andrew Davie

Quote from: alex_79 on 06 Jun 2026, 02:45 AM@Andrew Davie can you check the forum settings and see if this can be fixed?

This is now fixed via plugin Disable Quick Reply

SpiceWare

Quote from: Andrew Davie on 06 Jun 2026, 03:14 AMIn the latest version (attached), I've reduced the usage of VB and OS to see if it improves.

Still rolls on the game screen.

I see the attachment option now without needing to hit Preview, thanks!

JetSetIlly

What's the clock speed of the CPU in the DevCart?
https://github.com/JetSetIlly/Gopher2600
@JetSetIlly@mastodon.gamedev.place
@jetsetilly.bsky.social

Bomberman94

Yes, I can confirm, the last binary runs on my Dev cartridge, too. Title screen colors seems to be off (maybe automatic PAL detection fails?) and in-game jumps or better rolls like in the video. The sound seems to be out of sync, too.

SpiceWare

#9
Quote from: JetSetIlly on 06 Jun 2026, 03:57 PMWhat's the clock speed of the CPU in the DevCart?

@johnnywc23 said this in my email discussion with him earlier this year:
QuoteI'm pretty sure the 64K Melody board only runs at 60hz, but the dev board runs at 70hz.

I haven't tested this myself as my work on Draconian Deluxe got derailed soon after that discussion.  I'm currently putting my home office back together* and plan to resume work on DD once that's done.

* I decided to switch back to a regular desk after being sick a few weeks last month, which made work grueling (I work from home) because there was no way to setup a chair on my treadmill desk.

Andrew Davie

Quote from: Bomberman94 on 07 Jun 2026, 01:05 AMYes, I can confirm, the last binary runs on my Dev cartridge, too. Title screen colors seems to be off (maybe automatic PAL detection fails?) and in-game jumps or better rolls like in the video. The sound seems to be out of sync, too.

The attached version has the following changes:

1) 60MHz arm detect added
2) Throttle hardwired lower for auto-cycle calculations

This should fix the PAL detection - if it does, then your DEV cart is definitely 60MHz.
If it also stops (mostly) the rolling on the game screen, then that's double-confirmation.

RESET or SELECT to advance to next level.
Button press shows the weapon in use on each level (if present).



SpiceWare

Video attached.  Still rolls, though doesn't seem quite as bad as before.

Andrew Davie

Quote from: SpiceWare on 07 Jun 2026, 02:54 AMVideo attached.  Still rolls, though doesn't seem quite as bad as before.

Thanks for testing.
Here's a version throttled right down.
It will be a bit laggy in gameplay.

I'm curious if the roll is lessened.




SpiceWare

Still rolls

Andrew Davie

#14
A slightly different approach in this one.

Previously I passed INTIM-1 to the ARM code. In this one I'm passing INTIM-3. That gives more time for the subsequent 6502 code to process. ALSO, in the ARM code itself I have the following before returning to 6502...

    while (T1TC < availableIdleTime)
        ;


Essentially this guarantees EVERY ARM call uses the maximum possible cycles it's told it has to do stuff. If there's gonna be an overtime due to incorrect INTIM calcs, this will trigger that.  When I had INTIM-1, it rolled pretty much all the time.  Now it's INTIM-3 I haven't seen a roll.

Fingers crossed there's an improvement! TY to those testing!

This version will display the ARM speed in the scoring at top.  60 or 70 (MHz). 99=WTF?