v0.28.0

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JetSetIlly

Mostly bug fixes in v0.28.0 https://github.com/JetSetIlly/Gopher2600/releases/tag/v0.28.0


Paddle movement is much improved in this version. I thought the deficiency was lag in the display chain but it turns out I had an artificial lag in the user-input sub-system. That's gone now and paddles now feel much smoother. It should improve all input methods for the paddle including the Stelladaptor. Unfortunately, I don't have a Stelladaptor to test and the person who tested it for me seems to be out of action. So if anyone can test to see if it still works, that would be very much appreciated.
 

I'm currently working on adding a Vulkan rendering option. OpenGL is slowly being deprecated on many operating systems and besides, Vulkan offers some interesting possibilities above and beyond OpenGL. I'm not sure what the end result will be just yet but I'm hopeful.
https://github.com/JetSetIlly/Gopher2600
@JetSetIlly@mastodon.gamedev.place
@jetsetilly.bsky.social

Thomas Jentzsch

You could test with a 2600-daptor.

JetSetIlly

Do they work in the same way as a Stelladaptor?
https://github.com/JetSetIlly/Gopher2600
@JetSetIlly@mastodon.gamedev.place
@jetsetilly.bsky.social

Thomas Jentzsch

Yes. We use the same code for both in Stella. Only the controller name is different.

Thomas Jentzsch


JetSetIlly

So Stelladaptor, 2600-daptor and Jakadapter are all compatible with one another.

There is another adaptor called Joy2b+ that I don't believe is compatible. Any others?
https://github.com/JetSetIlly/Gopher2600
@JetSetIlly@mastodon.gamedev.place
@jetsetilly.bsky.social

Thomas Jentzsch

I vaguely remember that there is another one. But I could be wrong.

alex_79

#7
Quote from: JetSetIlly on 11 Jan 2024, 06:05 AMMostly bug fixes in v0.28.0 https://github.com/JetSetIlly/Gopher2600/releases/tag/v0.28.0

The new PAL-M mode has the wrong palette: PAL-M consoles were based on NTSC machines (with a NTSC TIA), with a different crystal (3.575611 MHz) and an additional PAL-M conversion circuitry. So it uses the NTSC palette, not the PAL one.

PAL-N consoles (for Argentina) also exist, and they were designed in the same way (different clock + PAL conversion circuit on a NTSC 2600 board), so they use NTSC palette too, although games are 50Hz like European PAL.
I couldn't find official schematics or service manuals for PAL-N, nor closeup pictures of the actual crystal with the markings visible, so I'm not sure about the exact TIA clock value used in original PAL-N Atari 2600s.
The best sources of info I found so far are some threads (in Spanish) in some forums from Argentina like this one:
http://retrogaming.com.ar/forum/viewtopic.php?f=4&t=9843

It is mentioned that an Atari clone from "Dynacom" uses a 3.582056 crystal (which matches the PAL-N color carrier spec value from wikipedia).
And I found in some Atari parts list that there's a crystal part no. CO16289 which is 3582080 Hz which could be what was actually used in official PAL-N 2600s from Atari.



Regarding SECAM, I'd like if Gopher2600 and Stella would also emulate the different TV TYPE switch behavior. The physical switch on a Secam console disables color generation in hardware when in B&W position, while pin 21 of the RIOT chip is permanently tied to ground, so bit 3 of SWCHB always reads as "0" there (with portB set as input).

As Andrew mentioned in another thread, there are about zero SECAM 2600 users, so implementing this wouldn't have any real benefit, other than the satisfaction of getting this little detail accurate... ;)




alex_79

Quote from: JetSetIlly on 12 Jan 2024, 04:53 AMThere is another adaptor called Joy2b+ that I don't believe is compatible.
AFAIK the Joy2b+ is a joystick format compatible with the original 2600 console (and 8 bit computers), and not an adapter for PC.
It's basically a Genesis controller with an additional third button wired to INPT0 (bit7=0 -> button pressed).

JetSetIlly

Quote from: alex_79 on 14 Jan 2024, 02:06 AMThe new PAL-M mode has the wrong palette: PAL-M consoles were based on NTSC machines (with a NTSC TIA), with a different crystal (3.575611 MHz) and an additional PAL-M conversion circuitry. So it uses the NTSC palette, not the PAL one.

Thanks for that. TBH, the only reason I added PAL-M was so that the RIOT timer runs at the correct rate. I've updated the colour information.


Quote from: alex_79 on 14 Jan 2024, 02:06 AMPAL-N consoles (for Argentina) also exist, and they were designed in the same way (different clock + PAL conversion circuit on a NTSC 2600 board), so they use NTSC palette too, although games are 50Hz like European PAL.
I couldn't find official schematics or service manuals for PAL-N, nor closeup pictures of the actual crystal with the markings visible, so I'm not sure about the exact TIA clock value used in original PAL-N Atari 2600s.
The best sources of info I found so far are some threads (in Spanish) in some forums from Argentina like this one:
http://retrogaming.com.ar/forum/viewtopic.php?f=4&t=9843

Interesting. I'll leave that in the TODO category for now :-)


Quote from: alex_79 on 14 Jan 2024, 02:06 AMRegarding SECAM, I'd like if Gopher2600 and Stella would also emulate the different TV TYPE switch behavior. The physical switch on a Secam console disables color generation in hardware when in B&W position, while pin 21 of the RIOT chip is permanently tied to ground, so bit 3 of SWCHB always reads as "0" there (with portB set as input).

That shouldn't be too difficult to add. But I want to do this properly.

At the moment colour generation is just done by palette lookup just before rendering. It would be good if the emulation actually generated the correct colour in the emulated VCS. If it did that, then the SECAM B&W problem would be easy to solve.


Quote from: alex_79 on 14 Jan 2024, 02:11 AMAFAIK the Joy2b+ is a joystick format compatible with the original 2600 console (and 8 bit computers), and not an adapter for PC.
It's basically a Genesis controller with an additional third button wired to INPT0 (bit7=0 -> button pressed).
Yes. But I thought the project also detailed how to connect the Joy2b+ devices to USB. But I'm not certain about that.
https://github.com/JetSetIlly/Gopher2600
@JetSetIlly@mastodon.gamedev.place
@jetsetilly.bsky.social