Author Topic: KnightOS  (Read 186347 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #840 on: March 02, 2011, 01:10:52 am »
Two programs cannot register the same extension.  Any program can use any file, but if Program B registers .txt after Program A, it will overwrite the registry.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: KnightOS
« Reply #841 on: March 02, 2011, 01:36:04 am »
So how this works is if I try to open a .txt file, the kernel will then check the registry to see which program is registered to open .txt files. And if there is no program available will it give me options to open it?

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: KnightOS
« Reply #842 on: March 02, 2011, 01:45:09 am »
I think it would be like that, from his post, or throw an error "No Program Set to Open This"

SirCmpwn

  • Guest
Re: KnightOS
« Reply #843 on: March 02, 2011, 09:01:40 am »
You open the file, and it checks the registry.  If it is registered, KnightOS runs that program with the name of the file passed in the arguments.  If not, it lets the user browse to a program to open it with, or choose from common programs.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #844 on: March 02, 2011, 10:36:17 pm »
How many letters to an extension? only 3?

SirCmpwn

  • Guest
Re: KnightOS
« Reply #845 on: March 02, 2011, 10:36:55 pm »
As many as you like.  If you want to fill all of ROM with your filename, you can go for it.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #846 on: March 02, 2011, 10:37:43 pm »
As many as you like.  If you want to fill all of ROM with your filename, you can go for it.
Lol, so can it go across sector boundaries, or is that just an issue with TIOS?

SirCmpwn

  • Guest
Re: KnightOS
« Reply #847 on: March 02, 2011, 10:39:32 pm »
Yes, you can cross sector boundaries.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #848 on: March 02, 2011, 10:40:16 pm »
So I'm guessing you aren't going to think about using magic bits?
/e

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #849 on: March 02, 2011, 10:40:40 pm »
Yes, you can cross sector boundaries.
Sweet! Okay, I'm out of questions atm.  I'm still thinking about counting down the days until we get sircmpwn's awesome projects every day!

SirCmpwn

  • Guest
Re: KnightOS
« Reply #850 on: March 02, 2011, 10:40:50 pm »
And that is...?
EDIT: @Eeems
« Last Edit: March 02, 2011, 10:41:21 pm by SirCmpwn »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #851 on: March 02, 2011, 10:43:19 pm »
/e

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #852 on: March 02, 2011, 10:43:54 pm »
Oh, so sorta like what DCS uses.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #853 on: March 02, 2011, 10:44:21 pm »
Ah, magic numbers.  I suspectd that's what you were talking about.  And magic numbers hasn't been a good system for years and years.  And it's totally incompatible with every other OS.  I want cross-compatability with Linux, Windows, Mac, etc.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: KnightOS
« Reply #854 on: March 02, 2011, 10:46:37 pm »
Ah, magic numbers.  I suspectd that's what you were talking about.  And magic numbers hasn't been a good system for years and years.  And it's totally incompatible with every other OS.  I want cross-compatability with Linux, Windows, Mac, etc.
Well most operating systems that use it also use extensions for cross compatibility, but it would be helpful for files without extensions. But anywho, it's your choice :)
/e