jotego / jts16

FPGA core compatible with System 16 hardware
GNU General Public License v3.0
1 stars 0 forks source link

"Golden axe" & " Tough Turf" issues #16

Closed kaloun34 closed 1 year ago

kaloun34 commented 2 years ago

Hello Since the update of 09/072022, the mra "Golden Axe" and "Tough Turf" switch to service mode at startup and it's impossible to leave it. I managed it by forcing the service mode from the osd, but on reboot, same issue

jotego commented 2 years ago

Please try deleting your old config files.

kaloun34 commented 2 years ago

I already tried it

jotego commented 2 years ago

Thank you. I'll check it.

Videodr0me commented 2 years ago

Same here with Golden Axe. I think this can (also) be fixed by allowing to assign the "test button". This way one could just leave the "test program" and/or play around with it.

Quickly toggling Service Mode first on and then off again sometimes exits the menu and starts the game.

kaloun34 commented 2 years ago

It's the MRA that's the problem. Issue with the MRA "Golden Axe (set 6, US) (8751 317-123A)" No issue with the alternatives MRAs

asturur commented 1 year ago

I want to add that the intro in goldenaxe has now broken graphic and sprites when the character are introduce. The name is covered in white rectangles and the drawing seems off in colors.

(to leave the service mode, enter mister menu, press service mode on/off and you are out, that menu item serve as service button appartently)

NewAstroCitys commented 1 year ago

I want to add that the intro in goldenaxe has now broken graphic and sprites when the character are introduce. The name is covered in white rectangles and the drawing seems off in colors.

I have also experienced the same issue and even though it does not affect the game it would be nice if this could be fixed in a future update.

shuffle5 commented 1 year ago

i get this too (service menu - if you press F2 its the enter button so you can continue with game) , plus the attract mode is corrupted where it shows the characters drawings. ) IMG_2023

jotego commented 1 year ago

verified in 7d64dbb previous published version 21574e8 displays graphics correctly but it also starts in test mode. Versions earlier than that had the MCU version in a different RBF. I think these are two different problems. I take the test-mode bug to issue jotego/jtgng#171

jotego commented 1 year ago

Regression error introduced in ffb5179

 always @(posedge clk) if( pxl_cen ) begin
-    lyr0 <= tile_or_obj( obj_g[9:0], {4'd0, char_g[5:0] }, char_g[ 6], obj_prio==2'd3 );
-    lyr1 <= tile_or_obj( obj_g[9:0],        scr1_g[9:0]  , scr1_g[10], obj_prio>=2'd2 );
-    lyr2 <= tile_or_obj( obj_g[9:0],        scr2_g[9:0]  , scr2_g[10], obj_prio>=2'd1 );
-    lyr3 <= tile_or_obj( obj_g[9:0], {scr2_g[9:3], 3'd0 },       1'b0, 1'b1           );
+    lyr0 <= { 2'd0, tile_or_obj( obj_g[9:0], {4'd0, char_g[5:0] }, char_g[ 6], obj_prio==2'd3 ) };
+    lyr1 <= { 2'd1, tile_or_obj( obj_g[9:0],        scr1_g[9:0]  , scr1_g[10], obj_prio>=2'd2 ) };
+    lyr2 <= { 2'd2, tile_or_obj( obj_g[9:0],        scr2_g[9:0]  , scr2_g[10], obj_prio>=2'd1 ) };
+    lyr3 <= { 2'd2, tile_or_obj( obj_g[9:0], {scr2_g[9:3], 3'd0 },       1'b0, 1'b1           ) };
 end

 always @(*) begin
-    { shadow, pal_addr } =
+    { shadow, lyrsel, pal_addr } =
                (lyr0[10] ? lyr0[3:0]!=0 : lyr0[2:0]!=0) ? lyr0 : (
                (lyr1[10] ? lyr1[3:0]!=0 : lyr1[2:0]!=0) ? lyr1 : (
                (lyr2[10] ? lyr2[3:0]!=0 : lyr2[2:0]!=0) ? lyr2 : (
                 lyr3 )));

The shadow bit was incorrectly assigned because the newly layer-selection bits took the MSB part of the layer signals.

Fixed in d1ec409