Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - willrandship

Pages: 1 ... 20 21 [22] 23 24 ... 208
316
Calculator C / Re: We MUST port that to Ndless
« on: June 25, 2013, 06:21:13 pm »
still not ported to ndless
* willrandship runs.

317
Miscellaneous / Re: "What If" Discussion
« on: June 25, 2013, 06:18:51 pm »
Actually, I think I joined once, lurked for a long time, then stopped. Then I found the site again, found I still had a login.

318
Miscellaneous / Re: "What If" Discussion
« on: June 25, 2013, 05:47:13 pm »
I had to discover omni twice, actually. So, mostly it would have altered my login password.

319
Calculator C / Re: We MUST port that to Ndless
« on: June 25, 2013, 05:33:37 pm »
and code, lots of code.

320
Other / Re: z80-like portable computer for <$30! (If you build one)
« on: June 25, 2013, 05:18:40 pm »
The internal flash isn't low at all for having a basic OS. I was thinking a simple program loader, with support for loading from USB. The programs would then implement such things as BASIC interpreters and such.

Also, the screen is NOT driven by the ez8. It has its own driver, and the ez8 chip only has to feed one byte of screen data at a time.

Another thing to remember: There is technically another 16K of flash and 2K of RAM available in the auxiliary ez8. The plan is to have it be a slave CPU that you can send tasks to, but if you desire, those tasks could include loading and running programs, or even managing on-the-fly decompression of data.

The LCD datasheet lists the ability to adjust duty cycle ie. framerate, from anywhere up to 60 hz down to 5 or 6. This fact alone makes it far easier to make greyscale happen: You can tune the LCD to your game's timing, rather than the other way around!

Also, for those wondering why the low specs in some areas, this is because my first priority was cost. This thing will be under $30 for parts, and it's a dual core handheld computer, with a good LCD. Just moving to a microprocessor instead and having more RAM and Flash would likely boost the cost by at least $5. Also, you would lose the two CPU bit.

Oh also, I was debating whether the LCD should be on the coprocessor, and now I think it should, specifically for greyscale. Even if you can't fit a whole buffer, you could go atari-style and store individual greyscale sprites and have a background buffer that can be displayed in any of 16 shades (Yes, more than 4, because it would be totally possible with a chip dedicated to it)

321
Other / z80-like portable computer for <$30! (If you build one)
« on: June 25, 2013, 09:31:05 am »
First off, here's the parts list, with digikey links, and price breakdowns.
https://docs.google.com/spreadsheet/ccc?key=0ArVW6ZRBoIhOdFdyY25QMkppejJFc19sd1FpWF9UNHc&usp=sharing

Now, to the fun part!

This is a simple design for an ez8-based computer. The ez8 is, like the ez80, a modern chip based off of an old zilog chip. However, instead of being based on the z80, which we all know and love, it is based on the z8. This chip was designed to be similar to the z80 in syntactical programming, but the architecture itself is quite different. There is also a C compiler provided by Atmel for the non-gurus.

The computer has 2 ez8 chips, each running at 20 MHz, with 16 KB of flash, 2 KB of RAM, and 29 I/O ports. One of these acts as the primary CPU, for general tasks, while the other is slaved, doing tasks as it is polled, such as managing the included sound system (speaker and headphone port) as well as other routines.

The computer uses a B/W 128x64 display, with a built-in driver chip that makes interfacing it extremely simple. An 8-bit bus for data and instructions, with a few other bits on the side. Duty Cycle is adjustable, so greyscale should be easier than on the TI series.

The main method of input is intended to be a PS/2 keyboard. Also included is a MicroSD card slot, which will interface to the main chip via SPI.

For power, an LM237 regulator hooked to a 4xAA battery holder is also included.

Some notes:

For the most part, this project should be relatively easy to work with. The ez8 chips are 40-pin DIP, with sockets. Most (not all) of the components involved are thru-hole, and most of those that are not can be easily substituted with materials on hand. (For example, I plan to use a floppy connector for the prototype's SD card slot) As of yet, I have no plans to make boards for this, or any other manufacturing arrangements. If there's enough interest later, then maybe that can change ;).


Here's Zilog's page on the exact chip.
http://www.zilog.com/index.php?option=com_product&Itemid=26&task=parts&familyId=6&productId=Z8F1621&mpn=Z8F1621PM020EG&mpnid=5183&scrollmpn=1&rootpage=b3B0aW9uPWNvbV9wcm9kdWN0JnRhc2s9cHJvZHVjdCZidXNpbmVzc0xpbmU9MSZpZD0yJnBhcmVudF9pZD0yJkl0ZW1pZD01Ng==

322
The Axe Parser Project / Re: Funny axe code !
« on: June 25, 2013, 09:10:08 am »
It's true. Also, sometimes you want to do some crazy stuff in Axe. If the compiler always checked for perfect syntax, there would be a great deal of stuff you couldn't do.

323
TI Z80 / Re: GlassOS - "I'm not dead"
« on: June 23, 2013, 11:05:44 pm »
In any case, since GlassOS has a fully implemented libc, it would be fairly trivial to port Lua.

324
News / Re: TI-83 Plus.Fr update: Now with TI-84+SE hardware!
« on: June 23, 2013, 05:11:38 pm »
That's exactly what I was thinking, too. Not that I mind. At least now they don't have an excuse to charge extra for the CX CAS.

325
News / Re: TI-83 Plus.Fr update: Now with TI-84+SE hardware!
« on: June 22, 2013, 12:13:45 am »
That ti-85 fr wouldn't be half bad if they threw in some archive space.

326
News / Re: TI-83 Plus.Fr update: Now with TI-84+SE hardware!
« on: June 21, 2013, 11:57:26 pm »
Why does TI bother to pull this kind of crap? Is it just an excuse to have new models so they can keep the price up?

At least they made an excuse to keep the old B/W models available for those of us who want fast screen draws. :D

327
TI Z80 / Re: GlassOS - "I'm not dead"
« on: June 19, 2013, 03:28:14 pm »
Just like any computer, for a language to run an interpreter has to be made for it. There's nothing preventing other languages from running on it, except for lacking a port. Axe, in particular, would need modifications to accomodate the new OS structure, but most of the internal code it generates would be fine as-is.

Also, Forth is not as hard as z80, at least in my opinion. However, it's not exactly straightforward to look at.

328
TI-Nspire / Re: On-calc Nspire emulators
« on: June 14, 2013, 02:26:06 pm »
The Atari 2600 hardware was mainly made to be cheap, and yet just good enough to run a few simple games. Compared to the NES, it was quite pathetic, but it was also much cheaper to manufacture.

329
TI Z80 / Re: GlassOS - "I'm not dead"
« on: June 14, 2013, 02:21:54 pm »
In some ways forth is actually easier. For one thing, the language has relatively few operations and no pointer management.

On the other hand, you do have a massive stack to worry about, and it's not exactly straightforward to follow.

The best reason to have a forth interpreter is probably because of how much easier it is to create than other language interpreters.

330
TI-Nspire / Re: On-calc Nspire emulators
« on: June 11, 2013, 07:57:41 pm »
No problem.

My favorite part about the pitfall video I linked: 256 bytes of level data stored in a 50 byte algorithm. He calls it a reversible polynomial counter. Basically, he can increment or decrement it and it becomes an apparently nonrelated number.

Best part: Since the counter only needs to store a byte in RAM at a time, the whole routine is in the 4 KB of ROM.

Pages: 1 ... 20 21 [22] 23 24 ... 208