Polaris

User avatar
cruiserusa
Posts: 5
Joined: Sat Oct 21, 2023 8:47 pm
Has thanked: 7 times

Polaris

Unread post by cruiserusa »

Hey guys, first post here.
Any love for Polaris? I didn’t see anything about it in the forum and there’s no core available I guess.

User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

There is an MRA for polaris in the unreleased folder on github. (space invaders core)

I need to look to see what was missing from that, I know it has no sound so samples and possibly the circuit for the boss plane up/down noise are required.

I should be doing some changes to one of the other games as the daughter PCB has been found and traced out so that needs adding in.

Did I do something useful?

buy me a coffee
User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

I had a look, it basically works but does not look like it uses P2 controls plus the sound is totally wrong (if it makes any)

Also for some reason the sub 'flickers', not sure why that is, it even does it if you set it to B&W so it draws it in white.

Did I do something useful?

buy me a coffee
User avatar
cruiserusa
Posts: 5
Joined: Sat Oct 21, 2023 8:47 pm
Has thanked: 7 times

Re: Polaris

Unread post by cruiserusa »

Thanks for the information. I'm gonna test it this weekend and post the results.

User avatar
cruiserusa
Posts: 5
Joined: Sat Oct 21, 2023 8:47 pm
Has thanked: 7 times

Re: Polaris

Unread post by cruiserusa »

I went to your unreleased folder and found a game with a brazilian portuguese name that called my attention: Galactica - Batalha Espacial. OMG I remember that game in the arcade and only just now I could realize it was a Galaxian clone. Interesting! Good memories.

User avatar
cruiserusa
Posts: 5
Joined: Sat Oct 21, 2023 8:47 pm
Has thanked: 7 times

Re: Polaris

Unread post by cruiserusa »

macro wrote: Sat Nov 04, 2023 11:54 pm

I had a look, it basically works but does not look like it uses P2 controls plus the sound is totally wrong (if it makes any)

Also for some reason the sub 'flickers', not sure why that is, it even does it if you set it to B&W so it draws it in white.

The sound is really wrong and the sub flickers. So do you intend to work on it?

User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

Looking at the core it seems (to me) that it is calling the interrupts back to front (it does one mid frame and one at end frame)

changing that to call them in the opposite order and the flashing sub stops flickering

need to check that it doesn't break anything else in the core (and maybe add some visible screen update to confirm my suspicion)

Did I do something useful?

buy me a coffee
User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

I made a few changes, updated the SYS files and have completed Polaris.MRA

need to do a pull request, but if someone wants to check this first ...

Polaris.zip
(1.37 MiB) Downloaded 217 times
Did I do something useful?

buy me a coffee
User avatar
wark91
Core Developer
Posts: 334
Joined: Sun May 24, 2020 8:34 pm
Has thanked: 447 times
Been thanked: 95 times

Re: Polaris

Unread post by wark91 »

Polaris is working great thank you !

User avatar
cruiserusa
Posts: 5
Joined: Sat Oct 21, 2023 8:47 pm
Has thanked: 7 times

Re: Polaris

Unread post by cruiserusa »

macro wrote: Wed Nov 22, 2023 7:53 pm

I made a few changes, updated the SYS files and have completed Polaris.MRA

need to do a pull request, but if someone wants to check this first ...

Polaris.zip

Flicker: it is still flickering when you move the sub from the center to the right side. On the unreleased version, it is the opposite as the flicker starts when you move the sub from the center to the LEFT side of the screen.

Vertical sub movement: Just noticed it is not smooth in small increments as the horizontal movement.

The findings above may be contributing that sometimes the missile from the sub is not visible before hitting the aircraft.

MRA file: had to change the <rbf>spaceinvaders</rbf> to <rbf>Arcade-SpaceInvaders</rbf> in your file.

User avatar
pgimeno
Top Contributor
Posts: 709
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 277 times
Been thanked: 226 times

Re: Polaris

Unread post by pgimeno »

macro wrote: Wed Nov 22, 2023 7:53 pm

I made a few changes, updated the SYS files and have completed Polaris.MRA

need to do a pull request, but if someone wants to check this first ...

Polaris.zip

With this core, I see shots disappearing in Space Invaders. Especially when shooting from approximately the middle of the 3rd and 4th bunkers. Reverting to the previous version of the core fixes it.

User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

pgimeno wrote: Sun Nov 26, 2023 9:46 am

With this core, I see shots disappearing in Space Invaders. Especially when shooting from approximately the middle of the 3rd and 4th bunkers. Reverting to the previous version of the core fixes it.

Flicker not caused by that then, will revert and see if I can find another reason - Cheers

Did I do something useful?

buy me a coffee
User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

As far as I can see, it must flicker on the real PCB (although I guess CRT helps hide this a bit)

It moves the sub on the interrupt driven from the vertical flyback, but if your sub is on the left of the screen, then it flickers as it takes several complete horizontal raster lines to erase and re-draw the submarine. The CPU (at 2Mhz, plus wait states etc.) just cannot do it.

I'm experimenting with different CPU overclocking to see if the problem can be reduced!

(of course, mame draws the entire screen at the start of the flyback, so no flickering. you would have to change the code to draw the screen about 1/4 frame late to avoid the flicker, and that would probably mean something else flickers instead!

Did I do something useful?

buy me a coffee
User avatar
macro
Core Developer
Posts: 141
Joined: Sun May 24, 2020 4:12 pm
Been thanked: 171 times

Re: Polaris

Unread post by macro »

I've added a DIP to the Polaris MRA that allows you to 'overclock' the CPU and that seems to reduce the flicker.

It may have other effects as well, but gameplay seems the same to me!

It only affects polaris, and cannot be enabled for any of the other games supported by the core.

PolarisClock.zip
(1.36 MiB) Downloaded 230 times
Did I do something useful?

buy me a coffee
Post Reply