Author Topic: GlassOS - Lithp Ith Happening  (Read 35013 times)

0 Members and 1 Guest are viewing this topic.

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #15 on: August 30, 2011, 11:52:36 pm »
o_O 

GlaßOS doesn't use the IO as I don't have anything hardware-wise to test it with.  And even if the calc resets, the password will still run at boot
SDCC tastes like air bags - big output, but fast and safe to run.

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: GlassOS
« Reply #16 on: August 30, 2011, 11:56:42 pm »
Ah I see, I guess it might be fine then. It was just a strange glitch in Mirage X.x. I think it was worse under OS 1.12 than 1.14, though, and only happened on my 83+, not my 83+SE (which is quite ironic considering most MOS problems affected 15 MHz calcs at the time).
« Last Edit: August 30, 2011, 11:57:19 pm by DJ_O »

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #17 on: September 03, 2011, 10:18:45 pm »
(cross-post from cemetech)

I am getting the clock code to work in the OS.  So, I have this question:  Does anyone want the date/time to be available at any time?  Such as press [GRAPH] (obviously when the program doesn't use it, like a game or gCAS2) and the date and time will pop-up over the running program, suspending it until you exit out.  You can also change the time in that screen and look at a calendar.  If yes, then how I code this will be different, so input is needed asap!
SDCC tastes like air bags - big output, but fast and safe to run.

Ashbad

  • Guest
Re: GlassOS
« Reply #18 on: September 03, 2011, 10:22:35 pm »
(cross-post from cemetech)

I am getting the clock code to work in the OS.  So, I have this question:  Does anyone want the date/time to be available at any time?  Such as press [GRAPH] (obviously when the program doesn't use it, like a game or gCAS2) and the date and time will pop-up over the running program, suspending it until you exit out.  You can also change the time in that screen and look at a calendar.  If yes, then how I code this will be different, so input is needed asap!

Getting the clock from anywhere would be nice, as long as it would be easy for developers to prevent that from happening in programs.
« Last Edit: September 03, 2011, 10:22:55 pm by Ashbad »

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #19 on: September 03, 2011, 10:23:54 pm »
as easy as
Code: [Select]
isr_clock_int = 0;
SDCC tastes like air bags - big output, but fast and safe to run.

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: GlassOS
« Reply #20 on: September 04, 2011, 11:07:08 pm »
yeah it would be nice IMHO. Kinda like in Starcraft II, when I want to make sure it's not already time to go to work or bed. :P

Also for your OS, please make sure it preserves the time after resets, if possible. I hate how when the 84+ OS RAM clears my clock is reset to midnight. It makes it pretty much useless considering how many RAM clears I get.
« Last Edit: September 04, 2011, 11:07:27 pm by DJ_O »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: GlassOS
« Reply #21 on: September 05, 2011, 12:54:19 am »
The anywhere clock would be nice. I agree with DJ's time saving idea too. That's the reason I gave up using the clock on my TI.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #22 on: September 05, 2011, 01:51:25 am »
Here's the anywhere clock:



Its slow as it has no key repeat yet and wabbitemu on linux is slowwww.....  A few minor bugs with double key press when exiting, but works from any application that doesn't have var_clock_int set to 0
SDCC tastes like air bags - big output, but fast and safe to run.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: GlassOS
« Reply #23 on: September 05, 2011, 01:58:12 am »
Its slow as it has no key repeat yet and wabbitemu on linux is slowwww.....
wxwabbitemu isn't but it doesn't screenshot yet.
/e

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #24 on: September 05, 2011, 12:51:41 pm »
Does wxwabbitemu allow loading of 8xu's?
SDCC tastes like air bags - big output, but fast and safe to run.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: GlassOS
« Reply #25 on: September 05, 2011, 03:20:31 pm »
Does wxwabbitemu allow loading of 8xu's?
It can load everything wabbitemu can. You could also make your 8xu into a rom if you want. I have a tool that can do that I think...Maybe it's not 8xu format to rom though...
/e

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: GlassOS
« Reply #26 on: September 05, 2011, 04:30:58 pm »
Looks nice AHelper. You should probably add a space between the time and the AM/PM thing, though.

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #27 on: September 07, 2011, 05:47:09 pm »
I will change that, along with centering and aligning the set time header. 

Also, sorry about the flickering.  There is a flicker because I am calling ion_copybuffer, then printf twice per second.  printf uses direct LCD drawing, so the flicker will be there.  Why?  The gfx library isn't mature enough to be used to replace the direct drawing.  Isn't printf fun? ;D
SDCC tastes like air bags - big output, but fast and safe to run.

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #28 on: September 13, 2011, 12:11:48 am »
Latest compile stats (as I have nothing special going on other than planning):

GlassOS binary code size equates to 93,909 bytes, covering 8 ROM pages over 4 sectors, when compiled with "SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.0 #6037 (Apr 13 2011) (Linux)".

Code may be smaller when using the unstable branch made to do much more optimization.  Sector bounds are messed up from previous testing.  OS still pending USB testing and fs-based programs (yes, SirC, keep nagging about it).  Direct ASM support is not implemented, SDCC calling methods must be used and can be done.  Full-page app allocation code is untested.  Clock display still not finished.  USB clock setting not implemented.

:-\
SDCC tastes like air bags - big output, but fast and safe to run.

Offline AHelper

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +18/-0
    • View Profile
    • GlaßOS razzl
Re: GlassOS
« Reply #29 on: September 22, 2011, 11:44:40 pm »
GlaßOS is not dead yet!  A pre-beta has been released, and more will come!

Find a bug?  Report it on my bugtracker on sourceforge.  If you don't find it, I won't fix it.  :-P

Current release only contains gFiler and glassKILL.  Next release will add gCAS2
SDCC tastes like air bags - big output, but fast and safe to run.