From 4aaff33b57ca31e18149468bb962a0392cc2bdde Mon Sep 17 00:00:00 2001 From: TinyTapeoutBot <139130078+TinyTapeoutBot@users.noreply.github.com> Date: Sat, 2 Nov 2024 21:44:04 +0200 Subject: [PATCH] feat: update project tt_um_toivoh_retro_console from toivoh/ttihp-tt06-retro-console Commit: 1759e0a31f8cf3c269ab51e4129ec76beb1a6bad Workflow: https://github.com/toivoh/ttihp-tt06-retro-console/actions/runs/11643642194 --- .../tt_um_toivoh_retro_console/commit_id.json | 4 ++-- .../tt_um_toivoh_retro_console/docs/info.md | 15 ++++++++------- .../tt_um_toivoh_retro_console.gds | Bin 10522202 -> 10522202 bytes .../tt_um_toivoh_retro_console.spef | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/projects/tt_um_toivoh_retro_console/commit_id.json b/projects/tt_um_toivoh_retro_console/commit_id.json index 11d77bc..6b42403 100644 --- a/projects/tt_um_toivoh_retro_console/commit_id.json +++ b/projects/tt_um_toivoh_retro_console/commit_id.json @@ -1,7 +1,7 @@ { "app": "Tiny Tapeout tt09 b176ed7c", "repo": "https://github.com/toivoh/ttihp-tt06-retro-console", - "commit": "cbf5ddaceaf0bb9c97f026c13ef1cccc29e88985", - "workflow_url": "https://github.com/toivoh/ttihp-tt06-retro-console/actions/runs/11642122326", + "commit": "1759e0a31f8cf3c269ab51e4129ec76beb1a6bad", + "workflow_url": "https://github.com/toivoh/ttihp-tt06-retro-console/actions/runs/11643642194", "sort_id": 1730546769885 } \ No newline at end of file diff --git a/projects/tt_um_toivoh_retro_console/docs/info.md b/projects/tt_um_toivoh_retro_console/docs/info.md index b956b0d..658d3bf 100644 --- a/projects/tt_um_toivoh_retro_console/docs/info.md +++ b/projects/tt_um_toivoh_retro_console/docs/info.md @@ -533,17 +533,18 @@ The `copper_ctrl` PPU registers have specific effects on the Copper: Writing a value to `cmp_x` or `cmp_y` causes the Copper to delay the next write until the current raster x/y position is >= the specified compare value. -The raster position for x intially goes from `24 + r_x0_fp` to `32 + r_xe_hsync` as the raster scan goes through the front porch and horizontal sync (counted as the first part of the scan line). -Due to a bug, during the back porch and active regions, it is then calculated as +For each scan line, the raster position for x goes through the following phases in order - x_raster = {x[X_BITS-1:7], x[6:5] - 2'd3, x[4:0]} + Phase x raster positions + front porch 24 + r_x0_fp to 31 + horizontal sync 32 to 32 + r_xe_hsync + back porch 96 + r_x0_bp to 127 + active 128 to xe_active -where `x` goes from `96 + r_x0_bp` to `xe_active`. -This makes `x_raster` non-monotonic, making it harder to wait for some x positions. -A partial workaround for waiting for an `x_raster` value that is lower than a previous value in the scan line is to start with a write to `cmp_x` of the highest value expected before reaching the given position, followed directly with a write to `cmp_x` of the actual value. +yielding increasing raster positions for x. The raster position for y counts as zero until the active region starts in the y direction. -Then, the compare value is `512 + y - 2*screen_height` where `y` is the number of scan lines since the start of the active region in the y direction. +Then, the compare value is `512 - 2*screen_height + y` where `y` is the number of scan lines since the start of the active region in the y direction. #### Jumps Usually, the Copper loads instructions from consecutive addresses. diff --git a/projects/tt_um_toivoh_retro_console/tt_um_toivoh_retro_console.gds b/projects/tt_um_toivoh_retro_console/tt_um_toivoh_retro_console.gds index aa6941c8dfbdae1888da0aeb531b8e38bdc887c9..487df40be59a572b352fbfec64916f1868814ac2 100644 GIT binary patch delta 2107 zcmZ|PSx8i27{>AQea9J>amFPzGcz4WD_bYc_PuPg-O6m4c5So8_H40zFP&;^50VNB zB8E6bT@*y!v=C7jMUV_dbrFP86cqiTn_%89elR@q&U3znGq2C?u)T)cup3&J8tF<$ zel#40HsXwABkkYMweEHa;bB=QJoJxKQaVISX`$IDG_;S9(lndY;Ia#|b&=9&bEGip z{}9!f6t*+NV-I{iZMuWMqMs`H>)Hm>?f(@W<-ew!{xVm7!1?Kv!=LKv5!@eJq{4R< zeCKTXPnGxH->N|0w-+42^!Pi{&p#$qr3$Uf@toncP}Zgw9MbP)cX`+ zzWK4rlJeY;Y7}n7N^Ms6rR{#U>7CMgwkGKnQvdHfeM0JK=%=5@3G3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=VEoguxhsp%{kY7=dDp#3+o$7>q>;#$h}r zU?L`=6q8YgDVU0BD93bEUZT^DV)X`oW(hu#|6_}cd;n`58W^5x&QzG diff --git a/projects/tt_um_toivoh_retro_console/tt_um_toivoh_retro_console.spef b/projects/tt_um_toivoh_retro_console/tt_um_toivoh_retro_console.spef index adea2dd..6b84dde 100644 --- a/projects/tt_um_toivoh_retro_console/tt_um_toivoh_retro_console.spef +++ b/projects/tt_um_toivoh_retro_console/tt_um_toivoh_retro_console.spef @@ -1,6 +1,6 @@ *SPEF "ieee 1481-1999" *DESIGN "tt_um_toivoh_retro_console" -*DATE "11:14:37 Saturday November 02, 2024" +*DATE "15:21:09 Saturday November 02, 2024" *VENDOR "The OpenROAD Project" *PROGRAM "OpenROAD" *VERSION "v2.0-16649-g40811f37f"