JohnPCAE Posted June 9, 2017 Share Posted June 9, 2017 (edited) Someone has hacked into my Inty! Could they be sending a message? Edited June 9, 2017 by JohnPCAE 4 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/ Share on other sites More sharing options...
Keatah Posted June 9, 2017 Share Posted June 9, 2017 What are you doing to that poor console? 1 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779382 Share on other sites More sharing options...
+grips03 Posted June 9, 2017 Share Posted June 9, 2017 is that the new video mode thing? Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779383 Share on other sites More sharing options...
+nanochess Posted June 9, 2017 Share Posted June 9, 2017 Nothing like playing with some wires in a Thursday afternoon. Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779393 Share on other sites More sharing options...
pimpmaul69 Posted June 9, 2017 Share Posted June 9, 2017 All the extra jumpers lying around scares me. might i ask what this awesome mad science experiment is for? 1 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779410 Share on other sites More sharing options...
JohnPCAE Posted June 9, 2017 Author Share Posted June 9, 2017 (edited) I'm feeding its video overlay pin 8. The massive circuit reads from a FIFO chip and an Arduino is filling the chip with pixel data. It's still noisy as heck, so I'm waiting on some more parts and breadboards so I can try to cut the noise down and finalize a PCB design. I'm pretty sure I've got the timing down save for a potential boundary condition at the end of each scan line. The crosstalk-induced noise from all these wires is making it hard to determine the exact point to stop reading from the FIFO on each scan line, so I need to lower the noise so I can nail it down. The circuit is operating at about 7MHz (specifically, double the Inty's MCLK frequency). There's a little PLL buried under the wires doing the work of doubling the clock. Edited June 9, 2017 by JohnPCAE 5 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779417 Share on other sites More sharing options...
JohnPCAE Posted June 9, 2017 Author Share Posted June 9, 2017 (edited) In case anyone is interested, this is my current "target" design...that I'll be testing once my parts come in. It lets the Arduino pump in 8 pixels at a time. The one I currently have wired up is nearly the same but only lets it pump in 4 pixels at a time. I'm testing with an IDT7208 64kx9 FIFO, which is really overkill. It has the same pinout and usage as the 7205 in the schematic. I made a notional board layout that fits within the maximum board size allowed in the free version of Eagle, but it's only tentative until I validate the design. Edited June 9, 2017 by JohnPCAE 1 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779537 Share on other sites More sharing options...
m-crew Posted June 9, 2017 Share Posted June 9, 2017 So whats that translated into basic English. lol Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779585 Share on other sites More sharing options...
mr_me Posted June 9, 2017 Share Posted June 9, 2017 He's mixing hi resolution (monochrome) graphics with Intellivision graphics. Its similar to what the keyboard component did. With game applications you could display text information eg. scores in smaller high res fonts. You could have fixed text displayed during scrolling. The only limitation is it has to be white, I suppose it could be other colours but it will mix with Intellivision colours. 3 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3779616 Share on other sites More sharing options...
JohnPCAE Posted June 10, 2017 Author Share Posted June 10, 2017 Getting closer I still need to clean out more noise (if I fill the screen with text it goes crazy), but it's a lot more stable than it was yesterday. The circuit had to undergo lots of changes, and there are surely more to come as I fine-tune the timing. This has the Arduino pumping out 8 pixels at a time, and I have 127 character bitmaps stored in flash. This leaves plenty of space for more character bitmaps. The reason the left half of the screen is blurry is because of the way my Dell monitor is interpreting the composite video coming from the Inty. It expects standard NTSC video, which begins and ends with half-scanlines. The Inty generates noninterlaced video that begins and ends with full scanlines, which is confusing the monitor. 6 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3780564 Share on other sites More sharing options...
JohnPCAE Posted June 12, 2017 Author Share Posted June 12, 2017 Lots of design changes later, it's down to just noise suppression 3 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3781922 Share on other sites More sharing options...
carlsson Posted June 12, 2017 Share Posted June 12, 2017 If you pump data fast enough, could you make a monochrome Doom game, and can the external video source be timed to the main CPU? Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3782284 Share on other sites More sharing options...
mr_me Posted June 12, 2017 Share Posted June 12, 2017 If you pump data fast enough, could you make a monochrome Doom game, and can the external video source be timed to the main CPU?That would be similar to the Intellivision "System Changer". Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3782349 Share on other sites More sharing options...
+Lathe26 Posted June 12, 2017 Share Posted June 12, 2017 Looks like you are using the old DOS character set. Are you planning to stick with that one? Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3782363 Share on other sites More sharing options...
JohnPCAE Posted June 13, 2017 Author Share Posted June 13, 2017 (edited) I plan to include several fonts. The Arduino Uno has 32k flash, so there's room (the CGA font here is already being read from flash). I'd like to have some be programmable, but I can't make any guarantees. An Arduino has only 2k RAM and I'm using 960 up just for the 40x24 video buffer. One question re: fonts is whether we need all 256 glyphs for internationalization purposes or if I should stop at 128. There are lots of potential ideas for expanding the design, but it comes down to RAM space as well as the speed of the Arduino. Right now it pumps the pixel data out in about 45% of a 1/60 second frame, and it will need some time to service requests from the Inty CPU (which will have to be implemented on a separate board, with probably a FIFO to take as much of the load off the Arduino as possible). The FIFO chip I'm using is 9 bits wide, so for every 8 pixels I'm pumping out there is the potential to push out an extra bit. I'm leaning toward an intensity bit that would allow for two brightness settings, but then there's the issue of storing a 16-bit wide screen buffer instead of an 8-bit one in only 2k of RAM. Also speed is an issue here, so the video buffer has to be organized such that it can rapidly get the information it needs. It might be possible to store attributes in a separate bit-packed array but I won't know if I can access it efficiently without testing it. One thing that worries me is that if Inty requests are queued up in a FIFO, the Arduino will have to be able to drain that FIFO as fast as the Inty can fill it. My board design is well underway, but I still have to load it up with vias between the two ground planes and then go over it with a fine-toothed comb. I've tried to maximize the amount of shielding between traces and I've added provisions for up to three large caps to keep the power stable. I don't think they will all be required, but who knows. Edited June 13, 2017 by JohnPCAE Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3782874 Share on other sites More sharing options...
JohnPCAE Posted June 17, 2017 Author Share Posted June 17, 2017 Final board layout, and just ordered it from OSH Park! It runs at 2x MCLK (roughly 7MHz), but also provides a 4x clock output and output pixel and enabled taps to allow for future experimentation. It takes 9 data inputs, with the last bit acting as an intensity bit (1 = full brightness, bright, 0 = half-brightness). Now I just have to wait for the boards so I can try them out. Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3786586 Share on other sites More sharing options...
JohnPCAE Posted June 25, 2017 Author Share Posted June 25, 2017 (edited) Finally got my boards and all the parts! I had two resistor values backwards in the schematic. R12 should be 3.3k and R13 should be 10k, but otherwise I'm getting the same results as with the breadboard. It's still somewhat noisy, though. I'll have to figure that out. I'll also have to tweak the board design a little: two of the chips are too close together and it took a lot of pin bending on one of them to get it to fit. In the screenshot I'm alternating the intensity bit for each character, which is why the columns are varying in intensity. Edited June 25, 2017 by JohnPCAE 1 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3792150 Share on other sites More sharing options...
JohnPCAE Posted July 2, 2017 Author Share Posted July 2, 2017 So close... There's a tiny amount of noise left, and while I can eliminate 99% of it by moving a flip-flop chip to a breadboard, I still have to figure out what PCB changes will achieve the same thing. Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3796898 Share on other sites More sharing options...
JohnPCAE Posted July 4, 2017 Author Share Posted July 4, 2017 Getting there! Most of the noise is coming from signal reflections at the three clock taps (1x, 2x, and 4x MCLK). I can eliminate it by adding small capacitors in series with small resistors connecting them to ground (basically adding impedance terminators). I still have to identify the source of the remaining noise. Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3798608 Share on other sites More sharing options...
JohnPCAE Posted July 10, 2017 Author Share Posted July 10, 2017 Well, I give up trying to synthesize MCLK * 4 from the MCLK pin: the signal from the Inty is just too noisy. It turns out that 5V oscillators that give me MCLK * 4 are plentiful (14.318180 MHz). Since the counters reset every scanline, I don't expect any glitches. Once the oscillator arrives, I'll give it a try. Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3802442 Share on other sites More sharing options...
JohnPCAE Posted July 10, 2017 Author Share Posted July 10, 2017 (edited) Huh. This is what I get for having insomnia. On a hunch I added a simple 2N3904 amplifier circuit before the comparator and a 7408 AND after generating the clock (to isolate the generation circuitry) and now the display is rock-stable. So, there is at least one potential solution Edited July 10, 2017 by JohnPCAE 2 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3802623 Share on other sites More sharing options...
JohnPCAE Posted July 11, 2017 Author Share Posted July 11, 2017 (edited) Now we're cooking! It turns out that using an AND gate to stabilize the clock is a bad idea as it's highly dependent on the particular chip and type of chip (HCT, ACT, etc.). All I needed was better filtering and a tweak to the amount of hysteresis in my Schmitt trigger. At some point in the near future I'll upload my Eagle files and Arduino proof-of-concept code. Edited July 11, 2017 by JohnPCAE Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3803052 Share on other sites More sharing options...
JohnPCAE Posted July 13, 2017 Author Share Posted July 13, 2017 No guarantees here, but I'm shooting for 2048 character glyphs in Arduino flash memory: I think it might be readily possible to implememt a 12-bit wide character array in the Arduino's RAM, with one bit reserved as a brightness/intensity bit (though I wonder if reverse-video might be more useful instead). I haven''t worked out whether or how to have a RAM area for glyphs yet, but I suspect it might have to reside in external memory since an Arduino Uno only has 2k RAM. At any rate, here are the glyphs I have so far. The CGA font is heavily expanded for internationalization, and the following two fonts less so. Now I'm looking at adding some bare-bones stylized glyphs, but there's enough space available that I think it would be a good idea to post what I have so far and solicit some feedback. fonts.bmp Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3804518 Share on other sites More sharing options...
bradhig1 Posted July 13, 2017 Share Posted July 13, 2017 LOL!! circuit bending the Intellivision. 1 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3804534 Share on other sites More sharing options...
carlsson Posted July 13, 2017 Share Posted July 13, 2017 Font wise, don't be afraid to have the accents, umlauts, circumflex, rings etc hit into the main character. I am referring to letters such as à, è, ì, ò, ù, á, í, ó, ú (where did é go?). Also letters like ü, ô, ö, û, ÿ, ñ etc really don't need to be one pixel shorter than their non decorated counterparts. The ring/dot on capital Å could melt into the base letter instead of having a very distinct look. The same could be said about capital Ö. Though it might be for technical, visual reasons you make sure that every dot is two pixels wide and that single width dots and lines will just smear and become inlegitimate. However on your Intellivision style font, the ring on Å and tilde on à (among others) are at higher resolution than most of the others. Bruce Abbott extracted a number of C64 fonts for his Aquarius. Though these are two entirely different designs and fill different purposes, you might find some usable fonts there. He didn't put in as many letters for internationalization though. http://atariage.com/forums/topic/233221-aquarius-320x200-bitmap-graphics-hack/page-6?do=findComment&comment=3438658 Quote Link to comment https://forums.atariage.com/topic/266459-birds-nest/#findComment-3804725 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.