Previous Thread
Next Thread
Print Thread
Page 2 of 4 1 2 3 4
Pernod #113213 04/24/18 05:10 PM
Joined: May 2004
Posts: 1,007
Likes: 118
D
Very Senior Member
Offline
Very Senior Member
D
Joined: May 2004
Posts: 1,007
Likes: 118
Doing your own is a solution of course, but I would love to see some generic improvements to the 6845 so that all drivers benefit.

Pernod #113214 04/24/18 05:52 PM
Joined: Mar 2001
Posts: 17,234
Likes: 259
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,234
Likes: 259
I'm going to put that harder: fix the 6845 to work. Abandoning it is both cowardice and poor documentation value, and I will not look kindly upon any change lists that do so.

Pernod #113215 04/24/18 06:30 PM
Joined: Apr 2012
Posts: 344
Likes: 63
Pernod Offline OP
Senior Member
OP Offline
Senior Member
Joined: Apr 2012
Posts: 344
Likes: 63
I'm not saying there's anything wrong with the current 6845, the real device doesn't output the video yet we have MC6845_UPDATE_ROW to do just that. The BBC has a VideoULA to output video RGB which takes the various 6845 outputs MA, RA, CURSOR, DE to generate video for the whole screen, not just the last area the 6845 was configured for. The amstrad driver uses the 6845 in a similar way and doesn't use MC6845_UPDATE_ROW, is that wrong?

I need to do some more testing but will probably submit current progress with borders and fixed blanking using MC6845_UPDATE_ROW. I'm not expecting this to break anything (apart from artwork) and will certainly improve many games that simply reduce the screen size to save video RAM.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Pernod #113217 04/24/18 10:02 PM
Joined: Mar 2013
Posts: 344
Likes: 3
I
Senior Member
Offline
Senior Member
I
Joined: Mar 2013
Posts: 344
Likes: 3
Originally Posted by Pernod
The amstrad driver uses the 6845 in a similar way and doesn't use MC6845_UPDATE_ROW, is that wrong?
Could it be related to this display bug in the CPC driver? -> http://mametesters.org/view.php?id=6864

ICEknight #113218 04/24/18 10:21 PM
Joined: Dec 2006
Posts: 534
M
Senior Member
Offline
Senior Member
M
Joined: Dec 2006
Posts: 534
Originally Posted by ICEknight
Could it be related to this display bug in the CPC driver? -> http://mametesters.org/view.php?id=6864
I think that's related more to setting up for differing frame rates, where the driver just bases the frame rate on a machine config setting.


- Barry Rodewald
Joined: Apr 2012
Posts: 344
Likes: 63
Pernod Offline OP
Senior Member
OP Offline
Senior Member
Joined: Apr 2012
Posts: 344
Likes: 63
Originally Posted by R. Belmont
I'm going to put that harder: fix the 6845 to work.
If this is referring to improving mc6845_device::screen_update then I agree.

Out of curiosity, why would Machine Information report different Video resolutions depending on whether MCFG_MC6845_SHOW_BORDER_AREA is true or false?
false:
[Linked Image from i.imgur.com]
true:
[Linked Image from i.imgur.com]


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Pernod #113230 04/25/18 04:08 PM
Joined: May 2004
Posts: 1,772
Likes: 34
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,772
Likes: 34
because it shows the current visible area size, which is obviously different if borders are showing..

Haze #113614 06/27/18 04:22 PM
Joined: Apr 2012
Posts: 344
Likes: 63
Pernod Offline OP
Senior Member
OP Offline
Senior Member
Joined: Apr 2012
Posts: 344
Likes: 63
Originally Posted by Haze
because it shows the current visible area size, which is obviously different if borders are showing..
Obviously, was a case of typing before thought.

Do any other drivers handle changing of the pixel clock during a scanline? This will be required to handle split modes vertically rather than the more commonly used horizontally split.

So the 6845 currently has a scanline_timer but I really need a pixel_timer. Would it makes sense to implement this in my MC6845_UPDATE_ROW or would a new MC6845_UPDATE_PIXEL be the way to go?

Again just thinking out loud for guidance.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Pernod #113616 06/27/18 10:53 PM
Joined: Feb 2004
Posts: 2,603
Likes: 307
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,603
Likes: 307
MAME doesn't really support "horizontal partial updates" at the moment, and it definitely doesn't support changing resolution within a line. If you've got horizontal resolution changes within a line, you need to render at lowest common multiple. A per-pixel timer would kill performance. If you need to render per-pixel, you'd be better off making the video chip implement device_execute_interface and letting the scheduler deal with it.

Pernod #113617 06/28/18 12:37 AM
Joined: Mar 2001
Posts: 17,234
Likes: 259
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,234
Likes: 259
Yeah, I need to get back to the horizontal partial update thing after my current large project lands. Gotta get those French Touch demos perfect.

Page 2 of 4 1 2 3 4

Link Copied to Clipboard
Who's Online Now
2 members (R. Belmont, 1 invisible), 205 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,328
Posts122,128
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com