loading DAT data from SD?
Oldbitcollector (Jeff)
Posts: 8,091
Before I start creating the wheel:
Has anyone done an example of loading DAT date from a file from the SD?
Is this even possible?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Has anyone done an example of loading DAT date from a file from the SD?
Is this even possible?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
I supposse OBC mean, take data out of a SD, to ie draw a bitmap in a driver, using that read data instead this:
If I could read the hbar.dat from SD, could be great to save in it, a lot of graphics.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
Since there seems to be a lot of shrugged shoulders, I'm knee-deep in spin.
I'm writing an IPCONFIG program for my remote compiler which will allow me
to change the TCP/IP address data and store it in a file called "ipconfig.cfg"
My initial tests seem to indicate that I can load this data, then assign the
variables into the DAT section. (We'll see)
I've got most of the initial user interface finished, I'll be testing the concept shortly.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
The program just needs the correct amount of DAT space allocated, you can replace the variables anyway you like.
- Howard
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
No matter how much you push the envelope, it'll still be stationery.
You could setup a loop to repeat the same number of times for each place value;
Although I'm not familiar with the driver or how the IP info needs to be presented...I've got to fool around with that PropNIC that arrived last week!
Rick
That was the easy part. I simply wrote one character for each number of the
address, etc. I only needed numbers 0 - 255.
I'm now dealing with the other side. As feared my DAT statements don't like
accepting variables. (Still poking at it.)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Yes, I have it working fine.. Too bad you guys won't see it until UPEW. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
And you can edit the ipconfig.cfg with a text editor?....like PrEditor?
See you then!
Rick
Because each digit of the configuration file represents part of the TCP stack
configuration I wrote a special configuration screen for it.
BTW, how is your editor coming along? It's been a while since
we've had an update.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Yeah, work got very busy...Just installed my first Prop based product this week!
I will have PrEditor done for the expo though.
Rick