Search found 7508 matches

by hoglet
Fri Oct 19, 2018 2:38 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

One minor thing: Adaptive is misspelled as Adpative in the OSD Thanks, fixed. I don't think that would be possible as you would have to add an extra read for each of the additional writes to preserve the OSD bits. Do we know this is not possible without causing disruption? I might give it a try any...
by hoglet
Fri Oct 19, 2018 11:02 am
Forum: introduce yourself
Topic: New Atom Member
Replies: 24
Views: 221

Re: New Atom Member

Is there a solution for the keyboard? Can you buy keys anywhere? And can you buy the TV modulator? I have a couple of 6847s (as well as the 2 in the Atoms) but I don't know if they work. Do check out the Atom 2015 thread: https://stardot.org.uk/forums/viewtopic.php?t=9173&start=240#p109091 I re-pur...
by hoglet
Fri Oct 19, 2018 10:45 am
Forum: introduce yourself
Topic: New Atom Member
Replies: 24
Views: 221

Re: New Atom Member

DavidWallis wrote:
Fri Oct 19, 2018 10:38 am
Now I have one to swap with I can debug. Will try a minimal 2k setup first.
I'm sure you already know this, but on the Issue 3 Atom it looks like the regulators have been bypassed, so it needs to be fed from a 5V regulated supply (2A or more), not the original 8V one.
by hoglet
Fri Oct 19, 2018 10:25 am
Forum: introduce yourself
Topic: New Atom Member
Replies: 24
Views: 221

Re: New Atom Member

DavidWallis wrote:
Fri Oct 19, 2018 10:16 am
The issue 3 one I bought of ebay. Unfortunately it's rather scruffy and a non runner.
Nothing that can't be fixed - most likely just a RAM fault. :D
by hoglet
Fri Oct 19, 2018 8:35 am
Forum: introduce yourself
Topic: New Atom Member
Replies: 24
Views: 221

Re: New Atom Member

Welcome.

That's only the second "issue 3" Atom I know of, so look after it!

The other one is owned by SirMorris I think.

Dave
by hoglet
Fri Oct 19, 2018 6:48 am
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

If you prefer that form of deinterlacing then maybe it's worth adding a config and menu option to control the deinterlace. i.e. 0 = deinterlace off 1 = fast deinterlace (with some residual combing) 2 = slow deinterlace (with almost no combing) Already done and pushed! https://github.com/hoglet67/RG...
by hoglet
Thu Oct 18, 2018 9:32 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Hi Ian,

As a quick work-around to the palette issue, if you build with DEBUG=1 then it should disappear:

Code: Select all

./clobber.sh
./configure_rpi.sh -DDEBUG=1
make -B
I'll look into this properly over the next couple of days.

Dave
by hoglet
Thu Oct 18, 2018 8:04 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

OK, I've understood now why my build was differing from yours, even though we were using the same compiler. I hadn't re-run clobber.sh and configure_rpi.sh, so I think some of the GCC 6.x libraries were still being used. Anyway, now the my kernel is identical to yours, palette bug and all, so I'll l...
by hoglet
Thu Oct 18, 2018 6:26 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Ian, I've just pushed a small fix to the dev branch that disables de-interlacing when the OSD is active. That sorted out the corruption of the OSD when the screen changed underneath. In spite of the implementation only being 10 instructions (all commented!), I'm struggling to fully understand the al...
by hoglet
Thu Oct 18, 2018 4:24 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

The following zip contains my build plus my changed config & command files (so you can replicate my setup exactly) and a text file with the output of the above command. I'm running it on a Pi zero, not a zero W, also I have the new cpld firmware It seems to be the same compiler version exactly as I...
by hoglet
Thu Oct 18, 2018 1:50 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Looks like it's a build problem, my version does this, your version posted above doesn't. (I deleted my source folder and pulled the dev branch from githib to ensure a clean build) I'm building on Windows 10 linux subsystem using gcc version (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 I was using an older...
by hoglet
Thu Oct 18, 2018 12:18 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Deinterlacing needs to be bypassed when the OSD is on screen as well, try scrolling a mode 7 screen with the OSD on. Ah yes, indeed it does. I'll have another think. Probably your idea of just bypassing the deinterlacing might be better, Also after the OSD is switched off or calibration has been ru...
by hoglet
Thu Oct 18, 2018 8:54 am
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Hi Ian, Here is a slightly updated version. This is looking very good, and is most definitely an improvement on no de-interlacing! The only artefact I've noticed if you have a Basic program listing up and the screen scrolls just one line, everything "fizzes" for slightly longer than I would have exp...
by hoglet
Wed Oct 17, 2018 9:39 am
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

As the first one from B-Em does work at one size (896K) like mine (512K), perhaps it's a patched version of a 512K limited one so that it worked with a RAM expansion? I've tested your disk image, and confirm on PiTubeDirect it also works at just one size (512KB). So I started comparing it to the on...
by hoglet
Wed Oct 17, 2018 7:05 am
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

IanB wrote:
Tue Oct 16, 2018 10:29 pm
That one crashes on real 512K hardware.
Thank you so much for testing this. You saved me continuing a massive wild goose chase.

Dave
by hoglet
Tue Oct 16, 2018 6:19 pm
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

I agree crashing at 512KB doesn't seem right. Any chance you could test the B-Em image on a real Master 512: https://github.com/stardot/b-em/blob/master/discs/Master%20512%20Disc%201%20(DOS%20Plus%20Boot).img You would need to write it onto a real floppy using Omniflop I think. I've just found a dif...
by hoglet
Tue Oct 16, 2018 5:42 pm
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Hi Ian, I built that and it does fix it but only when the memory is set to 512K, all other larger sizes including 640K crash. Maybe you should put a command line switch in to adjust the memory and set it back to 960K as the default. Interesting, that's not what I found at ABUG. I checked my notes, a...
by hoglet
Tue Oct 16, 2018 12:26 pm
Forum: hardware
Topic: BBD B+ Issues..please help
Replies: 20
Views: 532

Re: BBD B+ Issues..please help

nama wrote:
Tue Oct 16, 2018 8:49 am
I hooked up my logic analyser to IC30 and I can see the following data on the outputs:
Out of interest, what logic analyser do you have?
by hoglet
Tue Oct 16, 2018 10:52 am
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Ian, I've been testing out the 80286 co pro and it crashes when trying to boot my existing hard drive installation of DOS Plus 1.2 which works OK on a real 80186 co-pro with 512K: I've just pushed a commit to the egg-eater-dev branch that should fix this. It sets the default memory value to 896KB. Y...
by hoglet
Tue Oct 16, 2018 6:57 am
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

I've been testing out the 80286 co pro and it crashes when trying to boot my existing hard drive installation of DOS Plus 1.2 which works OK on a real 80186 co-pro with 512K. This is actually an issue I investigated at ABUG in June. DOS 1.2 requires the amount of memory to be an integer multiple of...
by hoglet
Tue Oct 16, 2018 6:49 am
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

I had assumed you were trying to keep a lock by effectively doing a software PLL continually varying the HDMI clock to keep the vsyncs aligned. In theory that would stop tearing and might not require any buffering at all, eliminating the lag. Yes, this was a first step on the way to that goal, show...
by hoglet
Mon Oct 15, 2018 9:24 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Also as mentioned above, the vsync / hdmi freq. optimisation doesn't seem to be working for me as the red bar is always moving. The error is shown as 301ppm beeb slower than pi. It was quite experimental, and I didn't get much feedback. It's quite possible there are bugs. On my system I get 439ppm ...
by hoglet
Mon Oct 15, 2018 9:01 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Doesn't seem that necessary, you had the right solution and timing but just missed the inverted glitches. OK, lets go with a fixed value of 3, to give a small amount of extra margin. I'll test this with BigEd's Master (hopefully Wednesday) and then merge this into Master. On the other point, I don'...
by hoglet
Mon Oct 15, 2018 8:38 pm
Forum: hardware
Topic: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)
Replies: 1103
Views: 98790

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

1. I edited the config.txt file to comment out the kernel lines for RPi2 and RPi3 as I am using RPiZero. Is that even necessary? No, they are ignored. 2. Is it possible to emulate the 65C102 internal co-processor (with the same start up message)? I think the only difference is the startup message. ...
by hoglet
Mon Oct 15, 2018 8:02 pm
Forum: hardware
Topic: Raspberry Pi to 1MHz bus interface
Replies: 17
Views: 368

Re: Raspberry Pi to 1MHz bus interface

dp11 wrote:
Mon Oct 15, 2018 7:08 pm
It doesn't do anything yet. But it should be possible to emulate 1MHz bus devices in the Pizero.
This, of course, is left as an exercise for the interested reader. :lol:
by hoglet
Mon Oct 15, 2018 7:43 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Do you want me to try N=1 & 2 to determine the safety margin? Why not.... RGBtoHDMI.zip I wonder if it's worth making this software configurable from the Pi. There might just be the space to do that for up to n=7. This would cost 3 extra registers in the CPLD. Edit: Yup, just..... Function Mcells F...
by hoglet
Mon Oct 15, 2018 5:13 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Would you like to try builds with smaller value of N, say N=7 and N=3? Yes. Here you go: N=15, N=7 and N=3 to try: RGBtoHDMI.zip Other intermediate values would be possible. b) It's needed to support Tricky's smooth horizontal scrolling, which varies the sync pulse width (in the same way a CRT woul...
by hoglet
Mon Oct 15, 2018 4:51 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Good to hear that helped. Are you triggering off the falling or rising edge of the sync pulse? Initially I was triggering on the rising edge. But then switched to the falling edge, based on advice from others that: a) It was the correct thing to do b) It's needed to support Tricky's smooth horizonta...
by hoglet
Mon Oct 15, 2018 4:03 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

Ian, Here's another version to try.... RGBtoHDMI.zip It may not be the final version, and indeed it may not even work! I have tested it on my Master, but as it doesn't have any glitches that's not very conclusive. In this version, de-glitching is applied to both csync=0 and csync=1 states. A change ...
by hoglet
Mon Oct 15, 2018 2:22 pm
Forum: hardware
Topic: RGB to HDMI using a Pi Zero and a small CPLD
Replies: 355
Views: 12931

Re: RGB to HDMI using a Pi Zero and a small CPLD

I noticed there were inverted glitches in the sync signal itself, are you filtering those? Ah no, those won't currently be filtered. I don't think we saw those on Ed's Master. Let me have another think, but we are very short of registers so this may not be possible. It does seem strange how this is...