OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:28 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Tue Jan 05, 2021 12:15 am 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1225
https://sourceforge.net/projects/lowest ... r/download

Extract the TAR to a FAT32 LBA root directory with DOS (hard disk, bootable USB/SD) and run c:\start.bat. It works even in the newest laptops (they have PS/2 keyboard/mice).

This version of my OS contains code in ATA-ATAPI, Storage, FS and kconsole directories. It supports dir and type commands for the first partition as FAT32 LBA in the primary master. The idea was to write logs to the disk for debugging, but I still have to make sure to write to disk without bugs, or I will destroy the disk. It will serve me this year to debug my code to disk to record complex actions from the point of view of machine resources.

It builds on the v2019 kernel which implemented simple malloc/free to handle the sort of requests of file systems and other more complex instances that are created and destroyed.

The mass storage subsystem is simply a chain of file system elements (files, directoryes, dirents), partitions and storage device IDs in their own lists from which the code resolves which other actual functions to call to handle the request. From the highest to the lowest level of structs and functions it's easy to know what we need to call transparently.

The idea is to make the code as clean as to make it easy to explain how to handle FAT in 8.3 and LFN name mode, and make it easier for beginners to pick up faster and dedicate time to other topics with this resource available in a fully implemented and educative fashion.

_________________
Live PC 1: Image Live PC 2: Image

YouTube:
http://youtube.com/@AltComp126/streams
http://youtube.com/@proyectos/streams

http://master.dl.sourceforge.net/projec ... 7z?viasf=1


Last edited by ~ on Tue Jan 05, 2021 12:45 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Tue Jan 05, 2021 12:40 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Why did you include so many things that aren't part of your OS?

Why didn't you include a bootable disk image so we can try your OS inside a virtual machine?


Top
 Profile  
 
 Post subject: Re: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Wed Jan 06, 2021 2:25 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
I wonder why on Sourceforge, it says malware detected. Is this is a trick to download malware? I might test in a VM to see.

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Wed Jan 06, 2021 3:25 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Oh, I forgot to check that. Yes, there are signs of malware in there. Unfortunately, none of the scanners report which file in the archive is triggering the positive response, so it's hard to gauge the risk.


Top
 Profile  
 
 Post subject: Re: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Wed Jan 06, 2021 4:08 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1925
Location: Athens, GA, USA
I find it interesting, but not surprising, that over three years after I pointed out to ~ that he is using Sourceforge incorrectly, he is still making the same mistakes. There seems to be no attempt to use version control at all in this, and no evidence that he actually understands how version control works.

What version control system are you trying to use, ~? There's nothing to indicate you're using any of the common ones such as Git or Subversion.

And no, SourceForge isn't a VCS, it is a hosting service. It natively supports version control systems including (AFAICT) CVS, Subversion, and Git, but you'd still need to use the VCS itself to get the advantages of it.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Last edited by Schol-R-LEA on Thu Jan 07, 2021 10:27 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject: Re: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Wed Jan 06, 2021 4:47 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1925
Location: Athens, GA, USA
Octocontrabass wrote:
Oh, I forgot to check that. Yes, there are signs of malware in there. Unfortunately, none of the scanners report which file in the archive is triggering the positive response, so it's hard to gauge the risk.


According to ClamAV, the file in question is api/hist/hist_2007.html.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Top
 Profile  
 
 Post subject: Re: OS v2020 (file system subsystem and FAT32 LBA)
PostPosted: Wed Jan 06, 2021 10:54 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
Schol-R-LEA wrote:
According to ClamAV, the file in question is api/hist/hist_2007.html.

It's not a false positive, but it's harmless. The virus in question installs itself as a browser plugin and modifies HTML files to use said plugin. Without the virus already installed as a browser plugin, nothing happens.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 22 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group