Searching \ for '[SX] Color NTSC with the SX48' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/lib/io/index.htm?key=ntsc
Search entire site for: 'Color NTSC with the SX48'.

Exact match. Not showing close matches.
PICList Thread
'[SX] Color NTSC with the SX48'
2006\09\02@123244 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Okay, I've done numerous black and white NTSC projects. But I gotta tell you, color NTSC is a WHOLE lot harder.
After burning some midnight oil, I finally got color on my composite monitor.


This first run attempt was to re-create the color output from the Apple II computer.

I got ahold of the book "Understanding the Apple II" by Jim Sather (an excellent book even though it is from 1983).


I ordered some custom frequency oscillators from digikey (71.590909MHz or 20xColorburst), soldered 3 resistors to the SX48 protoboard and here is the result. There are 160 pixels across and 192 vertically. The picture shows 10 pixels of each of the 16 colors (counting black and white).


Now that I have that working, the next step is to integrate a 32K SRAM to hold the pixel info and make a real 160x192x16 color image.


Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\02@181303 by ALTITUDEAPn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ALTITUDEAP wrote:

Holy Cow Beanman
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143066
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\02@221724 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

That looks very impressive - especially with a 32K SRAM. Any chance you're going to write a tile based graphics engine for it like you did with the Black and White version for the SX28?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143092
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\03@051819 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Forrest,
 I don't have the SRAM connected yet. That's the next step.
 I'm sure a tile based engine will be forthcoming.

Bean
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143108
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\03@060555 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Nice - there's a certain Atari 8-bit game written in Basic that I'd like to port.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143115
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\03@074948 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Which game ?

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143122
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\03@081416 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Gold Rush, published in Compute! magazine in 1982. It's the first computer program I typed in when I got my first computer - an Atari 800.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143124
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\03@140909 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

I'm familar with either of those (I'm not a gamer).
But from the title, I'd say that color 11 (yellow/gold) will be most useful.

The engine will probably be 8x8 tiles. Each pixel in the tile can freely be any of the 16 colors. The tile placement will be on even horizontal pixels, and any vertical pixel. There will also be at LEAST 2 graphics pages to allow for page flipping (drawing on one page while another page is displayed).

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143157
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\03@153041 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Hmm, 8 x 8 won't be useful for this game, because the original game was setup for 20 characters per line x 24 lines and each character was bitmapped and could be 1 of 4 colors.

If you can get the tile engine up to 16 x 16, you could do a reasonably good version of Super Breakout.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143162
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@103633 by brianbrn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, brianbr wrote:

[Quoting: "Bean (Hitt Consulting)"]
I'm amazed at how stable the colors are with the oscillator.
Bean.

So, how much did the oscillators cost in what quantity?

Maybe we could do a group purchase, if there were enough interest. if Bean doesn't want to handle it, I will volunteer since  I already have the mechanism in place for my other ventures.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143229
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@111752 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Brian,
 I used this part from Digikey: SG-8002DC-SCB-ND
 I wanted the RoHS part, but it was out of stock.
 I paid $5.15 for 3 pcs. The prices goes down to $2.94 for 100. So they are not that expensive even in small quantities.

 For anyone using the SX-Key, try changing the timer R1 and R2 values in these lines:
 TIMER1 R1, 4560
 TIMER1 R2, 4560
 On my monitor is seems that 4561 works better than 4560, you might try 4559 too.

 I'd like suggestions for making this a product.
 I'm thinking of using a thru-hole SRAM and making a PCB that will piggyback onto the SX48 Protoboard.
 And selling it as a kit.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143236
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@143806 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Bean,
I like the kit idea. Could you make it compatable with the SX52 Prototype board also?

Here's some things on my wishlist that would make it an excellent gaming board: Add sound output (simple R2R ladder is fine) along with a DB9 port to attach an Atari joystick.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143250
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@181359 by brianbrn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, brianbr wrote:

[Quoting: "Bean (Hitt Consulting)"]Brian,
 ...  I paid $5.15 for 3 pcs. The prices goes down to $2.94 for 100. So they are not that expensive even in small quantities.


 I'd like suggestions for making this a product. I'm thinking of using a thru-hole SRAM and making a PCB that will piggyback onto the SX48 Protoboard. And selling it as a kit.

Bean.


Oh, OK! I thought maybe it was like some outrageous figure. I have gotten some pretty wild quotes or qty 1-5 of non-standard frequencies for transmitter.

I would be up for a kit  with a piggy back board for the SX48 protoboard. Keep up the good work ...

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143272
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@195315 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Okay after connecting everything, I have only 3 I/O pins left.

Does anyone know of a slick way to read an atari joystick (5 switches connected to a common) with only 3 I/O pins ?

Of course Up&Down cannot be closed at the same time (same with Left&Right).

Without any extra parts if possible (okay a resistor of two would probably fit, but NO ICs).

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143283
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@201313 by bobn9lvun/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bobn9lvu wrote:

[Quoting: "Bean (Hitt Consulting)"]Okay after connecting everything, I have only 3 I/O pins left.

Does anyone know of a slick way to read an atari joystick (5 switches connected to a common) with only 3 I/O pins ?

Of course Up&Down cannot be closed at the same time (same with Left&Right).

Without any extra parts if possible (okay a resistor of two would probably fit, but NO ICs).

Bean.


Read the switches with decimal to binary chip, with 3 io lines you could read up to 7 switches.....
Or using the same 1wire circuit for a wind vane you could do a LOT more than just the 5 switches...:smilewinkgrin:


Bob  :scool:

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143285
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\04@211739 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

How many pins are you using for the video and how many for audio? 4-bit audio should be ok
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143290
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@043527 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

[Quoting: "Forrest"]
How many pins are you using for the video and how many for audio? 4-bit audio should be ok
The SRAM require 26 pins, the video output uses 6 pins, the audio is 1 pin (but it's a timer output so you can use high speed PWM to make different volume levels).

I figured out how to do it with 2 resistors by using the different threshold levels to detect which of the two mutually exclusive switches are closed.


I've almost got the layout done. I will make a prototype on my LPKF, then get some boards made.

I only expect to make about 20 kits. If response if good, I may make a SMT populated board.


Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143307
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@045615 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

[Quoting: "Forrest"]
How many pins are you using for the video and how many for audio? 4-bit audio should be ok
The SRAM requires 26 pins, the video output uses 6 pins, the audio output is 1 pin (but it's a timer output so you can use high speed PWM to make much more than 16 different volume levels).



I figured out how to do it with 2 resistors by using the different threshold levels to detect which of the two mutually exclusive switches are closed.


I've almost got the layout done. I will make a prototype on my LPKF, then get some boards made.

I only expect to make about 20 kits. If response if good, I may make a SMT populated board.


Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143311
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@071637 by peterverkaikn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote:

Hi Bean,
I am also working on a Sx48 protoboard addon using a 32K sram.
It is possible to use only 24 pins on the sram when you also have
an I2C bus. I use the SCL line also as OE for the sram. (sram CS = GND)
Port C = sram DQ0-DQ7
Port D = sram A0-A7
Port E = sram A8-A14, WE
Port A = SCL,SDA,TX0,RX0
Port B = application (in attachement is layout example of quad birectional uart).
That would give you 5 free I/O pins for the buttons.

For single switches with a common ground you could also use a resistor ladder
where each button results in a different R value, and then use RC time.

You could also connect 1k resistors (or resistor network) to DQ0-DQ7 and
the buttons to these resistors, so that when a button is closed, it pulls
a DQ line low (sram OE must be high during button scan).

regards peter
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143329
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@081047 by Chris Savagen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote:

Bean,
  Using a 74HC165 you could read 8 or even 16 inputs off those 3 pins using an SPI interface (a.k.a. SHIFTIN).

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143337
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@083959 by Peter Van der Zeen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote:

Hi Bean;
If you wanted to sense 5 buttons to a common without any IC's, could you not simply wire 5 binary weighted resistors, one to each button, and then input that resistance into a single pin virtual ADC? A resolution of 2^5, or one in 32 should be quite achievable.

That would only use 5 button encoding resistors, one small cap and one more "DAC" resistor. All done with only one pinI/O pin!

Cheers,
Peter (pjv)
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143344
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@093340 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Thanks for all the suggestions guys.
The 3 I/O pins are fed directly into the DB9, what the user does with them after that is up to them.
I guess I'll put Vdd on the DB9 too to make it an "expansion port" also.

Still haven't seen anything that beat my 2 resistor method for least componets... (wink, wink).

Here my plan:

Fire button gets it own I/O
UP is connected directly to I/O2 and DOWN is connected thru at 12K. Then the internal pulls are enable. When the I/O level is set to CMOS (2.5V) if the pin is low then UP is pressed, if it's low then set the level to TTL (1.4V). If the pin is low at TTL, then down is pressed. If it's still high at TTL level neither UP nor DOWN is pressed.

LEFT and RIGHT work just like UP and DOWN.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143352
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@094628 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Sounds good. 32K for video memory is a lot more than I had on the Atari 800.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143358
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\05@204914 by ALTITUDEAPn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ALTITUDEAP wrote:

holy frijoles.... (those are beans in my neck of the woods)
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143466
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@044842 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

Hey cool Bean!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143478
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@054203 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

cbmeeks,
 Yeah I'm a minimalist kinda guy ;)
 When I make the prototype boards I'll make two and send you one to "play" with, if you can make a demo or two for it.
 Deal ?


Oh,
 About the 2.7K, just put two 1.5K in series to make 3.0K that should be close enough.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143479
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@065955 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

Hey, that would be awesome.  In fact, I would be the first in line to buy a real board.

I'm at work now so I can't really study your code but I am curious.  How are you changing the colors in software?  In other words, how are you spinning the color wheel mid-scanline?

I've done it in software.  I basically just simulated a color burst by sending a square wave whenever I wanted to change color.   But then again, I was only running about 8 times color burst.

On your system, can you make any of the pixels any color?  If you can, then you are very close to a real image buffer.  The next question is what picture are you going to display first?  hahaha
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=143039#m143481
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@072406 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

It works like this:
 Say you were outputting bits at twice the colorburst rate.
 And lets say the colorburst was output as 0,1
 When you draw the screen if you output the same as the colorburst 0,1 you get green.
 If you output the opposite 1,0 you get purple.
 If you output all lows 0,0 of course you get black.
 If you output all highs 1,1 you get white.

 Now let's say you output at 4 times the colorburst rate.
 So the colorburst is 0,0,1,1
 Like above 0,0,1,1 = Green; 1,1,0,0 = Purple, 0,0,0,0 = Black; 1,1,1,1 = White
 And 1,0,1,0 & 0,1,0,1 = Gray (the frequency is too high for colorburst so it get's averaged as gray).
 0,0,1,0 is sensed as green with a lower amplitude (dark green)
 0,1,1,1 is sensed as green with a higher amplitude (light green)
 0,1,0,0 is sensed as purple with a lower amplitude (dark purple)
 1,1,0,1 is sensed as purple with a higher amplitude (light purple)
 All other combinations are sensed as a phase shift to the color burst given a range of colors.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143486
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@075408 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

hmmm...I will have to struggle with that one a bit.  I think I see what you are saying.

Still a little confused on the "4 times the colorburst rate".

EX:  In your code for the active scanline:

' Make sync for 17 CBC (colorburst cycles) 17 * 20 = 340 - 8 = 332 / 4 = 83

17 * 20 = 340 - 8 = 332 / 4 = 83
. 17 is CBC
. 20 is speed you are running (20 times colorburst)  (71.5909 Mhz)
. 4 ??  Is that number of cycles you get per color clock?  Where did he come from?  
Sorry, I am taking 2 minutes between compiles to read your source...i will follow more closely at lunch today.  :-)
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143488
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@094632 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

The / 4 is because DJNZ X,$ takes 4 cycles.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143502
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\06@095742 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

oh yeah...dur.

man, you get me a color tile engine and I will pump out some demos for you.  :-)
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143505
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\07@100049 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

You can still find them on eBay for cheap...but the shipping is usually more than a 19" TV with S-Video
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143669
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\07@123431 by Jimbon/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jimbo wrote:

Just Wondering...
Couldn't you just use an old VGA 8 bit (or 16 bit card) and use an SX to control the lines to do what you want? Then you could use a VGA monitor to write the games. You would have the ram on the card to use.

Thanks,
Jim W.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143692
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\07@151936 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Jim,
 Generating VGA is simple compared to NTSC.
 I could be wrong, but I would assume most people want NTSC video output.
 I mean how many people have a spare VGA monitor laying around ?
 Pretty much everyone has a color TV.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143719
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\07@182610 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

I have several VGA monitors and tv's.  I like both....hehehe
But for retro, you have to go NTSC.  VGA is easier...but not by much.  However, it is SUPER simple to generate the color you want but the timing is a little difficult to master.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143741
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\09@101614 by transistortoastern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, transistortoaster wrote:

Hello Bean,
I did some analysis on the 4 bits rotated out for color. I thought I'd share it with you.
Frank
ANGLES WORK ON  I Q PLANE, NOT ON R-Y B-Y PLANE
(The angle is obtained from the second entry of the fft)
fft([0 0 0 0])                             nothing at 3.57Mhz fft([0 0 0 1])=  1     i    -1     -i     =90degrees = DARK RED fft([0 0 1 0])=   1   -1     1     -1     = 180 degrees = GREEN fft([0 0 1 1] =   2   -1+i   0+0   -1-i   = 135degrees BRIGHT GREEN (yellow??)
fft([0 1 0 0])=   1   -i    -1      i     = -90degrees BLUE (DARK CYAN)
fft([0 1 0 1])=   2    0    -2      0    nothing at 3.57Mhz=GREY fft([0 1 1 0])=   2   -1-i   0+0  -1+i = -135 degrees GREENISH CYAN fft([0 1 1 1])=   3   -1    -1     -1     =180degrees GREEN fft([1 0 0 0])=   1    1     1      1     = 0 degrees VIOLET fft([1 0 0 1])=   2    1+i   0+0    1-i   = 45 degrees RED fft([1 0 1 0])=   2    0     2      0   nothing at 3.57Mhz=GREY fft([1 0 1 1])=   3     i    1     -i     = 90degrees BRIGHT ORANGE fft([1 1 0 0])=   2   1-i   0+0    1+i    = -45 degrees BLUE-VIOLET fft([1 1 0 1])=   3    1    -1     1     =   0 degrees VIOLET fft([1 1 1 0])=   3   -i    +1    +i     = -90 degrees BLUEISH CYAN fft([1 1 1 1])=   4    0     0     0     nothing at 3.57Mhz
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m143972
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\09@174659 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Frank,
 Thanks that is interesting.
 I've got one prototype with the SRAM, but I've got some problem with the video generation ISR not "playing nice" with the main code when they both access the SRAM.
 I want to have the ISR so that it saves the state of the SRAM ports so the main codes doesn't need to restrict access to the SRAM to only the blanking times.

 I'd say it's 90% there. One change though is that the bits are rotated the opposite way (RR instead of RL) so the colors are mixed around.

 I should be able to get it working next week, then make a tile engine for it (cbmeeks your module is probably 2 weeks away).

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m144028
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\09@181800 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

hahaha bean.  Thanks.  I look forward to seeing what you produce since my time is so thin I may not get mine in 2 weeks.  I am ordering some more protoboards this weekend though.

You certainly are the master over hardware but I would love to get together with you and maybe produce a stand alone "video card" for NTSC.  maybe something like the PropStick but with an SX48 and some pins for SRAM and video? What do you think?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m144035
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\15@094737 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

I'm about 90% sure my problem (well code's problem) is the old read-modify-write gottcha.

In reading the datasheet it says:
"For operating frequencies of 50 MHz or lower, if bit 7 of the T2CNTB (PORTRD) is set, the port reads data from the data register instead of port pins. In this case, the NOP instructions are not required."
But it doesn't say if the frequency is above 50MHz ? I'm not sure why it would matter ?

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m144760
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\15@101618 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

would three nops be too much?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m144765
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\15@113233 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

YAHOO!!! That was it. It's working perfectly now !
A thousand curses on read-modify-write problems...

At least now I can get down to write the tile engine.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m144779
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\17@134808 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Okay,
 I'm getting there.
 Here is the latest image. It shows all 16 colors used as background and foreground.
 As you can see some combinations don't work too well.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m145038
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\17@144801 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Bean,
Looks very good. Keep us updated on when you think the color video kit will be available. Thanks
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m145050
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\17@180442 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Here is a picture that shows blocks of each color.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m145075
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@112627 by James Newtonn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, James Newton wrote:

In some dim foggy part of my brain I remember someone (was it Woz with the Apple II?) had a hardware mod that converted one of the grays into another color. It may have been a selective pulse extender (count and feed back one of the outputs back into the pulse train) but that is just me guessing. My memory seems to be telling me it was an analog circuit, but I can't imagine how that could possibly be. I also seem to remember that it slightly modified all the other colors as well.

If the loop that sends out the pulses was unrolled, and the middle pulse was made slightly longer with some nop's, what effect would that have on the colors?

Probably useless, I just thought it might spark something.

Naming the colors? Real men don't name colors.

Re: Your sig line about wealth. I'll be passing that on to my wife and kids.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=143039#m145179
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@144548 by lordsteven/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lordsteve wrote:

Black, Fuchsia, Blue, Purple (maybe Blue Purple)
Dark Green, Dark Gray, Aquamarine, Cerulean(maybe Cornflower)
Dark Red (Brown?), Red, Light Gray, Magenta,
(Dark)Teal, Yellow, Green, White
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145203
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@155309 by transistortoastern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, transistortoaster wrote:

>Frank,
>Thanks that is interesting.
>I've got one prototype with the SRAM, but I've got some problem with the video generation ISR not "playing nice" with >the main code when they both access the SRAM.


>I got the interrupt routine to co-operate by remembering the SRAM status
>and returning it when it's done.
>So the main code can write to SRAM anytime (much faster).
>But I still have the startup problem...
>Bean.

Bean,
I have a leftover question back from the original black and white mere mortal engin, which I suppose has been triggered when you talk about the SRAM access shared by two threads.

You used  __PARAM1 in your ISR at NextTile: and PrimeTileDots:. Exactly why did you use that register? If a function is called in the main code and it gets interrupted, isn't there a problem? I know you made a subroutine to wait for the non-active video phase of the screen display, but is it necessary considering 1) that the worse case scenario is a few pixels that get updated 1/60 seconds later and 2) there are no writes to the shared memory in the ISR?


>As you can see some combinations don't work too well.
...
>I was surprised to see the nice range of colors considering how the color is generated.
The large gamut of colors is perfectly logical because the TV demodulator circuit is continuous in time plus has memory.  
Let
y()= +-1 generated by SX
K=4,
T = 1/3.57MHz
n1=time y(n1 *K *T)-> BP filter    h1(t) -> c(t)      : color signal before phase demodulation
y(n1 *K *T) -> notch filter h2(t) -> l(t)    : luminance
It is originally designed for each pixel to last a timespan of T as expressed in y(n2 * T). where , n2=n1*K. However the output is not taken at discrete time intervals c(n2 * T). It can only be written as c(t) where the phase and magnitude change continuously in time. Also, the filter impulse response h(t) cannot be expressed as a constant scaling factor which implies it has memory.


We could only minimize the interference.  I'd like to think about that a bit. Maybe some tricks can be done considering we have 20 clock cycles per colorburst. The easiest technique for consistency I see is to precede each color by at least one pixel of black. Could you please five and equation that relates for a given (x,y) coordinate, what  bit pattern you intended to shift out?

Frank
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145217
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@161732 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

[Quoting: "transistortoaster"]
You used __PARAM1 in your ISR at NextTile: and PrimeTileDots:. Exactly why did you use that register? If a function is called in the main code and it gets interrupted, isn't there a problem? I know you made a subroutine to wait for the non-active video phase of the screen display, but is it necessary considering 1) that the worse case scenario is a few pixels that get updated 1/60 seconds later and 2) there are no writes to the shared memory in the ISR?
Frank,

 By default (unless you specify NOPRESERVE or NOCODE) SX/B saves all the __PARAMx variables at the start of the interrupt and restores them at the RETURNINT. Otherwise you would be VERY limited as to what SX/B commands you could use in an interrupt. Since many of the SX/B commands use the __PARAMx variables.


 All of the __PARAMx variables are really handy in assembly code because they are guarenteed (sp?) to be in the global memory area. So you can adjust FSR and still have access to them.


 Actually I would like to get the clock frequency down to 16x colorburst, or 57.272727MHz. The spec sheet says the SX48 cannot run above 50MHz at 3.3volts. I would like to make the color video circuit low power, so I want to run the SX at the slowest clock and lowest voltage I possibly can.


 I'm right now writing a Bresenham line code so I can draw lines on the screen. Fun fun fun...


Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145224
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@172307 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

Awesome work Bean...as always.

Is this going to be an open project?  :-)
I am very excited to see what can be done with this driver.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145233
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@174121 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

cbmeeks,
 It will have to be open for people to use it ;)
 I will probably make a serial or I2C or SPI module for use with the BS2 or other controllers. That probably won't be open source.

 Actually this whole project started out because I kept seeing the propeller color video and I was thinking, "damn it, if the propeller can do it, the SX can do it.". Of course extra memory is needed, but the prop needs an external EEPROM so there you are.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145235
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\18@182727 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

[Quoting: "Bean (Hitt Consulting)"]cbmeeks,
 It will have to be open for people to use it ;)
 I will probably make a serial or I2C or SPI module for use with the BS2 or other controllers. That probably won't be open source.

 Actually this whole project started out because I kept seeing the propeller color video and I was thinking, "damn it, if the propeller can do it, the SX can do it.". Of course extra memory is needed, but the prop needs an external EEPROM so there you are.

Bean.


You got that right...those Propeller folks are cheating...using that fancy spin language and multiple cogs....back in my day, we used ONE cog and liked it!  lol
Seriously, my VGA circuit is coming along pretty well.  Got it up to 256x240 resolution with 64 colors...could easily be 256 colors but one of the colors would only be 2 bit and the other 2 would be 3 bit...  :-/
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145237
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@075527 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

hey bean, are you storing those fonts in the SX memory or are you pulling them from SRAM?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145290
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@080300 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

They are stored in the SX memory. The SRAM is volitile so all contents are lost when power is lost.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145291
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@081233 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

well, that's what I am thinking...FRAM is great for fonts but aren't they usually slow?  I have some at home but can't remember their speed.  I *THINK* around 60-70ns.  I have some SRAM that is 15ns so much better for video streaming.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145292
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@105212 by Chris Savagen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote:

Even though SRAM is volatile you could always copy the FONT table into SRAM at startup.  This trick was frequently used by BIOS manufacturers to increase access time.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145312
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@110025 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

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

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145315
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@172520 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Okay this final test PROVED to me that it is going to work.
This is lines drawn rotating through all the colors.

Now to do a proper layout and get some boards made.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145392
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@180442 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

cool!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145398
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\19@230628 by Coriolisn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote:

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
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145426
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\20@030755 by Forrestn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Looks great
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145432
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\20@104328 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

Bean,
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
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145483
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\20@111304 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

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.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145485
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\20@115303 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

ahhh.....ok, I see.

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

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145489
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\09\22@214247 by transistortoastern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, transistortoaster wrote:

Bean,
Do you get any smearing when passing from a color to black?
Frank
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m145902
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)


'[SX] Color NTSC with the SX48'
2006\10\19@121320 by cbmeeksn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

Bean:  Any updates?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m150362
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\10\19@125943 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

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 when I was a teenager. Neat little computers. I wrote a space invader game for it in 100% z-80 assembly language.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m150377
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\10\19@144816 by tdg8934n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote:

Bean,
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 it to possibly interface it 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
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m150408
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\10\19@162622 by cbmeeksn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote:

[Quoting: "Bean (Hitt Consulting)"]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.  :-)
cbmeeks
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m150429
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\10\19@192529 by tdg8934n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote:

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.

Tim
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m150452
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)


'[SX] Color NTSC with the SX48'
2006\11\18@153703 by Forrestn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Forrest wrote:

Bean,
How's the color SX48 board coming along?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=143039#m155946
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\11\18@181550 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

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.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=4&m=143039#m155961
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)


'[SX] Color NTSC with the SX48'
2007\03\20@090752 by fsafstromn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, fsafstrom wrote:

Hi Bean,
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...

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=4&m=143039#m179540
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\20@092530 by tdg8934n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, tdg8934 wrote:

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.

http://www.rickard.gunee.com/projects/video/sx/gamesys.php
http://www.rickard.gunee.com/projects/video/sx/howto.php
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=4&m=143039#m179544
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\20@095031 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

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.

 If you're interested I will post the layout and latest code. The layout is in autocad and it for a add-on board to the SX48 protoboard from Parallax.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=4&m=143039#m179552
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\03\20@102826 by fsafstromn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, fsafstrom wrote:

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.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=4&m=143039#m179565
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...