Palettemate / enhanced video ULA with 4096 colours

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
User avatar
1024MAK
Posts: 6729
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 » Thu Jul 27, 2017 2:25 pm

Elminster wrote:You need one of those sleep machines from Judge Dredd. Although they potentially have a slight side effect

To maximise a Judges' effectiveness sleep machines are used to reduce the amount of time spent sleeping. In recent years concern has been expressed about their use. Regulations require judges to get natural sleep periodically to prevent psychosis.

Also known as night shifts... :shock:

(oh dear, drifting off topic...!)
Mark
For a "Complete BBC Games Archive" visit www.bbcmicro.co.uk NOW!
BeebWiki‬ - for answers to many questions...

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 29, 2017 11:54 am

Since it was raised in the STEM thread, I've updated the manual and support disk so that the examples work with a co-pro. (The support ROM image is still at v1.01.)

EDIT: Latest version now in post below.
Last edited by RobC on Sun Jul 30, 2017 8:34 pm, edited 2 times in total.


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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby SteveF » Sat Jul 29, 2017 2:32 pm

Thanks Rob.

On an unrelated note, I think I might have found a couple of minor errors in the manual. p35 ("Control code 6") and p36 ("Control code 7") say "They can be turned off by... issuing control code 0." Should that say control code 4 instead of control code 0? p28 says control code 0 is reserved for future use.

Cheers.

Steve

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 29, 2017 3:27 pm

SteveF wrote:On an unrelated note, I think I might have found a couple of minor errors in the manual. p35 ("Control code 6") and p36 ("Control code 7") say "They can be turned off by... issuing control code 0." Should that say control code 4 instead of control code 0? p28 says control code 0 is reserved for future use.

Yes - it should be 4. I changed the code numbering at JGH's request and thought I'd changed all the references.

I'll fix it and update the earlier post.

Thanks,

Rob

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby SteveF » Sat Jul 29, 2017 3:54 pm

Thanks Rob. I'm afraid I've found another potential problem with the manual, one which is likely to be quite annoying.

I see you are using *FX151 to make the pokes to the VideoNuLA registers tube-compatible, e.g. p44 has "*FX151,&22,&40". Unfortunately, I think it's only the Master which allows '&' in *FX commands - on a BBC B or B+ this gives a "Bad command" error for me (on BeebEm). You could change it to use decimal, but then it would be less obvious what the command is doing, so I don't know what's best, unless you want to give both alternatives, which seems a bit OTT.

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Sat Jul 29, 2017 9:28 pm

Thanks. Serves me right for only testing on the M128 with internal co-pro!

I think I'll go with the more obvious ?&FE22 if not running on the co-pro and the decimal version of *FX if you are.

EDIT: Here's the latest version - I've added a section on writing to the registers and have put in the *FX 151 equivalents of the pokes.
EDIT2: Latest version now in post below.
Last edited by RobC on Thu Aug 03, 2017 1:17 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 » Mon Jul 31, 2017 3:35 pm

I found time to collect my VideoNula today from the post office. I have to say, what a top draw device! Professionally packaged, great manual which caters for idiots like me, dead easy to install.

I found that its a tight fit to get the board in place alongside an ifel ram/rom board but it does fit, just. My original ula is socketted but found I had to use the supplied socket as a riser to elevate the videonula so it sat a little higher from the motherboard to clear some components and the edge of the ram/rom board. If my ula had been soldered to the m/board then the supplied socket might not have been high enough to fit everything in my machine.
IMG_5329.JPG
IMG_5328.JPG
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
trixster
Posts: 520
Joined: Wed May 06, 2015 11:45 am
Location: York

Re: Palettemate / enhanced video ULA with 4096 colours

Postby trixster » Mon Jul 31, 2017 3:41 pm

This is too cool! Exile with the new Stryker's Run palette!

IMG_5331.JPG
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
algenon_iii
Posts: 67
Joined: Sat Nov 25, 2006 6:49 pm
Location: Cardiff

Re: Palettemate / enhanced video ULA with 4096 colours

Postby algenon_iii » Mon Jul 31, 2017 4:09 pm

Having seen all screenshots of the likes of Exile and Strykers Run without the Crayola palette I've got to ask what the going rate is for the new ULA board as I don't think I've seen a price for it (assuming there are still any available).

Looking at the Exile screen it's shocking that just the addition of grey makes such a difference (nevermind the other colours).

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Mon Jul 31, 2017 4:25 pm

algenon_iii wrote: I've got to ask what the going rate is for the new ULA board as I don't think I've seen a price for it (assuming there are still any available).

They are £52.50 including UK P&P. I only have one left but I may order some more PCBs and make some more if there's enough demand.

I'm in Newport so you could collect and save yourself £2.50! Happy to fit it/desolder the original ULA for free if you want to bring your machine to me.

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 » Mon Jul 31, 2017 4:32 pm

One last screenshot, I promise!

The c64 version of Barbarian compared to the improved palette of the Beeb version. It makes a huge difference in my opinion.

IMG_5334.JPG
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

jregel
Posts: 61
Joined: Fri Dec 20, 2013 6:39 pm
Location: Gloucestershire

Re: Palettemate / enhanced video ULA with 4096 colours

Postby jregel » Mon Jul 31, 2017 5:21 pm

RobC wrote:
algenon_iii wrote: I've got to ask what the going rate is for the new ULA board as I don't think I've seen a price for it (assuming there are still any available).

They are £52.50 including UK P&P. I only have one left but I may order some more PCBs and make some more if there's enough demand.

I'm in Newport so you could collect and save yourself £2.50! Happy to fit it/desolder the original ULA for free if you want to bring your machine to me.


Hi Rob

I'm guessing that last one has now been taken, but if not, I'd like to express an interest.

And if you have run out, I'd like to put my name down for a second batch. :-)

Thanks
BBC Master Turbo
Retroclinic External Datacentre
VideoNuLA

aotta
Posts: 21
Joined: Fri May 26, 2017 8:57 am
Location: Italy

Re: Palettemate / enhanced video ULA with 4096 colours

Postby aotta » Mon Jul 31, 2017 5:49 pm

Very impressive board! i've just spent all my summer budget for other gadget, but please me add in the next batch's list!

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Mon Jul 31, 2017 6:48 pm

jregel wrote:I'm guessing that last one has now been taken, but if not, I'd like to express an interest.

Not yet but I'll give algenon_iii the chance to respond before putting it aside for you. Hope this is okay.

Given there's a bit of interest, I'll look at ordering some more PCBs and parts.

Best wishes and thanks,

Rob

jregel
Posts: 61
Joined: Fri Dec 20, 2013 6:39 pm
Location: Gloucestershire

Re: Palettemate / enhanced video ULA with 4096 colours

Postby jregel » Mon Jul 31, 2017 6:55 pm

RobC wrote:
jregel wrote:I'm guessing that last one has now been taken, but if not, I'd like to express an interest.

Not yet but I'll give algenon_iii the chance to respond before putting it aside for you. Hope this is okay.

Given there's a bit of interest, I'll look at ordering some more PCBs and parts.

Best wishes and thanks,

Rob


Sure, I'd assumed algenon_iii would have taken it already ;-)

Just out of interest, how many boards have you made so far?
BBC Master Turbo
Retroclinic External Datacentre
VideoNuLA

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Mon Jul 31, 2017 7:03 pm

jregel wrote:Just out of interest, how many boards have you made so far?

25.

jregel
Posts: 61
Joined: Fri Dec 20, 2013 6:39 pm
Location: Gloucestershire

Re: Palettemate / enhanced video ULA with 4096 colours

Postby jregel » Mon Jul 31, 2017 7:10 pm

Impressive, although 30 years ago, you could have sold thousands :-)
BBC Master Turbo
Retroclinic External Datacentre
VideoNuLA

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Mon Jul 31, 2017 7:33 pm

jregel wrote:Impressive, although 30 years ago, you could have sold thousands

I haven't sold 25 mind - I've kept some for myself :D

Also, the Palettemate was available in 1986 and I've never seen one come up on eBay.

User avatar
algenon_iii
Posts: 67
Joined: Sat Nov 25, 2006 6:49 pm
Location: Cardiff

Re: Palettemate / enhanced video ULA with 4096 colours

Postby algenon_iii » Tue Aug 01, 2017 2:15 pm

RobC wrote:
algenon_iii wrote: I've got to ask what the going rate is for the new ULA board as I don't think I've seen a price for it (assuming there are still any available).

They are £52.50 including UK P&P. I only have one left but I may order some more PCBs and make some more if there's enough demand.

I'm in Newport so you could collect and save yourself £2.50! Happy to fit it/desolder the original ULA for free if you want to bring your machine to me.


Sold (assuming it's still available)! I'm reasonably handy with a soldering iron so should be able to get it sorted myself.

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Tue Aug 01, 2017 2:53 pm

algenon_iii wrote:Sold (assuming it's still available)! I'm reasonably handy with a soldering iron so should be able to get it sorted myself.

Still available - I've PM'd you.

MelBat
Posts: 1
Joined: Tue Aug 01, 2017 12:11 pm

Re: Palettemate / enhanced video ULA with 4096 colours

Postby MelBat » Tue Aug 01, 2017 3:51 pm

Hi Rob,

My first post to the forum. I'm somewhat late to the party here but would like to put my name down for the next batch of production. If there is anything else I need to do then would appreciate an update.

Many thanks

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Tue Aug 01, 2017 4:52 pm

MelBat wrote:My first post to the forum. I'm somewhat late to the party here but would like to put my name down for the next batch of production. If there is anything else I need to do then would appreciate an update.

No problem - welcome to the forum!

I'll put you on the list and will PM you once the board is ready to ship.

Best wishes,

Rob

User avatar
daveejhitchins
Posts: 3661
Joined: Wed Jun 13, 2012 5:23 pm
Location: Newton Aycliffe, County Durham

Re: Palettemate / enhanced video ULA with 4096 colours

Postby daveejhitchins » Tue Aug 01, 2017 5:08 pm

trixster wrote:This is too cool! Exile with the new Stryker's Run palette!
That's really looking good . . . I wonder if Dave (hoglet) can add this to the Electron ULA replacement? Note to self: You MUST get on with that project!

Dave H :D
Parts: UM6502CE, GAL22V10D, GAL16V8D, AS6C62256A, TC514400AZ, WD1772, R6522, TMS27C512, AT28C256
Products: ARA II, ABR, ATI, AP6, MGC, AP5 . . .
For a price list, contact me at: Retro Hardware AT dave ej hitchins DOT plus DOT com

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 » Tue Aug 01, 2017 5:46 pm

I do regularly say (as I am sure ROb is fed up with me saying) 'Electron Version' in this thread, just in case any one forgets :evil: But yes if Mr Hoglet wanted to do it instead I can say 'Electron Version' in mltiple threads. (Although I want him to get my ICE working first ;-) )

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby SteveF » Tue Aug 01, 2017 8:48 pm

I think I might have found a small bug in the VideoNuLA ROM's ROMFS support. If I load it into ROM bank 0, *ROM then *. seems to get stuck in an infinite loop - see the attached screenshot from BeebEm in Master 128 mode. I originally noticed this because bank Y on a B+128K is ROM bank 0 and I loaded it in there for a test, but it seems to happen on the Master too if you put the ROM in bank 0.

Screenshot from 2017-08-01 21-45-42.png


ETA: This is with the VideoNuLA 1.01 ROM, FWIW, with no other ROMs loaded, just the standard Master 128 set.

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 » Tue Aug 01, 2017 9:12 pm

Does it only happen on the master in Beebem in ROM bank 0? i.e. if oyu put it in 4 it works?

That is a cartridge slot on master, so might be difficult to test. But in ROm/RAM 4 it works on a Master

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 » Tue Aug 01, 2017 9:15 pm

Okay I have recreated the issue on a real Master by putting the old ROM version on the original supplied ROM in cartridge slot 0.

If I move the cartirge to the other slot so it appears in ROM 2. Or load the new ROM into SRAM 4-7 there is no issue.

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Thu Aug 03, 2017 11:34 am

Sorry - didn't spot this until just now.

I'll take a look at this asap.

EDIT: Just taken a quick look at this and it seems I'm not the only one to have this problem! I based my code on the programs given here:
http://mdfs.net/Docs/Comp/BBC/SROM/Mastering/Module18
and the roms generated by this code have the same problem. Also, I had a look at JGH's BuildRFS fast ROM builder here:
http://mdfs.net/Software/BBC/SROM/
and it has the same issue.

I've also looked at the example code given in the Advanced User Guide and can't see any differences with what I'm doing...

Looks like this is an issue with service call 13. The AUG says: Y contains "15 minus the ROM number of the next ROM to be scanned" and "If that adjusted ROM number is less than the number of the ROM receiving the call, the call should be ignored."

In all the code I've seen, including the AUG example, the value in Y is "adjusted" to the rom number by EORing with 15 and then the code does a compare with the rom number at &F4 and a BCC to implement the ignore.

Looking at it in the BeebEm debugger, the rom is first being sent service call 13 (&0D) with Y=0. Subsequently, it's repeatedly sent service call 13 with Y=16. This means that the first call is looking to scan rom #15 but the subsequent calls are looking to scan rom #-1.

I suspect this is an issue with the adjustment - doing EOR #15 is fine as long as rom 0 doesn't respond. If it does, I'm guessing that the OS decrements the next rom to be scanned and we end up in the Y=-1 situation. I'll modify my code to do SBC instead and see if that fixes it.

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

Re: Palettemate / enhanced video ULA with 4096 colours

Postby RobC » Thu Aug 03, 2017 1:16 pm

Here's a new version of the support ROM (v1.02) and manual.

This should fix the issue with the ROMFS stuff when in rom slot 0.
Attachments
VideoNuLA.zip
VideoNuLA manual and support ROM v1.02
(1.11 MiB) Downloaded 67 times


Return to “hardware”

Who is online

Users browsing this forum: No registered users and 6 guests