Author Topic: KnightOS  (Read 188555 times)

0 Members and 3 Guests are viewing this topic.

SirCmpwn

  • Guest
Re: KnightOS
« Reply #210 on: September 09, 2010, 11:58:10 pm »
Yes, but I'm concerned about timing issues with the next interrupt to be normally fired.  Does di/ei reset the timers?  What if it exists the interrupt just to come back in after a couple cycles?

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: KnightOS
« Reply #211 on: September 10, 2010, 07:15:20 am »
If i recall it properly DI and EI do not reset the timers, it does affect R and I though. Perhaps doing RETI is better then HALT?
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

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 #212 on: September 10, 2010, 11:12:03 am »
Hey, now we can actually have an excuse to use the hacky conditional RST 38h :D

JR cond,$+1

This jumps to the second byte of the JR instruction if condition is true, and this second byte is $FF (the rst 38h opcode)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

SirCmpwn

  • Guest
Re: KnightOS
« Reply #213 on: September 10, 2010, 04:58:42 pm »
Matthias, RETI is the same as RET, it just takes longer.
Calc84, awesome.
« Last Edit: September 10, 2010, 05:00:45 pm by SirCmpwn »

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: KnightOS
« Reply #214 on: September 10, 2010, 06:15:09 pm »
Matthias, RETI is the same as RET, it just takes longer.
Calc84, awesome.
My bad, I was doing this from memory and I am still a learning asm programmer...
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: KnightOS
« Reply #215 on: September 11, 2010, 02:06:10 am »
RETI is equivalent to atomic NOP RET on the TI-calculators. It matters little on our hardware, but it's definitely not HALT. ;-)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #216 on: September 23, 2010, 08:42:36 am »
Update
I added directory support to the filesystem last knight, so the OS now has full read support for the filesystem.  I will be adding libraries today, and write support next.
« Last Edit: September 23, 2010, 08:45:47 am by SirCmpwn »

Offline Broseph Radson

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 295
  • Rating: +20/-1
  • Its 0x1A4 somewhere
    • View Profile
Re: KnightOS
« Reply #217 on: September 23, 2010, 09:00:56 am »
Sweet!

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: KnightOS
« Reply #218 on: September 23, 2010, 09:11:07 am »
U can haz kudos. What kind of libraries do you plan to implement? I mean, Xlib-like, math libs, stdlib-like, just plain kernel function wrappers,...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #219 on: September 23, 2010, 09:11:44 am »
Nice to hear! I assume since stuff is stored to archive that folders and their content is preserved after crashes, right?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #220 on: September 23, 2010, 04:44:54 pm »
Yes.  The calculator actually clears all RAM on start-up.
Also, mapar, I plan on implementing math, GUI, graphics, and other libraries.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #221 on: September 23, 2010, 05:52:26 pm »
Cool to hear :D. I hated how in Mirage I lost my folder contents every reset x.x. I love the Nspire-style approach of your shell in terms of program storage
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #222 on: September 23, 2010, 05:53:59 pm »
*OS
Definitely not a shell :P
Thanks for the support!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: KnightOS
« Reply #223 on: September 23, 2010, 06:12:04 pm »
woops yeah I meant OS, not shell. My bad :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

SirCmpwn

  • Guest
Re: KnightOS
« Reply #224 on: September 23, 2010, 06:13:22 pm »
Np :)