Shop OBEX P1 Docs P2 Docs Learn Events
Single-chip microcomputer? — Parallax Forums

Single-chip microcomputer?

rokickirokicki Posts: 1,000
edited 2006-06-20 21:50 in Propeller 1
Some friends and I have been bemoaning the lack of inexpensive accessible programmable computers for the kids, much like the microcomputers of the early 80's. Anyone remember the Color Computer? Commodore 64? Things like that.

The Propeller looks like the first single-chip (or near-single-chip) solution capable of replacing those. I'm thinking a small box with nothing but a NTSC video/sound out, standard PC keyboard (PS/2) in, and wallwart power in. The Propeller plus an EEPROM (plus maybe a serial SRAM), along with a few resistors and a supply regulator should do everything we need.

I'm thinking a simple built-in basic interpreter just like the old boxes. EEPROM will provide the program storage. No internet, no crazy graphics, no exorbitant memory---just a simple box people can learn to do simple BASIC programs on. Heck, with an EEPROM we can even make it come preloaded with 101 cool starter programs.

Is this totally insane? I remember all the fun we had with the old Apple IIs and the like, and am sad that kids today don't get the same thing.

I showed my ten-year-old nephew a TRS-80 color computer the other day, and he took to it right away---even though he's a total video game head. And he had a blast writing (right away!) little programs that counted, that printed different things. I am sure he's not the only kid like that.
«1

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-02-26 04:29
    Totally doable

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2006-02-26 04:55
    rokicki said...
    Some friends and I have been bemoaning the lack of inexpensive accessible programmable computers for the kids, much like the microcomputers of the early 80's. Anyone remember the Color Computer? Commodore 64? Things like that.

    The Propeller looks like the first single-chip (or near-single-chip) solution capable of replacing those.

    Actually, you hit on the exact reason behind Chip Gracey's reason for designing it. He was one of those 'kids' of the late 70/early 80's who did all kinds of cool things that PC's just don't let you today. He wanted a chip with a great cool factor to excite young minds like his was. I was also one who use to program 6402 ASM on my Commodore PET to make all kinds of programs, and it really gave me a great background in understanding systems. Things I would know where to start on today's PC.

    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Martin Hebel

    Disclaimer: ANY Propeller statements made by me are subject to my inaccurate understanding of my limited time with it!
    Southern Illinois University Carbondale -Electronic Systems Technologies
    Personal Links with plenty of BASIC Stamp info
    and SelmaWare Solutions - StampPlot - Graphical Data Acquisition and Control

    Post Edited (Martin Hebel) : 2/26/2006 5:08:16 AM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-26 05:53
    Many of us who were in Chip's shoes back in the day talked about those days in this thread...

    http://forums.parallax.com/showthread.php?p=464494

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-02-26 06:09
    Andre' LaMothe and I had an interesting discussion about how we both hacked the Atari computer in various ways to push the limitations
    when we were kids. I'm not sure about the Commodore, but the Atari only had a 1MHz system clock and was impressive in it's own right!!
    Comparing dinosaurs to modern man, the Propeller is a highly advanced and very capable machine.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-02-26 08:03
    Well, can we revive data storage on cassette recorders?

    I had a Color Computer and this really wasn't that bad. You save a program or a bit of data rather than alway starting over.
    It also taught a lot of principles of electro-magnetic storage media in a very simple format.

    I seem to see a lot of people don't understand how complex a floppy or hard disk really is and how much manipulation is required to go from a simple stream of data and get it onto a spinning disk.

    So, I guess what I am asking is can the Propeller also provide an audio modulated output to record and then decypher a playback as digital data.

    This may all seem to be redudant when you consider programing it via a PC. But, if you want to give the kids a completely autonomous, programible device, you may have to provide it's own 'mass storage'.

    Limitations can be a good thing.
    Kids learn to economize and think of alternatives. I think I heard that Lee Travino learned to play golf by hitting an aluminum foil ball with a stick as he was too poor to get either a golf club or the ball, but he was a caddy on a golf course. Still, it demanded tremendous control to do so accurately and to get any distance at all. {It certainly worked for him.}

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • cocokiwicocokiwi Posts: 75
    edited 2006-02-26 08:43
    OH! Boy! TOY,S (grin)

    I have a CoCo-3 or two around here somewhere(grin) I go back to Jan 81 when I got my CoCo..
    Believe it or not it is still around,I am the Manager of the coco/Os9 forum on what was Delphi(Delphiforums) as it is known now, the winXP1 and the Experimenter forum as well,this is very interesting!

    Now here is a GEM of an item,and there are more little goodies also! Like this: a SWITCH called a no/go you feed a voltage in after setting a window,it will NOT go unless the set window and monitored voltage agree. $9.50

    this One: THE GEM... a small pcboard(stamp like) with a Motion sensor inside goes in line to a Video camera

    24 pin layout 18 pins used.. very simple to use! you have a 20meg xtal. in/outside-3x sense setting-alarm/video-output.. AO is mom alarm out.and VL is Video loss indicator.
    video input and video output!

    Power = 5v @ 250 mv

    VMD - 19
    http://www.saelig.com/miva/merchant.mvc?Screen=PROD&Product_Code=VI001&Category_Code=VI


    Enjoy

    Dennis McMillan
  • inakiinaki Posts: 262
    edited 2006-02-26 12:59
    I have realized that the Parallax forums concentrate a large number of people who have been pioneers in microcomputing in the early 80s. I wonder what does find that people so atractive in a piece like the Propeller.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • GadgetmanGadgetman Posts: 2,436
    edited 2006-02-26 13:12
    In short?

    The Pioneering spirit...

    There's something about being the first to do something on a new piece of HW. There's also the possibility of Hacking in its purest sense, making the HW do something that the manufacturer never thought it could do.

    Lets face it, the PC platform is just about dead when it comes to real creativity, anything can be done if you just throw enough RAM and CPU power at it, and generally that is how it is done, too...
    But back in the 80s, people took a computer, no matter how limited, and made them WORK, despite the limitations.

    There's something just... satisfying about that...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't visit my new website...
  • Oliver H. BaileyOliver H. Bailey Posts: 107
    edited 2006-02-26 13:26
    Hey gang. You guys need a cassette based debugger? Hum! Well, I co-wrote MACRO-MON for the TRS-80. I think this little device has many interesting features. Remember the Z80, 6502, or 6809 didn't have multiple internal processors and they didn't run anywhere near 40Mhz. The propeller is like the Z80 on steroids. Having multiple processors also prevents the programmer from being exposed to the complexity of interrupts and eases them into multi-tasking. And with multiple processors that intercommunicate with each other you have the start of a central nervous system for robotics. I'm anxious to write about this little GEM.

    Oliver
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-02-26 16:16
    Some people do crossword puzzles everyday, some people follow sports statistics, some people do technology.
    It is about the mental exercize and watching the world go by.

    Oliver, I can hear you about interupts.
    I am trying to do something that requiers using several threads in an SX with the ISR and I still have trouble envisioning it. There really isn't a 'tutorial' about this, just high end users literature. Slowly the light is coming on, ever so slowly.

    Yeah, I was in San Francisco when all this was happening, but really didn't have the time to keep up with it [noparse][[/noparse]I had to work building office buildings as a Union Carpenter for my day job].

    In my slow time [noparse][[/noparse]during layoffs] I would try to catch up and went to HAM Swap meets at Foothill College [noparse][[/noparse]in the heart of Silicon Valley]. That was probably the world's greatest electronics flea market [noparse][[/noparse]or at least one of them]. Everything that was being put in dumpsters in Silicon Valley seemed to be arriving there. Also, whatever engineers wanted to get out of their garages passed through. Tubes, Scopes, Chips, old audio, very old radio, NASA junk, old documentation, early Ampex, early TV .... Just talking to people was an education.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan

    Post Edited (Kramer) : 2/26/2006 4:19:31 PM GMT
  • rokickirokicki Posts: 1,000
    edited 2006-02-26 16:35
    >>> But, if you want to give the kids a completely autonomous, programible device, you may have to provide it's own 'mass storage'.

    Right; I was hoping we could get a big enough EEPROM or serial FLASH where they could use built-in "storage" for their programs.

    This doesn't solve the "swap programs with friends" problem though. One solution to this is to use cheap SD cards, but now we're talking an SD socket which is another cost item.

    The hardest part of all this will be (as always?) the software. I'm anxiously awaiting the release to see what "comes with" the chip.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-02-26 16:44
    Swaping programs and data is IRda material these days. FRAM memory seems to be a best fit.

    SD cards seem to be jumping into my hands. I bought 2 or 3, but now I have 5 or 6. THE SD CARDS seem to require a File Allocation Table and DOS file format. This requires buffering, conversion, and management. [noparse][[/noparse]more costs]

    On the other hand. FRAM memory chips seem to be ideal with an SPI interface.

    Audio data storage is more of an engineering artifact [noparse][[/noparse]as it really takes up more space if you use digtal audio]. And, cassette recorders are all but gone.

    Educationally it still gives a very clear idea of how modulation plays a key role in moving between digital and audio and radio.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • GadgetmanGadgetman Posts: 2,436
    edited 2006-02-26 17:16
    I'd go for EEPROMs, preferably the 24c256 and similar types as they are easy to interface and with a relatively small footprint. (We don't need MegaBytes of storage, do we?)
    It shouldn't be too much of a problem finding a plug they can be mounted onto to make it easy to swap them in and out of a system.

    The biggest problem is really to create a decent Filing system for them.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't visit my new website...
  • rokickirokicki Posts: 1,000
    edited 2006-02-26 18:16
    I think it should be reasonably easy to use a simple FAT16 or FAT32 "fixed" filesystem (i.e., require formatting on this device, not read/write generic FAT16/FAT32, much like many cameras and other devices do). If it's only a software issue, we can manage it, I think. The flash cards I've looked at pretty much manage the buffering and programming for you, as long as you follow their rules.

    FRAM looks cool and all, but seems to be too cutting edge; I'd hate to write a ton of software dependent on FRAM and have it go away.

    The main issue with the EEPROMs appear to be the size; 32KB total (24c256) doesn't leave much room for the kid's programs and the system software. I think the system software will probably be around 32K by itself (the propeller for all of its magnificent features will probably not be the king of code density). I'd like to let the kids have at least 64K worth of program storage and preferably much more than that; truthfully I think a total of about 1MB nonvolatile storage will be a sweet spot.

    The downside is we are talking three external memory devices already: EEPROM boot, flash for nonvolatile, and SRAM for working RAM. I suppose that's why the FRAM solution is attractive. I'll have to study the chips.

    The right thing to do may be a 24c256 to boot with and an SD slot for nonvolatile. Are there any inexpensive, widespread larger serial EEPROMs than the 24c256 in widespread use?
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-02-26 18:20
    I was actually talking with Chip yesterday about a project idea I have that involves an MMC interface. After some research, I hope that we can create an object that will let Propeller developers include MMC cards in their projects to write and read files. For those that do data logging, this could be very beneficial as the MMC device could be moved from the logger directly to one's PC.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • GadgetmanGadgetman Posts: 2,436
    edited 2006-02-26 19:16
    Not to dump icewater on the talks, but how much space would an interactive BASIC interpreter take?
    (I'm assuming that the user isn't supposed to write the programs on a PC, then transfer them on a MMC or EEPROM)

    Or, how much space would a simple editor take if you split it up?

    I can't remember any machine spending much less than 16KB on these things.
    Yes, I know that if it's written in Spin we have 32KB to work with, but do we really want to interpret one language with another (semi-)interpreted language?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't visit my new website...
  • dmyersdmyers Posts: 14
    edited 2006-02-26 20:28
    I think the storage should be a large eprom but also have a way to load "programs" into it via serial. Take a look at the Sharp 730 or Sharp 770 "PDA". I had one before I got my palm. It had a QWERY keyboard and little bitmap serial screen and a basic interpreter. A lot of what you all are talking about on this thread. but of course we are thinking NTSC Color Video & some sounds with a ps/2 keyboard. a super little "mac mini" like box (more like a deck of cards he he)

    I think the Sharp 730 was actually based on the Z 80.

    Don Myers
  • BeanBean Posts: 8,129
    edited 2006-02-26 21:04
    The ZX81 only had an 8K ROM.
    And the ZX80 (integer only) only had a 4K ROM.
    I won't say it's impossible.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012

    "SX-Video OSD module" Now available from Parallax for only·$49.95
    http://www.parallax.com/detail.asp?product_id=30015

    Product web site: www.sxvm.com

    "Ability may get you to the top, but it takes character to keep you there."
    ·
  • rokickirokicki Posts: 1,000
    edited 2006-02-26 22:07
    > how much space would an interactive BASIC interpreter take?

    That's definitely a concern, which is one reason I want to get the development board and find out what we can do with what is
    built-in. The code density of the old microcomputers was pretty high (especially for the Z80 and 6809), and I'm shooting for
    something essentially equivalent to Coco Extended Basic plus load/save by name to some filesystem, so we're probably looking
    at the equivalent of 6809-level 20K or so. Ideally a lot of what we need is already in the 32K ROM SPIN interpreter, if we can
    figure how to reuse what's there. And since I visualize all user program and data residing in external RAM, we may be okay.

    The tricky part may well be the 512-instruction-limit in the cogs; I'd hate to think we'll spend most of our time shuffling
    instructions into and out of the cog memories. I'm especially concerned with how many instructions a reasonable FP library
    (addition, subtraction, multiplication, division, comparison, sin/cos/log, and conversions to and from ints) will take.

    On the flip side, I'd be happy with 2MHz Z80-class speeds, to tell the truth, and we have a fair number of MIPs to work with
    here, so we'll have to see.

    It will definitely take some cleverness. Which is all a large part of the fun.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-26 23:20
    Beau Schwabe (Parallax) said...(trimmed)
    Andre' LaMothe and I had an interesting discussion about how we both hacked the Atari computer in various ways to push the limitations when we were kids. I'm not sure about the Commodore, but the Atari only had a 1MHz system clock and was impressive in it's own right!!
    The Commodore 64 only ran at 1 Mhz as well if I am not mistaken...Boy if I knew I was going to have to remember all this stuff all these years later I would've kept the documentation.· I realized something about my memory a long time ago.· It doesn't matter where I have something written down, as long as it's written down I remember it.· Once I get rid of the piece of paper/book it's like I threw away the memory from my mind as well!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • ForrestForrest Posts: 1,341
    edited 2006-02-27 00:15
    Actually the 8-bit Atari computers ran at 1.79 MHz (half a colorburst crystal speed). Believe it or not, they're still developing new hardware products for the 8-bit Atari including an IDE interface, USB interface and Flash RAM cartridges www.atarimax.com/

    Imagine, being able to store every 8-Bit Atari program ever written in a single 256 MB CF card - which happens to be a side project I'm working on now.
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-02-27 01:26
    Forrest

    Hmmm....The crystal I pulled from my board was labeled 1.000MHz. One of those big 1 inch wide jobs. Anyway it matters not.
    The point I was trying to make was that the Propeller has quite a bit more horse power under the hood and deserves a class of
    it's own to accurately depict what it is and is not capable of. As it has been mentioned earlier, when the Propeller was designed
    the conventional way of thinking was thrown out the window, so unless someone can equate apples to oranges, there is really
    no suitable comparison.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Oliver H. BaileyOliver H. Bailey Posts: 107
    edited 2006-02-27 01:53
    The Atari 800 was a much more popular machine than most people realized at the time. Speed on the early machines varied. If my memory serves me correctly the TRS-80 was around 4 MHz and the original IBM PC was a whooping 4.77 MHz. Of course the PC had 1 bit wide regsiters. One of the faster systems was the Oliveti which never caught on in the US. It had a Z8000 and ran Z80 and 8086 programs.It had a clock speed of around 8 Mhz.
    As for the interrupt topic. Interrupts can be both the best and worst of development. In my early embedded 8086 systems, a well coded interrupt eliminated the need for a RTOS. There were many machine tools I developed that were completely interrupt driven. Yur right, documentation on how to write interrupt handlers is typically way too involved. But a part if that is due to all the potential gotchas that await writing interrupts.
  • ForrestForrest Posts: 1,341
    edited 2006-02-27 03:16
    Beau,
    I double checked the Atari 400/800 Hardware manual and there's actually a 3.57 MHz crystal in the computer and the 6502 CPU runs at half the crystal speed, or 1.79 MHz. I think you confused the Atari 400/800 with the Apple II - which has a 1.0 MHz 6502.
  • rockin_rickrockin_rick Posts: 32
    edited 2006-02-27 03:47
    Jon Williams (Parallax) said...
    ...I hope that we can create an object that will let Propeller developers include MMC cards in their projects to write and read files....

    I'd like to express interest in this, and I hope that it becomes a reality. I'm sure that it would be useful to many.

    Rick
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-02-27 05:33
    Forrest,

    Your right! 1.79MHz ....Somehow in 27 years I lost 790kHz turn.gif

    www.vintage-computer.com/atari_800.shtml

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-02-27 05:52
    Regarding size of resident in EEPROM Basic Programs, wasn't 2K the all time record?
    I think that was the famous Dr. Dobb's Journal 'Tiny Basic' for the 6502 [noparse][[/noparse]about 1987].

    The speed thing is more about 'whiz bang' in game applications than about writing a novice Basic Program. I imagine Graphics will suck up a tremendous about of RAM or EEPROM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • ForrestForrest Posts: 1,341
    edited 2006-02-27 08:50
    Beau,
    You've only lost 790 khz - but I've lost a lot more hair! tongue.gif
  • PaulPaul Posts: 263
    edited 2006-02-27 14:30
    I think the COCO1 had 4k RAM and Microsoft Basic in an 8K prom and COCO2 had 16K and another 8K prom for Extended Basic. I had the normal Basic and a copied a friends Extended Basic to a cassette so I could load it when I need it. Must have been after I upgraded the RAM from 4k to 16k.

    The same friend and I used to joke about Microsoft's ability to crank out a BASIC Interpreter for just about any chip on the market. We assumed they just loaded the opcodes into a big VAX and the prom would pop out the other end. Maybe someone at Microsoft still knows where that VAX is in the basement out in Redmond.

    --Paul
  • Kaos KiddKaos Kidd Posts: 614
    edited 2006-02-27 14:45
    The CoCo 2 had 64K of ram (the CoCo3 had 128K). I Broke my teeth on the CoCo, CoCo2 and Commodore 64/128's pc's. It's pretty much where I learned ASM, and the flavors of basic. THe C=64's floppy 1541's, 71's and 81's were all serial driven, which would be cool to interface with. The only remaining operational systesm I have are a C=64/128 system with printer, modem and 16 megs of battery backed ram called RamLink, several floppie drives. This chip reminds me much of the TImex Sinclar 1000 (I hae several of them at well). THe TS1000 was based on the Z80. THis chip, the propeller, could easily be inserted into a simular "box"....

    FYI: My 7 y/o loves it when I boot the C64 system... There are so manay games he likes to play, and the SIDS (Commodore's equ to Mp3's)...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

    Just tossing my two bits worth into the bit bucket
    KK
    ·
Sign In or Register to comment.