yup yup. I was thinking about using that method in my homebrew computer. That way, it would be easy to change the display font on-the-fly....you're looking at 2k though...
Using the standard name given to web color's and thier associated RGB triples, and assuming your camera has captured the correct HSV (though this is clearly not going to be true). The colors are:
black,· orchid,·· blue,·········· royal (blue)
green, dimgray, aquamarine, cornflower
rust,·· red,······ gray,········· fuschia
teal,·· gold,····· lime,·········· white (silver?)
However for the average programmer used to the old minimal color scheme the following list would be closer expected:
black,············· purple,····· blue,·· navy
dark green,······ dark grey, cyan,· light blue
brick (dark red), red,········ grey,· magenta
bluegreen,······· gold,······· green, white
I've been trying to figure out some things with your code. Using the original example, it appears that your maximum horizontal resolution is 80 pixels.
You hold those values in $B0 - $FF. Correct?
Next, in your active scanline, it appears that you first grab the current register (starting with $B0), then you RL 7 times. You do this for exactly 40 clocks (2 CBC's). I can't quite figure out what the RL's are for. In other words, why are you shifting the register values?
cbmeeks, · Each pixel is 4 bits, so the 80 byte array from $B0 to $FF is 160 pixels.
· I'm using the RC port as a shift register. It only takes 1 instruction to change the state of the output doing it that way. The downside is that pin RC.0 to RC.6 cannot be used for anything else, because they must be outputs.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
so, at the start of the active line, you set RA to black...then, RC gets cycled bit-by-bit on the scanline. With basically 20 clocks to render a single pixel...since you are running 20xNTSC.
See, I had the logic wrong in my head. I thought you had to actually send another full burst every time you wanted to change colors. I will still have to study it a little more but that was about the only thing that was giving me trouble.
No, I've been working on updating my video overlay module to do 256x192 pixels.
Saw you were bidding on a Timex 2068 on ebay. Did you get it ? I had one of them for many years ago when I was a teenager. Neat little computers. I wrote a space invader game for it in 100% z-80 assembly language.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
I never had a Timex 2068 but it looks pretty cool - especially the color. I have recently ordered 5 TS1000's on ebay and got 2 to work fully·(1 from parts of 3 of them {2 bad ULA chips·and 1 cracked keyboard connector} and the 2nd worked correctly).
Anyway, I am working on an 8255 interface for·a TS1000 (zx81)·to possibly interface to a BS2 or SX-28 (if possible - haven't worked out the details - but got a BS2 to talk to the 8255). Having lots of fun!
Tim
Post Edited (T&E Engineer) : 10/19/2006 9:51:03 PM GMT
Bean (Hitt Consulting) said...
No, I've been working on updating my video overlay module to do 256x192 pixels.
Saw you were bidding on a Timex 2068 on ebay. Did you get it ? I had one of them for many years ago when I was a teenager. Neat little computers. I wrote a space invader game for it in 100% z-80 assembly language.
Bean.
nah, I lost that auction. I also just lost an auction for a CoCo 3 128k.
hey, T&E, I just rec'd a TS1000 but can't get it to work...getting only a black fuzzy pic. I am assuming that it's because of my new TV not locking on to the signal so I might try to dig up an old TV.
Something I really want to build is a NES to Commodore 64 joypad converter.
I will try to keep this moderately short as not to "hyjack" the thread. If you want more info you can PM me.
You might have a bad ULA chip·if you have any random scanning picture even it not legible.·However, you are mostly likely correct about the old TV concept.
·I don't know how I got two bad ULA's.
If you have some sort of a scanning image and not just totally black, then it is the ULA chip (get another ZX81 / TS1000 as you can't buy one).
If you have a·dark black picture and using a monitor (not a TV - did you·build the 1 transistor/resistor video circuit? to use video out instead of TV channel 2/3 or ZX81 UHF) - a video out to some monitors will be very dark. You can turn the contrast and brightness all the way up. If this doesn't work try another TV or blame the ULA.
Mine won't work on my DVD monitor (all black - no matter what the contrast is) - but building the 1 transistor video circuit or useing channel 2/3 it will work on some TV's. I read that some TV's after 1982 are "too new" - trial and error mainly. I have to use an older 13" with either channel 2/3 or video circuit output.
Forrest,
I had wanted to make a high resolution overlay module first, but ran into a problem getting the serial communications working.
I haven't been working on the color module, but I will probably get to it in a week or two.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
I just hope you have not abandoned the project.
I'm going to see if my local shop can order the 71.590909 MHz crystal for me or if I have to go to Digikey...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
Some of you may have seen this before. It has a neat PDF guide (HOW TO DO COLOR) that explains NTSC and B/W and Color. Unfortunately it is not in SX/B but Assembler but very interesting.
Bamse,
It's a dead project. I couldn't get the serial reliable enough. So I was thinking about using 2 SX chips. But it got very complicated. The propeller could do the same function with 4 cogs tied behind it's back. And wouldn't need an external SRAM chip or the special oscillator.
If you're interested I will post the layout and latest code. The layout is in autocad and it is for a add-on board to the SX48 protoboard from Parallax.
I actually ordered the Hydra kit to learn the Propeller chip...
Maybe I should just try this on the propeller in stead since I would not need any external RAM etc...
See if I can get the 71.59.... crystal and at least give it a try, so please post the latest code...
And yes, I've seen the documents and they should be of great help...
Maybe I should get a 42.954540 MHz crystal as well...
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
This is lines drawn rotating through all the colors.
Now to do a proper layout and get some boards made !!!
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
There are only two guaranteed ways to become weathy.
Spend less than you make.
Make more than you spend.
Post Edited (Bean (Hitt Consulting)) : 9/20/2006 12:31:32 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
black,· orchid,·· blue,·········· royal (blue)
green, dimgray, aquamarine, cornflower
rust,·· red,······ gray,········· fuschia
teal,·· gold,····· lime,·········· white (silver?)
However for the average programmer used to the old minimal color scheme the following list would be closer expected:
black,············· purple,····· blue,·· navy
dark green,······ dark grey, cyan,· light blue
brick (dark red), red,········ grey,· magenta
bluegreen,······· gold,······· green, white
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I've been trying to figure out some things with your code. Using the original example, it appears that your maximum horizontal resolution is 80 pixels.
You hold those values in $B0 - $FF. Correct?
Next, in your active scanline, it appears that you first grab the current register (starting with $B0), then you RL 7 times. You do this for exactly 40 clocks (2 CBC's). I can't quite figure out what the RL's are for. In other words, why are you shifting the register values?
Thanks!
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
· Each pixel is 4 bits, so the 80 byte array from $B0 to $FF is 160 pixels.
· I'm using the RC port as a shift register. It only takes 1 instruction to change the state of the output doing it that way. The downside is that pin RC.0 to RC.6 cannot be used for anything else, because they must be outputs.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
There are only two guaranteed ways to become weathy.
Spend less than you make.
Make more than you spend.
·
..I think.
so, at the start of the active line, you set RA to black...then, RC gets cycled bit-by-bit on the scanline. With basically 20 clocks to render a single pixel...since you are running 20xNTSC.
See, I had the logic wrong in my head. I thought you had to actually send another full burst every time you wanted to change colors. I will still have to study it a little more but that was about the only thing that was giving me trouble.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Do you get any smearing when passing from a color to black?
Frank
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
Saw you were bidding on a Timex 2068 on ebay. Did you get it ? I had one of them for many years ago when I was a teenager. Neat little computers. I wrote a space invader game for it in 100% z-80 assembly language.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
Post Edited (Bean (Hitt Consulting)) : 10/19/2006 9:50:06 PM GMT
I never had a Timex 2068 but it looks pretty cool - especially the color. I have recently ordered 5 TS1000's on ebay and got 2 to work fully·(1 from parts of 3 of them {2 bad ULA chips·and 1 cracked keyboard connector} and the 2nd worked correctly).
Anyway, I am working on an 8255 interface for·a TS1000 (zx81)·to possibly interface to a BS2 or SX-28 (if possible - haven't worked out the details - but got a BS2 to talk to the 8255). Having lots of fun!
Tim
Post Edited (T&E Engineer) : 10/19/2006 9:51:03 PM GMT
nah, I lost that auction. I also just lost an auction for a CoCo 3 128k.
hey, T&E, I just rec'd a TS1000 but can't get it to work...getting only a black fuzzy pic. I am assuming that it's because of my new TV not locking on to the signal so I might try to dig up an old TV.
Something I really want to build is a NES to Commodore 64 joypad converter.
cbmeeks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Coders' Hangout
A place for programmers to hangout!
http://www.codershangout.com
METROID?
Metroid Classic
You might have a bad ULA chip·if you have any random scanning picture even it not legible.·However, you are mostly likely correct about the old TV concept.
·I don't know how I got two bad ULA's.
If you have some sort of a scanning image and not just totally black, then it is the ULA chip (get another ZX81 / TS1000 as you can't buy one).
If you have a·dark black picture and using a monitor (not a TV - did you·build the 1 transistor/resistor video circuit? to use video out instead of TV channel 2/3 or ZX81 UHF) - a video out to some monitors will be very dark. You can turn the contrast and brightness all the way up. If this doesn't work try another TV or blame the ULA.
Mine won't work on my DVD monitor (all black - no matter what the contrast is) - but building the 1 transistor video circuit or useing channel 2/3 it will work on some TV's. I read that some TV's after 1982 are "too new" - trial and error mainly. I have to use an older 13" with either channel 2/3 or video circuit output.
Tim
How's the color SX48 board coming along?
I had wanted to make a high resolution overlay module first, but ran into a problem getting the serial communications working.
I haven't been working on the color module, but I will probably get to it in a week or two.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·
Any update on the video module ?
This would be perfect for my Apple 1 Replica (http://www.brielcomputers.com/replica1.html) as an "add on" graphics card...
I just hope you have not abandoned the project.
I'm going to see if my local shop can order the 71.590909 MHz crystal for me or if I have to go to Digikey...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
http://www.rickard.gunee.com/projects/video/sx/gamesys.php
http://www.rickard.gunee.com/projects/video/sx/howto.php
It's a dead project. I couldn't get the serial reliable enough. So I was thinking about using 2 SX chips. But it got very complicated. The propeller could do the same function with 4 cogs tied behind it's back. And wouldn't need an external SRAM chip or the special oscillator.
If you're interested I will post the layout and latest code. The layout is in autocad and it is for a add-on board to the SX48 protoboard from Parallax.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Educate your children to self-control, to the habit of holding passion and prejudice and evil tendencies subject to an upright and reasoning will, and you have done much to abolish misery from their future and crimes from society"
Benjamin Franklin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Coming soon! Propeller based OSD module www.hittconsulting.com
·
Maybe I should just try this on the propeller in stead since I would not need any external RAM etc...
See if I can get the 71.59.... crystal and at least give it a try, so please post the latest code...
And yes, I've seen the documents and they should be of great help...
Maybe I should get a 42.954540 MHz crystal as well...
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse