Palettemate / enhanced video ULA with 4096 colours

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Fri Jul 21, 2017 10:42 am

tricky wrote:If you had the space, you could do this in your ula, even just swap one bit of the palette index at a certain point.I need to go and check the versions of elite.Thinking about it, a horizontal swap would be great as it is nearly impossible while doing anything else and I could use it in Warlords for colouring the walls.

I did think about having some sort of horizontal counter as there was enough space for it at one point. The question then became what to do with it as I didn't then have enough space to hold many palette changes. Something simple like a palette index might have fitted but it felt less useful once the attribute modes were in and working.

Would the 2bpp/2-bit attribute mode help with Warlords? Screen resolution would be 240x256.

User avatar
tricky
Posts: 1877
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Palettemate / enhanced video ULA with 4096 colours

Postby tricky » Fri Jul 21, 2017 4:15 pm

There isn't enough memory and the aspect ratio would not be very attractive.
Sorry I didn't pay earlier, we ended up driving south :)

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Fri Jul 21, 2017 6:07 pm

tricky wrote:ISorry I didn't pay earlier, we ended up driving south

No problem - it's all boxed up ready for you.

User avatar
1024MAK
Posts: 6730
Joined: Mon Apr 18, 2011 4:46 pm
Location: Looking forward to summer in Somerset, UK...

Re: Palettemate / enhanced video ULA with 4096 colours

Postby 1024MAK » Fri Jul 21, 2017 6:56 pm

Yay, the postie delivered mine today.

Picture tomorrow :D

Thanks Rob =D>

Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki‬ - for answers to many questions...

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Fri Jul 21, 2017 7:44 pm

Not fitted mine yet as I need to unsolder the chip. A weekend job. Also have a propellor hat and a tellybat to solder up. Do them all at once.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Fri Jul 21, 2017 11:59 pm

In the picture of the probe on the master (in the manual) it looks like it is going to ic22 which is the 6845. Pin 37 is ra1 (which is not the same as a1). But manual says ic6 to pin 37 a1. Confused.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 1:18 am

Pin 37 on the 6522 is definitely A1 so the documentation is correct, but that screenshot looks more like it is hooked up to the 6845, can't tell exactly because keyboard obscures it.

Anyway socket now soldered in, so that it hopefully the hardbit done

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 22, 2017 4:06 am

Sorry for any confusion.

The pictures on page 6 are really only meant to show the orientation of the board but I believe the clips are all located correctly. (The M128 connection is definitely going to a 6522 and not to the 6845.)

I've tested the board using connections to the pins listed on page 7 and they work. The clip should be connected to a source of 'A1' and not a buffered equivalent.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 6:50 am

I need to get a microscope out as via's on my MB look like 5 & 8. Either silk has smudged or maybe layout on this iss 1, MB is different. But either way will hook it to the nearest via pin 37. Ta.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 7:11 am

Odd definitely looks like 6522s are ic5 & 8 on this MB, checked the schematics on mdfs.net and says one of them should be ic6 (6 & 8 in fact). But that doesn't look like a smudged 6 to me (see screenshot, it is rotated 90%) unless the 8 is actually a 6 (but that would make it right either). Anyone know if there were other issues of Master MB? I assumed only one.
Attachments
IMG_5030.JPG
Last edited by Elminster on Sat Jul 22, 2017 7:16 am, edited 1 time in total.

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 22, 2017 7:13 am

All,

Dominic has found a couple of bugs in the ROM when working in attribute modes.

The first is that HIMEM isn't being set correctly and the other is that pressing BREAK from an attribute mode doesn't turn off attributes (so the screen is messed up). The temporary workarounds are to set HIMEM manually and to use CTRL-BREAK (as this does reset things correctly).

I'll look at fixing the ROM asap. For those who already have ROMs, I'll contact you to see if you are able/happy to burn a new one or if you need me to send a new EPROM.

For those whose boards haven't yet been sent out, I'll try to get them out as soon as I have a patched ROM.

Thanks and sorry for any inconvenience,

Rob

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 22, 2017 7:29 am

Elminster wrote:Odd definitely looks like 6522s are ic5 & 8 on this MB, checked the schematics on mdfs.net and says one of them should be ic6 (6 & 8 in fact). But that doesn't look like a smudged 6 to me (see screenshot, it is rotated 90%)...

Have managed to find an issue 1 PCB and the '5' you are seeing is definitely a '5' but I think it relates to the 74LS244.

The IC6 text is above the 6522 but is probably hidden under the blue sticker. (On mine, the sticker is in a slightly different place so the text can be seen.)

User avatar
1024MAK
Posts: 6730
Joined: Mon Apr 18, 2011 4:46 pm
Location: Looking forward to summer in Somerset, UK...

Re: Palettemate / enhanced video ULA with 4096 colours

Postby 1024MAK » Sat Jul 22, 2017 7:47 am

Elminster wrote:Anyone know if there were other issues of Master MB? I assumed only one.

I have at least two Masters with issue 2 boards.
RobC wrote:
Elminster wrote:Odd definitely looks like 6522s are ic5 & 8 on this MB, checked the schematics on mdfs.net and says one of them should be ic6 (6 & 8 in fact). But that doesn't look like a smudged 6 to me (see screenshot, it is rotated 90%)...

Have managed to find an issue 1 PCB and the '5' you are seeing is definitely a '5' but I think it relates to the 74LS244.

The IC6 text is above the 6522 but is probably hidden under the blue sticker. (On mine, the sticker is in a slightly different place so the text can be seen.)

Agree with Rob. Most of the chip IDs are "above" the chips that the ID relates to. Further, on one "side" of the blue sticker you can see a bit of an "I".

On my working Master, in the area of IC6, I have two blue stickers, either side of the IC6 ID :P

@Rob - I can erase and program EPROMs, so no need to send me a replacement chip. Just beam a file to me when you are ready.

Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki‬ - for answers to many questions...

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 7:54 am

RobC wrote:
Elminster wrote:Odd definitely looks like 6522s are ic5 & 8 on this MB, checked the schematics on mdfs.net and says one of them should be ic6 (6 & 8 in fact). But that doesn't look like a smudged 6 to me (see screenshot, it is rotated 90%)...

Have managed to find an issue 1 PCB and the '5' you are seeing is definitely a '5' but I think it relates to the 74LS244.

The IC6 text is above the 6522 but is probably hidden under the blue sticker. (On mine, the sticker is in a slightly different place so the text can be seen.)


Good thinking it was 1am at the time, let me go pull the sticker.

Edit: I can also burn a new ROM
Last edited by Elminster on Sat Jul 22, 2017 7:56 am, edited 1 time in total.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 7:55 am

1024MAK wrote: Most of the chip IDs are "above" the chips that the ID relates to.


True but ic8 on the other via is definitely underneath. It was the witching hour, that is my excuse.

Edit: Muppet
Attachments
IMG_5031.JPG

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 10:49 am

Okay this is odd. Co pro (internal or external) and gosdc no longer post boot message.
Put old chip (upa) back and still does it, or doesn't hmm.

Configure on master got flushed when fitting ic holder but looks back to normal now. They work though and can see them in help.

Edit: Pulled co pros and Gosdc alternatively but no joy. Odd only change is ic holder. Put videonula back again and will test the rom later
Last edited by Elminster on Sat Jul 22, 2017 12:20 pm, edited 1 time in total.

User avatar
trixster
Posts: 520
Joined: Wed May 06, 2015 11:45 am
Location: York

Re: Palettemate / enhanced video ULA with 4096 colours

Postby trixster » Sat Jul 22, 2017 11:31 am

Has anyone had chance to have a play with Exile and the videonula? If so, any screeenshots?! I'd love to see what's possible.
A3020 | A3000 | BBC B + 128K RAM/ROM + 20K Shadow + Pi0 + VideoNuLA
BBC Master Turbo + DC | Atom | A1200 060 | A500 | Jaguar | A420/1
A4000/040 060 | Atari Falcon 060 | Saturn | PS1 | SNES | CPC6128 | C64 | 3DO | MD

User avatar
lazarusr
Posts: 604
Joined: Thu Sep 10, 2015 8:56 pm
Location: London

Re: Palettemate / enhanced video ULA with 4096 colours

Postby lazarusr » Sat Jul 22, 2017 1:28 pm

Just installed my. Superb piece of kit. Super easy to install and start using.

I have a couple of questions. The soldering is seriously impressive. How did you do this? Did you do it by hand with a soldering iron or did you use paste (and, if so, what brand) and hot air? Did you use a stencil? Also, who did you use to manufacture the PCB? I am still looking for a reliable way of soldering fine pitch SMD components.

Thanks again for a brilliant device.

User avatar
BigEd
Posts: 1438
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Palettemate / enhanced video ULA with 4096 colours

Postby BigEd » Sat Jul 22, 2017 1:32 pm

I'd love to see a photo of the finished board installed - I saw Rob's prototype last year.

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 22, 2017 1:56 pm

lazarusr wrote:Just installed my. Superb piece of kit. Super easy to install and start using.

Many thanks - I am really pleased that people are enjoying these as it's been something I've wanted to see for about 10 years. My original "thoughts" document was started in late 2007!

lazarusr wrote:I have a couple of questions. The soldering is seriously impressive. How did you do this? Did you do it by hand with a soldering iron or did you use paste (and, if so, what brand) and hot air? Did you use a stencil? Also, who did you use to manufacture the PCB? I am still looking for a reliable way of soldering fine pitch SMD components.

It's done using paste (Chip Quik: http://uk.farnell.com/chip-quik/smd291snl10/solder-paste-96-5-3-0-5-217-deg/dp/1850225), a stencil and hot air. I've got better at doing the CPLDs but I still wouldn't say that it's reliable as I created a couple of duds this week. I need to get quicker at placing the components but I am enjoying making them.

The PCBs come from EasyEDA as they were the most reasonable and they deliver very quickly.

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 22, 2017 1:56 pm

BigEd wrote:I'd love to see a photo of the finished board installed - I saw Rob's prototype last year.

There are some photos in the manual that I uploaded...

User avatar
BigEd
Posts: 1438
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: Palettemate / enhanced video ULA with 4096 colours

Postby BigEd » Sat Jul 22, 2017 2:10 pm

Ah, yes, here. Page 7. Thanks!

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 22, 2017 3:30 pm

Elminster wrote:Okay this is odd. Co pro (internal or external) and gosdc no longer post boot message.
Put old chip (upa) back and still does it, or doesn't hmm.

Configure on master got flushed when fitting ic holder but looks back to normal now. They work though and can see them in help.

Edit: Pulled co pros and Gosdc alternatively but no joy. Odd only change is ic holder. Put videonula back again and will test the rom later

I've got a GoSDC and a matchbox co-pro/PiTubeDirect working with it in my Master.

I'd check for shorts on the socket - I can buzz out the socket in mine if it would help.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 9:38 pm

Checked for shorts visual via mag and multimeter when I did it. Nothing obvious. Everything else appears to be fine, just the other periphals don't post messages, but they work fine, the main bbc one posts messages. Possibly a bad joint I suppose.

So you still do the control break for gosdc, you just get blank screen instead of message to hit control break. Then you get usual dfs and basic messages. Not finished testing games and rom yet though. Be odd if a short only effects banner message from pi tube and gosdc and has no other effect.

Edit: Fixed by the way. Helped by VideoNula which changed screen to red bars, notivec went off the sscreen and went back and checked configure and TV had got reset to 3,1 after lost of battey, 0,1 fixed that. Which means was working all the time
Attachments
fullsizeoutput_27f5.jpeg
Last edited by Elminster on Sat Jul 22, 2017 10:58 pm, edited 2 times in total.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sat Jul 22, 2017 10:22 pm

Videonula didnt seem to work until I did a *configure notube and then (I made black redder to test palett program after loading snapper preset)
Attachments
nula_snap.png

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sun Jul 23, 2017 6:36 am

Elminster wrote:Videonula didnt seem to work until I did a *configure notube and then (I made black redder to test palett program after loading snapper preset)

Could you let me know in what way it didn't work please? I've got the same co-pro so can try to replicate the problem.

EDIT: Think I've figured this out - it's because the Palette program incorrectly assumes it's running on the I/O processor. I'll put a fix in the ROM. With the VDU drivers on (*VNVDU ON), VDU 19 will work.

User avatar
Elminster
Posts: 1632
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK

Re: Palettemate / enhanced video ULA with 4096 colours

Postby Elminster » Sun Jul 23, 2017 8:45 am

Yes sorry should have said I have only tested palate program so far. Spent most of my time sorting silly stuff like blue stickers and resetting tv option. Visitors today, hopefully more testing time in the week.
Last edited by Elminster on Sun Jul 23, 2017 9:53 am, edited 1 time in total.

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sun Jul 23, 2017 9:25 am

No problem. I should have tested this - I had tested the board with various co-pros but only with VDU 19.

I've updated the Palette utility to use OSBYTE 151 rather than poking directly to FE23. I've also got fixes for the issues that Dominic spotted.

It's all been tested on a M128 but I'll check it on a B, B+ and Compact today before sending out a new ROM image/EPROMs.

SteveF
Posts: 438
Joined: Fri Aug 28, 2015 8:34 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby SteveF » Sun Jul 23, 2017 11:58 am

I've just downloaded the manual from a few pages back - what an impressive piece of work, very professional-looking!

If you select one of the new modes and then call OSBYTE &87 (http://beebwiki.mdfs.net/OSBYTE_%2687), do you get given the new mode number back in Y? If not, is there any way to check which of the new screen modes (if any) you are currently in?

I ask because I'm starting to think about how I might extend my STEM terminal emulator (http://www.stardot.org.uk/forums/viewto ... =2&t=10534) to use the new text modes. It currently works by letting the user select the screen mode (0 or 3) they want to use via the OS (e.g. by executing MODE 0 in BASIC) and adapting automatically, so I'd like to be able to do the same here - the user can select mode 96, 97, 101 or 102 and STEM will adapt accordingly.

Cheers!

RobC
Posts: 1777
Joined: Sat Sep 01, 2007 9:41 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sun Jul 23, 2017 1:08 pm

SteveF wrote:I've just downloaded the manual from a few pages back - what an impressive piece of work, very professional-looking!

Thanks - much of the credit goes to my wife for proof reading it and making loads of suggestions!

SteveF wrote:If you select one of the new modes and then call OSBYTE &87 (http://beebwiki.mdfs.net/OSBYTE_%2687), do you get given the new mode number back in Y? If not, is there any way to check which of the new screen modes (if any) you are currently in?

In the ROM code, I do store the last chosen mode at &3A3 but this is obviously less than ideal if you are looking for a standard way of getting the mode across machines with and without VideoNuLA.

I added support for OSBYTE &85 yesterday (as HIMEM wasn't being set correctly in attribute modes) and have started to plumb in my own version of OSBYTE &87 (to ensure the character is returned when attributes are set).

I'll try to get my OSBYTE &87 to return the correct attribute mode number (i.e. 96-104) but need to make sure that doing this doesn't break anything.

As an example, I've set things up so that the current screen mode VDU variable at &355 holds the equivalent original mode number and not the attribute mode number. So, if you do:

Code: Select all

MODE 101

&355 contains 0 and not 101 as you might expect. This is so that things expect the right screen mode size rather than doing 101 AND 7 and thinking that we're in mode 5! I could set it to the attribute mode number but I'm not exactly sure how many other calls I'd need to wrap. (It's probably easy enough to work out for OS1.2 but the disassemblies for 2.0, 3.20 etc. aren't as clear.)


Return to “hardware”

Who is online

Users browsing this forum: No registered users and 11 guests