6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 12:16 am

All times are UTC




Post new topic Reply to topic  [ 83 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Wed Jul 12, 2017 4:19 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
GARTHWILSON wrote:
Yes, the SRAM's timing specs are undoubtedly being violated, and while it may luckily work under the current conditions, problems may crop up when something (even temperature) changes.

Also, that scheme will not reliably work with the 65C816.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 12, 2017 6:26 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
Oneironaut wrote:
Writing a filesystem from scratch is a bit of a task!

Writing a filesystem that is robust and efficient is even more of a task. The robust part is particularly a challenge, as the FS has to be able to behave in a reasonable fashion following a system crash and subsequent restart. That requirement is why journaling filesystems were invented.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 12, 2017 1:12 pm 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 692
Location: Gillies, Ontario, Canada
It's an FPGA / CPLD only gig.

BigDumbDinosaur wrote:
GARTHWILSON wrote:
Yes, the SRAM's timing specs are undoubtedly being violated, and while it may luckily work under the current conditions, problems may crop up when something (even temperature) changes.

Also, that scheme will not reliably work with the 65C816.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 12, 2017 1:16 pm 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 692
Location: Gillies, Ontario, Canada
I had considered some type of redundancy in my design, and my notepad has 2 possibilities scrawled on it...

1) The TOC is duplicated, and the backup copy is written first. This would allow a "Repair FS option.
2) I run a trickle charged battery, and the system has to unlatch a relay to safely shut down.

Option 2 does not consider FS corruption by the OS, but since I am coding in my native language of assembly, there simply will not be any bugs in the code. If I wanted buggy code, I would let a compiler do the work!

Yeah... I will probably go with the first option and just mirror the TOC.
I also have that PC link option in CrossTalk to make binary images of the mass storage.

Brad

BigDumbDinosaur wrote:
Oneironaut wrote:
Writing a filesystem from scratch is a bit of a task!

Writing a filesystem that is robust and efficient is even more of a task. The robust part is particularly a challenge, as the FS has to be able to behave in a reasonable fashion following a system crash and subsequent restart. That requirement is why journaling filesystems were invented.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 14, 2017 2:15 pm 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 692
Location: Gillies, Ontario, Canada
I managed to get a few hours in on A65 this week, and things are progressing nicely.
Some of the changes / fixes made...

- SD Card driver now gets 10MHz bandwidth.
- Ability to call a file by name and load using BMFS.
- Start of a CLI (Command Line Interface).
- Perfect bank switching between BMOS and assembled program.
- Ability to load external file by name through serial -> USB link.
- Massive improvements to all GPU functions with new SRAM driver.

I still have some work to do on the file system TOC loader, but that is next.
By next session, I should be able to list files on the SD card and load them by name.

Brad


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 18, 2017 7:28 pm 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 692
Location: Gillies, Ontario, Canada
HxD... a hackers best friend!

https://mh-nexus.de/en/hxd/

This Hex Editor has been very helpful during my file system development.
The ability to open the SD Card in RAW format and dump a binary file is great.

To test my BMFS implementation, I have made a PC program that turns an entire directory into a huge binary file which contains my TOC and all of the files in binary format. This image is then dumped to the SD Card after opening it in RAW mode in the Hex Editor. I then put the card back into the A65 socket, and let it boot.

Eventually, I will only use this PC link to back up SD images, but during development it is a necessity.
So far, my file system prototype is working as expected, and soon I will have file handle read ability in A65.

Brad


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 10, 2022 7:29 pm 
Offline

Joined: Tue Jan 12, 2021 4:57 pm
Posts: 6
do we have any update on this project ?
/kktos


Top
 Profile  
Reply with quote  
PostPosted: Sat Apr 23, 2022 1:26 am 
Offline
User avatar

Joined: Mon May 25, 2015 2:25 pm
Posts: 692
Location: Gillies, Ontario, Canada
I have focused all of my effort into my Vulcan-74 project for now.
I expect to post the final build in June.

Brad

kktos wrote:
do we have any update on this project ?
/kktos


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 83 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 38 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: