6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Oct 04, 2024 11:26 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: SPI projects
PostPosted: Thu May 22, 2008 9:45 pm 
Offline

Joined: Tue Sep 24, 2002 4:56 pm
Posts: 50
Location: Essex, UK
With the 65SPI project nearing some sort of completion ( 8) ), I've been having a bit of a look at SPI-bus peripherals.

Out of curiosity, is anyone (else) going to try using the 65SPI chip with a BBC Micro (rather than a home-brew kit)? If so, perhaps they'd like to get in touch with me - if for no other reason than not duplicating effort.

(Also, I've got a couple of ideas in mind, and want to try running them past someone else - just in case they're "dumb".)

--Martin

_________________
Martin Penny

.sig in beta - full release to follow.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jun 04, 2008 2:48 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
Debug box. LCD display or to another PC to probe registers and memory locations as well as single step....

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jun 04, 2008 9:30 pm 
Offline

Joined: Tue Sep 24, 2002 4:56 pm
Posts: 50
Location: Essex, UK
One idea I'm mulling over is a variant of the "ROM filing system" - attaching SPI EEPROMs (pre-)programmed with useful (!) stuff; any interest?

--Martin

_________________
Martin Penny

.sig in beta - full release to follow.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jun 05, 2008 12:57 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
Martin's Library of Programming Memories :D

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jun 06, 2008 7:41 pm 
Offline

Joined: Tue Sep 24, 2002 4:56 pm
Posts: 50
Location: Essex, UK
Nightmaretony wrote:
Martin's Library of Programming Memories :D


Maybe - but I see the main use of a "ROM filing system" is to allow someone who's put together a SBC to drop an SPI EEPROM into said system, and have assorted handy utilities avalable "at the drop of a hat".

(Admittedly, the code I'd produce - which I'd go and submit to the 6502.org code library - would contain a lot of BBC Micro-specific "features", but the file storage format and read algorithms would be easily adaptable.)

--Martin

(And, before someone says "Why not use FAT16?" - this would be perfectly fine for a more sophisticated SBC, but a more minimalist - or first - SBC may benefit from a "simpler" storage format.)

_________________
Martin Penny

.sig in beta - full release to follow.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jun 08, 2008 2:15 am 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
Like I said, Martin's Library of Programming Memories. :D

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jun 08, 2008 5:40 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
mdpenny wrote:
(And, before someone says "Why not use FAT16?" - this would be perfectly fine for a more sophisticated SBC, but a more minimalist - or first - SBC may benefit from a "simpler" storage format.)


Even the more sophisticated systems will benefit from a more compact representation to. FAT exists to manage a malleable storage medium. ROM is perfectly fixed -- the need to manage placement of data in the ROM simply doesn't exist, as ROM is essentially immutable (yes, I'm aware of the exceptions: EPROM, lightning strikes, etc.). With this constraint removed, loading a file from a ROM filesystem amounts to a simple block-copy operation. Finding a file amounts to just walking an array of (filename, starting-address) tuples in the simplest cases, and maybe a skiplist or B-tree in the most complex (if you have to rapidly find files for whatever reason).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jun 11, 2008 12:24 am 
Offline
User avatar

Joined: Thu Mar 11, 2004 7:42 am
Posts: 362
Lee Davison designed a simple ROM filesystem with some corresponding 6502 code at:

http://www.themotionstore.com/leeedavis ... index.html

There's some good ideas there, even if you decide to go in a slightly different direction.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: