The World according to a Prop
Baggers
Posts: 3,019
Hi All,
I've been wanting to do this for a long while, I've finally had a little spare time this evening, and instead of doing HERO ( yes, I know I should have done HERO instead ) I wanted to do this, and test it out. This is also for the Aviators out there, I don't have a GPS system for the prop, but you should easily be able to add it, and it's 433 pixels in X and 433 pixels in Y for 10 degrees, top left of map is·X -180, 90 Y bottom right of map is 180, -90
Sorry it's 433x433 for 10 degrees, but that's the size of the image. [noparse]:D[/noparse] I don't have the luxury of being able to create it at any specific size lol.
Just place "world.bit" in the root of a freshly formatted SD card ( as it gets the first sector, then reads from that, and offsets into the file for seeking )
Cursors to move around, and 1 to 0 to change the movement step, 1=1 pixel, 2=4, 3=8, 4=16, etc.
It's initially set up for Hybrid, but you can change it to your settings.
This is a SMALL version of the map.
The zip file is too BIG for the forum, so get it from here
http://www.PropGFX.co.uk/Baggers/JB_World.zip
Let me know what you think, if it needs changing etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
I've been wanting to do this for a long while, I've finally had a little spare time this evening, and instead of doing HERO ( yes, I know I should have done HERO instead ) I wanted to do this, and test it out. This is also for the Aviators out there, I don't have a GPS system for the prop, but you should easily be able to add it, and it's 433 pixels in X and 433 pixels in Y for 10 degrees, top left of map is·X -180, 90 Y bottom right of map is 180, -90
Sorry it's 433x433 for 10 degrees, but that's the size of the image. [noparse]:D[/noparse] I don't have the luxury of being able to create it at any specific size lol.
Just place "world.bit" in the root of a freshly formatted SD card ( as it gets the first sector, then reads from that, and offsets into the file for seeking )
Cursors to move around, and 1 to 0 to change the movement step, 1=1 pixel, 2=4, 3=8, 4=16, etc.
It's initially set up for Hybrid, but you can change it to your settings.
This is a SMALL version of the map.
The zip file is too BIG for the forum, so get it from here
http://www.PropGFX.co.uk/Baggers/JB_World.zip
Let me know what you think, if it needs changing etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Comments
For example, if I go east, by the time I get to Manchester the top of the display is shifting sideways. The farther I go, the worse it gets.
BTW is it a freshly-formatted drive? can you video what's wrong? as I'm not 100% sure on what you're describing.
It does tear on update, as it's reading 96KB from SD to put on screen.
96 scanlines, each reading 1KB eg 2 x 512byte sectors, incase it's stradling over two sectors.
Baggers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
heater, thanks [noparse]:)[/noparse] yeah something like that [noparse]:D[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Congratulations !
Now we will be able to mark all the PropellerHeads locations
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
although not that this is the largest it can go, as it can go as big as your SD I suppose lol. that map is only 118MByte in size, so tiny really.
I'd just need to have a GPS to coord conversion, for whatever the map area covers, then it should be easy to do for you. [noparse];)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
So - reading the sd card in real time to put it on the display?? Is that fast enough?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
it's not fast enough to have a real time display from SD, besides, I don't think you'd want to write to SD all the time to update it [noparse]:D[/noparse]. 96KB is a lot of memory, and maybe fast enough for Rayman's LCD's ( don't quote me on that though ) but if it was on his LCD, and reading from SD, I wouldn't have a 128x96 resolution [noparse]:)[/noparse]
Also the reason it reads 1KB for each scanline even though they are only 128bytes is in case it crosses over a sector boundary.
If people want me to continue with this, I will optimise it to scroll the screen ram, and only update the edge strips, this should then also speed it up, quite a bit. but it will go slow initially when it crosses over a sector boundary, if scrolling by a large amount.
Baggers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Would it be faster to read it from external sram rather than sd card?
I'm thinking you already have the hardware, and the software is mostly written (read or write n bytes starting at location x). I'm thinking of existing code that grabs blocks off the sd card and sends them straight to external sram. Only two lines of spin code.
Sing out if you want to brainstorm this some more.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
Although I could make it grab an area around where you are, and just feed hub-ram with the area needed. [noparse]:D[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Back to the real world, grabbing bits around where the user is would make sense, and buffer those in ram.
Re "it's not fast enough to have a real time display from SD, besides, I don't think you'd want to write to SD all the time to update it"
Would there be any writes? If it is all just reads, then the sd card would not wear out etc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
I have played the last hour with this map. Sometimes I wish to see a bigger part of the map to not loose the orientation, so I have added a Zoom mode:
F1 = 1x
F2 = 2x
F3 = 4x
When zoomed, the update is much slower, because a Spin loop copies every byte. But it is still usable.
Attached is only the Top-object, all other objects have not changed.
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
FSRWFemto doesn't work with all SD cards though, it took me a second card to get it working.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·