• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 683518 times)

0 Members and 5 Guests are viewing this topic.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #2760 on: November 23, 2011, 03:58:25 pm »
No, that's why L6 should be the one you do the most drawing to.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Features Wishlist
« Reply #2761 on: November 23, 2011, 05:18:56 pm »
I see :P
I'm not a nerd but I pretend:

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Features Wishlist
« Reply #2762 on: November 24, 2011, 11:24:05 am »
Hm, well I guess worst-case scenario one could Exch() tho that would add to the size..
Vy'o'us pleorsdti thl'e gjaemue

Offline dunrite321

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 15
  • Rating: +11/-0
    • View Profile
Re: Features Wishlist
« Reply #2763 on: November 26, 2011, 02:16:22 pm »
I don't know if anybody's posted this before, but since I don't have time to read through 185 pages of this thread, could you make black text a single command on 4-level grayscale?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Features Wishlist
« Reply #2764 on: November 26, 2011, 02:54:47 pm »
That sounds like a good idea...Text(...)rr maybe?
Vy'o'us pleorsdti thl'e gjaemue

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2765 on: November 26, 2011, 06:06:48 pm »
Drawing text to the back buffer has been asked for multiple times, and has been rejected multiple times. Although it's a great idea, Axe uses the OS text drawing routine, which is only capable of drawing text either directly to the screen or to the front buffer.
« Last Edit: November 26, 2011, 06:07:47 pm by Runer112 »

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2766 on: November 26, 2011, 09:58:47 pm »
Perhaps text()rr could print to L6 and then copy the printed portion to L3
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2767 on: November 27, 2011, 05:36:43 pm »
8.8 sin() and cos()
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #2768 on: November 27, 2011, 11:32:50 pm »
Multiply by 2 and it's 8.8 :P
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2769 on: November 28, 2011, 12:16:14 am »
Multiply by 2 and it's 8.8 :P
Multiply what by two?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

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: Features Wishlist
« Reply #2770 on: November 28, 2011, 10:40:23 am »
Perhaps text()rr could print to L6 and then copy the printed portion to L3
That would destroy part of L6, and it would be pretty much the same thing to do it in Axe code. I personally think an Axe subroutine would actually be better for that job since you know how long the text is (but a native Axe routine wouldn't).
Multiply by 2 and it's 8.8 :P
Multiply what by two?
The output of sin and cos are numbers between -128 and 127. Multiply that by two (it takes just one byte to do that) and they're between -256 to 254, which is just -1 to (almost) 1 in 8.8 fixed point.

EDIT: Was there ever even a Text()r command? ???
« Last Edit: November 28, 2011, 10:44:16 am by Deep Thought »




Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Features Wishlist
« Reply #2771 on: December 02, 2011, 08:44:47 pm »
Ztrumpet brought up the point that it would be useful if instead of refusing to jump to an archived program's error, it uses zStart to bring up the editor instead.

The offset to jump to when the error occurs is stored at an OS address correct? If that is the case, then I can add an api entry point to edit a program and you can call it if the error occurred in the archive. Since I end up opening a program editor anyways, the goto function should work like normal.

If you want to do this, I'll also have to know how you are opening the program editor. (I've never looked very far into it)

Edit:
   That was easy
« Last Edit: December 02, 2011, 08:50:17 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #2772 on: December 02, 2011, 10:17:10 pm »
I'd love to add that but my own error scrolling isn't working yet and I feel I should at least fix that before adding a zstart entry call.  Maybe you can help me, I don't know what I'm doing wrong because I'm still not exactly sure how the OS handles edit buffers entirely.  It appears to work when instant-scrolling in small programs, but it RAM clears sometimes when scrolling to a spot greater than 8kb into the code.  Its somewhat random and not completely consistent.  How did you do it in zstart?  Do you see anything wrong?  This is the code I'm using:

Spoiler For Spoiler:

EditorExit:
   ld   a,(v_PrgmStartPage)
   or   a
   jp   nz,SystemExit
   ld   hl,v_InputName+1
   ld   de,progToEdit
   ld   bc,8
   ldir
   xor   a
   ld   (de),a
   ld   a,kPrgmEd
   B_CALL(_NewContext)
   ld   hl,(v_PrgmPtr)
   ld   bc,(v_PrgmStart)
   or   a
   sbc   hl,bc
   ld   b,h
   ld   c,l
   ld   hl,(editTail)
   add   hl,bc
   ld   (editTail),hl
   ld   hl,(editTop)
   add   hl,bc
   ld   (editCursor),hl
   ld   hl,0
   push   hl
EditorLoop:            ;Check if at beginning of program
   ld   de,(editTop)
   or   a
   sbc   hl,de
   jr   z,EditorFound
   B_CALL(_BufLeft)
   ld   hl,(editCursor)
   ld   a,(hl)
   cp   tEnter
   jr   z,EditorFound
   pop   hl
   inc   hl
   push   hl
   jr   EditorLoop
EditorFound:
   B_CALL(_BufRight)
   B_CALL(_DispEOW)
   pop   hl
   ld   a,h
   or   l
   jr   z,EditorMon
EditorScroll:
   dec   hl
   ld   a,h
   or   l
   jr   z,EditorMon
   push   hl
   B_CALL(_CursorRight)
   pop   hl
   jr   EditorScroll
EditorMon:
   res   2,(iy+50)
   res   7,(iy+20)
   res   3,(iy+5)
   B_JUMP(_Mon)
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Features Wishlist
« Reply #2773 on: December 03, 2011, 03:38:34 pm »
A little disassembling and this is what I came up with:

Code: [Select]
ld hl, offsetToError
ld (errOffset), hl

ld hl, op1
ld de, progCurrent-1
ld bc, 9
ldir
ld a, 3
ld (menuCurrent), a
ld a, 1
ld ($85DF), a
ld a, kEnter
bcall(_pullDownChk)
bcall(_clrTR)
bcall(_newContext0)
bcall(_gotoErr)
bcall(_mon)

This method essentially fakes a person going into the program menu and editing a program. You can leave out the bcall(_gotoError) if you aren't going to initialize (errOffset), but then it won't scroll.

I believe this will work from an app, but I've only tested it from a keyhook so far.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: Features Wishlist
« Reply #2774 on: December 03, 2011, 04:04:06 pm »
how does doors cs 7.1 do it? That works very well and jumps instantly to the error.