PDA

View Full Version : DEMO-board SD KYEDOS package.



codeviper
04-09-2012, 06:47 AM
ok here is what I an doing.
I assembled a portable PROP unit it has a miniPS2 keyboard built into the top of a simple case and an LCD from a portable DVD player (it accepts NTSC) it has speakers and an NES port, and an SD card. all of this is conifigured to Jeff Ledgers PROTO-board cookbook wich i will upload so you dont have to track it down.
with this little setup I have convinced my collage to start a TECH-CLUB based around the PROP and some gear i put together.
this SD card has just the right combo of show and function to impress over what this little chip can do.
personally i also have the wolfeinstein 3D demo to.
if the PICTURE is BW sorry my crystal is ~2KHZ off
here is what you get.
1: a modded TV-KYE-DOS with no serial port and no drac-blade add-ons, configured to work with the SD card on pins 0 1 2 and 3 keyboard on 26 27 TVdac on 13 14 and 15 with the sound out on 10 and 11 and NES ports on 4 5 6 and 7.
2: the SD card files i use on my board. if you want a quick get you going setup to show off here it is it includes.
SIDplay .........by ........ Jeff Ledger needs keyboard sound TV and of course SD
JetPac ..........by .........Baggers needs a keyboard sound and TV
CALC ............by .........Me, rest is the drivers for float to string and float32 this needs TV and keyboard
Defender ........by ........ I cant remember needs a NES controller
DodgeyKong.. by .........I cant remember but It is FUN but needs an NES controller
Mflight ...........BY......... OMG am I getting old? needs a keyboard sound and TV
Ffight .............by.......... eh eh well it is a fun demo that you can enjoy. needs a keyboard sound and TV
Tetris .............by.......... OK im going to just stop saying by now this is actually spintris but i named it tetris.exe needs a keyboard sound and TV
Bdash ......................... boulderdash clone very fun.needs a keyboard sound and TV

all of these files are named EXE because once you get KYEdos running on your PROP and have the SD card loading just fine any binary you name as an EXE can be ran just by typing its name and hitting return.

91517
91518
91519


i hope some one likes this it took me a while to gather this up when i first bought my Prop chip.
if you need instructions ask and i will do my best to help. no question is dumb so feel free to ask.
if you want to get going with a PROP you can make your own board on a bread-board

Cluso99
04-09-2012, 09:30 AM
Congrats! Looks like you have made some excellent progress.

Here is a link to what I have done with Kyedos. SRAM is not required. In fact while I use a RamBlade3, I am only using the serial to a pc (propplug equivalent) and microSD. If you give it a try, don't forget to set the clock back to 5MHz (I overclock to 6.5MHz) in _hwdef.spin. Only _OS.spin needs to be recompiled for hardware changes. All other modules are hardware agnostic.
http://forums.parallax.com/showthread.php?138251-A-Propeller-OS-that-can-run-on-multiple-hardware...&highlight=keydos

Perhaps it is of benefit to your work.

You can replace the pc driver with a tv and a keyboard driver (need to dig it out from the Sphinx project by Michael Park). I have split the commands out of the main program into small command files. See the sample file for an example. Currently I dont have Kyes SD driver resident in hub yet. The IO is a simple character interface so that the physical I/O driver(s) can be dynamically replaced. I am working on getting Michaels Sphinx compiler (pasm and spin compiler on the prop) working under this rather than the older fsrw (SD access) that we used a few years ago.

codeviper
04-09-2012, 10:04 AM
thanks coming from you, that's the best complement i can think of.
yeah for 20 years an Apple2E has been my go to for lab work but this is part of my project to replace that.
some one else did the KyeDOSTV variant but it had a lot of extra i didn't need/want so i trimmed it down.
also the serial IO would cause it to lag when no serial was connected so I removed that from this version of KyeDOS to make it more standalone.

Dr_Acula
04-10-2012, 01:28 AM
This is great - well done!

It is a great idea to split commands up into separate 'programs'. This gets around the 32k hub memory limitation.

I tried stripping Kye's SD driver down to a bare minimum but it still takes about 1/3 of the hub memory. I'd be interested how small fsrw can go.