Author Topic: KnightOS  (Read 205440 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #390 on: November 09, 2010, 01:13:13 pm »
I do believe that the number of pages was reported incorrectly, so it assumed there were 14 pages instead of 2.  It never bricked his calc, just deleted the tios in order to install kos which didn't install correctly.  Hence an OS-less calc, not a bricked one.
Ah I see, that migth have been bad if it hits the certificate page. X.x

SirCmpwn

  • Guest
Re: KnightOS
« Reply #391 on: November 09, 2010, 04:45:03 pm »
I have no knowledge of how other keyboards work.  USB isn't even on the schedule at the moment.  I need to figure out a hacky way of stealing TI's code without actually stealing it.  Probably by leaving the USB page where it is when you transfer the OS.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #392 on: November 09, 2010, 05:21:18 pm »
Well, I am workin on c2i which uses USB. If I find out, I'll let you know.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #393 on: November 09, 2010, 05:30:03 pm »
Thanks!

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: KnightOS
« Reply #394 on: November 10, 2010, 01:28:31 am »
I have no knowledge of how other keyboards work.
The keys just return different "key codes", so if the US keyboard is implemented all that needs to be done is to change a few numbers. (And probably also add support for the international characters such as Ä)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #395 on: November 10, 2010, 10:46:46 am »
International characters are already included in the character set, so that shouldn't be a huge problem.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: KnightOS
« Reply #396 on: November 10, 2010, 11:21:00 am »
Ooh, how big is the charset?




Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: KnightOS
« Reply #397 on: November 10, 2010, 11:22:12 am »
Are the more obscure characters (such as Å and Ø) also included?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: KnightOS
« Reply #398 on: November 10, 2010, 11:40:06 am »
Probably by leaving the USB page where it is when you transfer the OS.
Considering that the USB page cannot be modified (as it is a boot page), I think this is quite possible :P
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

SirCmpwn

  • Guest
Re: KnightOS
« Reply #399 on: November 10, 2010, 05:03:23 pm »
Are the more obscure characters (such as Å and Ø) also included?
Ooh, how big is the charset?
Full ASCII.
Probably by leaving the USB page where it is when you transfer the OS.
Considering that the USB page cannot be modified (as it is a boot page), I think this is quite possible :P
Great!

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: KnightOS
« Reply #400 on: November 10, 2010, 05:55:51 pm »
Probably by leaving the USB page where it is when you transfer the OS.
Considering that the USB page cannot be modified (as it is a boot page), I think this is quite possible :P
I believe he's saying as opposed to writing your own code, which would be necessary for anything like a flash drive type thing.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #401 on: November 10, 2010, 05:57:31 pm »
No, we are both talking about basic USB access routines.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #402 on: November 11, 2010, 07:49:30 pm »
Just in case anyone is interested:

===KnightKernel Page00 Features===
Hardware instantiation (LCD, memory, etc)
Full multitasking support
 -Execute program
 -Run several threads within a program
 -End threads
 -Libraries
LCD Access
 -AND, OR, and XOR sprite routines
 -SafeCopy
 -LCD fix for later models
 -LCD shift routines (all directions)
 -FastLine
 -ClearBuffer
Keyboard Access
 -GetKey (Gets a key from the keyboard without waiting)
 -WaitKey (Waits for a key to be pressed)
 -FlushKeys (Waits for all keys to be released)
Flash Access
 -UnlockFlash/LockFlash
 -EraseSector
 -WriteFlashByte
Filesystem
 -GetFile
 -LoadLibrary
 -ExecProgram
Sound
 -PlaySound
Memory:
 -AllocateMemory
 -AllocateExecutableMemory
 -FreeMem
Text:
 -PutChar
 -Newline
 -DrawString
 -MeasureString
 -DispHexA
Utility:
 -ShutDown
 -Reboot
 -CPDEBC
 -DEMulA
 -Sleep
 -WaitForever (Infinite loop, for debugging purposes)
 -Quicksort
 -RandomNumber
 -CmpStrings
Constants:
 -OSName
 -OSVersion
 -OSAuthor
 -OSCopyright

All of the above is contained solely within Page00.
The above code is currently 3,350 bytes.
Space remaining on Page00: 13,034 bytes
This takes up roughly 25% of Page00.
« Last Edit: November 11, 2010, 07:49:43 pm by SirCmpwn »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #403 on: November 11, 2010, 07:52:54 pm »
Awesome! I'm amazed it got all of this already. :)

Thanks for sharing. :)

I'm amazed at the size so far, too.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: KnightOS
« Reply #404 on: November 11, 2010, 07:57:55 pm »
Just in case anyone is interested:

===KnightKernel Page00 Features===
Hardware instantiation (LCD, memory, etc)
Full multitasking support
 -Execute program
 -Run several threads within a program
 -End threads
 -Libraries
LCD Access
 -AND, OR, and XOR sprite routines
 -SafeCopy
 -LCD fix for later models
 -LCD shift routines (all directions)
 -FastLine
 -ClearBuffer
Keyboard Access
 -GetKey (Gets a key from the keyboard without waiting)
 -WaitKey (Waits for a key to be pressed)
 -FlushKeys (Waits for all keys to be released)
Flash Access
 -UnlockFlash/LockFlash
 -EraseSector
 -WriteFlashByte
Filesystem
 -GetFile
 -LoadLibrary
 -ExecProgram
Sound
 -PlaySound
Memory:
 -AllocateMemory
 -AllocateExecutableMemory
 -FreeMem
Text:
 -PutChar
 -Newline
 -DrawString
 -MeasureString
 -DispHexA
Utility:
 -ShutDown
 -Reboot
 -CPDEBC
 -DEMulA
 -Sleep
 -WaitForever (Infinite loop, for debugging purposes)
 -Quicksort
 -RandomNumber
 -CmpStrings
Constants:
 -OSName
 -OSVersion
 -OSAuthor
 -OSCopyright

All of the above is contained solely within Page00.
The above code is currently 3,350 bytes.
Space remaining on Page00: 13,034 bytes
This takes up roughly 25% of Page00.

Awesome! 25% of Page00, that's really short.

Keep working, we're anxious