Author Topic: Command line  (Read 17040 times)

0 Members and 1 Guest are viewing this topic.

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: Command line
« Reply #15 on: January 06, 2011, 02:57:58 am »
I'm trying to replicate many of the features of a GUI with the command line interface. I even have Microsoft's Bliss in the background, courtesy of Runer:P

Of course, my command line is infinitely more awesome because it can lose The Game.
« Last Edit: January 06, 2011, 03:40:16 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Command line
« Reply #16 on: January 06, 2011, 09:57:33 am »
SirCmpwn, thanks for sharing the subroutine SW :D

Nice job Qwerty, I just don't think the space between letters is that necessary, can you later have a command to choose whether we want it or not? I'd be glad :)

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: Command line
« Reply #17 on: January 06, 2011, 01:44:48 pm »
The space between the letters is there because there's a bug in the text routine where the space character will erase part of the preceding character unless the spacing is that wide. I'm currently tracking it down.

Oh, I forgot to mention that this is running in 6MHz mode right now.


EDIT: The bug has mysteriously vanished after changing the character set.
« Last Edit: January 06, 2011, 03:38:43 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: Command line
« Reply #18 on: January 06, 2011, 05:22:00 pm »
SirCmpwn, thanks for sharing the subroutine SW :D

Certainly.

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: Command line
« Reply #19 on: January 08, 2011, 10:44:54 pm »
It's not as impressive as Terminal, but I'm working on it.


∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: Command line
« Reply #20 on: January 08, 2011, 10:46:07 pm »
I like it!  It provides an almost GUI-esque interface, very nice!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Command line
« Reply #21 on: January 08, 2011, 10:49:08 pm »
It's a lot more graphical then Terminal :p make it allow other programs to use it's graphics routines, like the mouse and you will start being able to compete with Terminal more :p
/e

SirCmpwn

  • Guest
Re: Command line
« Reply #22 on: January 08, 2011, 10:50:36 pm »
Terminal is functional, not pretty.  Yours is both.  I'm excited to see where this goes :)

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: Command line
« Reply #23 on: January 08, 2011, 10:59:19 pm »
It's a lot more graphical then Terminal :p make it allow other programs to use it's graphics routines, like the mouse and you will start being able to compete with Terminal more :p

The problem with that is that I'm absolutely destroying SafeRAM to handle all of the graphics stuff. I'm already using all six lists to handle everything. Programs would only have access to the upper half of each area and even then only with certain routines.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: Command line
« Reply #24 on: January 08, 2011, 11:00:43 pm »
That could present an issue, but how I handle similar problems in Terminal is by starting a fresh Terminal unless the program specifies that it didn't do anything mean.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Command line
« Reply #25 on: January 08, 2011, 11:30:39 pm »
This looks neat.  Good luck on it. :)

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: Command line
« Reply #26 on: January 09, 2011, 08:55:43 pm »
Looks nice Qwerty! :D

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: Command line
« Reply #27 on: January 12, 2011, 12:18:29 pm »
After several dozen RAM clears, discovering how to draw The Matrix on-calc (followed by a RAM clear), destroying a few hooks on my calculator, and generally messing things up, the parser is finally understanding the control character, determining the correct number of arguments, and computing the hash of the input commands, which means that I just have to get it to read the command lookup table properly. I've also fixed a few bugs in the input routine which would cause the calculator to crash if you used backspace more than four times. ;D
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Command line
« Reply #28 on: January 12, 2011, 12:23:34 pm »
After several dozen RAM clears, discovering how to draw The Matrix on-calc (followed by a RAM clear), destroying a few hooks on my calculator, and generally messing things up, the parser is finally understanding the control character, determining the correct number of arguments, and computing the hash of the input commands, which means that I just have to get it to read the command lookup table properly. I've also fixed a few bugs in the input routine which would cause the calculator to crash if you used backspace more than four times. ;D

Nice work, the reason why I would never attempt such a project is getting the input string, so nice job!

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: Command line
« Reply #29 on: January 12, 2011, 12:25:15 pm »
It's kind of a pain to get the input string, because the Axe Input command won't work for this program. That's half my code right there.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ