Comments (4)
Additionally the colours look dark and washed out on RGB. Perhaps running at 0-255 instead of 16-235?
from mist-board.
I've fixed the OSD missing on RGB 15khz and fixed the washed out colours in RGB 15khz (VGA wasn't affected). I've posted the binary here.
Here's the patches:
--- bbc_mist_top.v.orig 2015-10-09 08:53:27.000000000 +0100
+++ bbc_mist_top.v 2017-02-20 11:04:56.390396374 +0000
@@ -109,7 +109,7 @@
// without scan doubler only half the pixel clock is used
reg clk_12m;
-always @(clk_24m)
+always @(posedge clk_24m)
clk_12m <= !clk_12m;
wire clk_osd = scandoubler_disable?clk_12m:clk_24m;
@@ -133,7 +133,9 @@
.green_out ( VGA_G ),
.blue_out ( VGA_B ),
.hs_out ( v_hs ),
- .vs_out ( v_vs )
+ .vs_out ( v_vs ),
+
+ .tv15khz ( scandoubler_disable )
);
wire v_hs, v_vs;
$ diff -Nur osd.v.orig osd.v
--- osd.v.orig 2015-09-30 11:33:46.000000000 +0100
+++ osd.v 2017-02-20 10:44:38.963717447 +0000
@@ -45,7 +45,9 @@
output [5:0] green_out,
output [5:0] blue_out,
output hs_out,
- output vs_out
+ output vs_out,
+
+ input tv15khz
);
parameter OSD_X_OFFSET = 10'd0;
@@ -194,9 +196,16 @@
osd_byte <= osd_buffer[{osd_vcnt[6:4], osd_hcnt}];
wire [2:0] osd_color = OSD_COLOR;
-assign red_out = !osd_de? {3{red_in}} : {osd_pixel, osd_pixel, osd_color[2], {red_in, red_in[1]} };
-assign green_out = !osd_de? {3{green_in}} : {osd_pixel, osd_pixel, osd_color[1], {green_in, green_in[1]} };
-assign blue_out = !osd_de? {3{blue_in}} : {osd_pixel, osd_pixel, osd_color[0], {blue_in, blue_in[1]} };
+
+// RGB 15khz output is different to fix dull colours, VGA not affected.
+// BBC only uses one bit per colour but video engine uses a 2-bit vector.
+wire [5:0] r_in = tv15khz? {5{red_in[0]}} : {3{red_in}};
+wire [5:0] g_in = tv15khz? {5{green_in[0]}} : {3{green_in}};
+wire [5:0] b_in = tv15khz? {5{blue_in[0]}} : {3{blue_in}};
+
+assign red_out = !osd_de? r_in : {osd_pixel, osd_pixel, osd_color[2], {red_in, red_in[1]} };
+assign green_out = !osd_de? g_in : {osd_pixel, osd_pixel, osd_color[1], {green_in, green_in[1]} };
+assign blue_out = !osd_de? b_in : {osd_pixel, osd_pixel, osd_color[0], {blue_in, blue_in[1]} };
assign hs_out = hs_in;
assign vs_out = vs_in;
from mist-board.
I've committed the fixes to the repository.
from mist-board.
Excellent, thanks a lot.
from mist-board.
Related Issues (20)
- MiST fails to powerup if other voltage sources are connected HOT 6
- Problems with keyboard on Minimig-AGA core
- Ploblem C64 Core HOT 2
- Problem ZX80/81 Core HOT 7
- Firmware: exFAT support HOT 6
- Amstrad CPC+ / GX-4000 HOT 4
- Is it a possible to boot using an ARC file instead of core.rbf? HOT 4
- Tile-mapped OSD? HOT 1
- [C64] strange issue with scandoubler and SD card HOT 14
- [BBC] Video problems with PVM and new core HOT 12
- [C64] EasyFlash .crt 1MB compilations not working now. HOT 9
- Add ability to avoid db9 joystick renumbering (per core option) HOT 6
- Where is the MSX core? HOT 1
- Ready-to-use USB-Rtc HOT 15
- Documentation on using pages on ARC files HOT 1
- Savestates in Firmware possible? HOT 1
- zx spectrum core HOT 4
- >4GB support for Amiga SD partitions HOT 13
- Change link on github.com/mist-devel HOT 2
- Suggest BOSSA instead of SAM.BA or Sam_I_Am HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mist-board.