• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 704684 times)

0 Members and 3 Guests 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: Features Wishlist
« Reply #375 on: April 06, 2010, 04:39:37 am »
oh ok, that's better then. Thanks for explaining

I will most likely have to code more soon to not forget half of Axe commands again in a month x.x

Btw you might want to update the first topic post with the recent changes in features

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #376 on: April 06, 2010, 05:16:42 am »
perhaps it could be usefull to be able to call the register values from the processor? like hl?

the following code would return the value of ans:
Code: [Select]
PwrReg HLor
Code: [Select]
ref(HL)or
Code: [Select]
Get(HL)
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #377 on: April 06, 2010, 07:15:26 am »
perhaps it could be usefull to be able to call the register values from the processor? like hl?

the following code would return the value of ans:
Code: [Select]
PwrReg HLor
Code: [Select]
ref(HL)or
Code: [Select]
Get(HL)
But HL is already, by default, "Ans". The other registers hold nothing useful, unless you use them with inline Asm (in which case you would just use the inline Asm to access the registers anyway)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #378 on: April 06, 2010, 09:00:33 am »
U're (partially) right. On second thought this idea is pretty unusefull, but I thought that Axe perhaps could get the functionality of ASM on ur calc. Just like in C: u can use built in functions, but u can also use more 'native' commands.
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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: Features Wishlist
« Reply #379 on: April 06, 2010, 01:54:59 pm »
It's better to not make Axe look too complicated by adding low level commands like this, though, or at least list those commands in a special area stating you need ASM knowledge to use them, not with the other commands, else people will look at the first commands in the doc and get the impression the language is not much easier than ASM as soon as they run into such command in the list.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #380 on: April 06, 2010, 01:56:59 pm »
It's not really as complex as it looks.
It's just inString in essence.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Features Wishlist
« Reply #381 on: April 06, 2010, 02:28:56 pm »
Aaah ok, just making sure. Cuz Axe in the first place is meant to be kinda easy to learn and look user-friendly at first glance

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #382 on: April 06, 2010, 02:34:39 pm »
OK, perhaps reading registers is not one of my best ideas x.x
The more experienced programmers just should use inline ASM, thats a much better idea then I guess
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #383 on: April 06, 2010, 10:37:31 pm »
I dunno if I said it already but...

Pt-On(X,Y,PIC,<dimension1>,<dimension2>)

If <dimension1> and <dimension2> aren't found, automatically display the sprite in 8x8.

Also,

DS<(TYPE, X1, Y1, X2, Y2)

Begin drawing a shape of a certain TYPE (xLib commands 0-10) at (X1,Y1) and stop at (X2,Y2).
« Last Edit: April 06, 2010, 10:44:54 pm by Raylin »
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #384 on: April 06, 2010, 10:39:38 pm »
I dunno if I said it already but...

Pt-On(X,Y,PIC,<dimension1>,<dimension2>)

If <dimension1> and <dimension2> aren't found, automatically display the sprite in 8x8.

Also,

Pen(TYPE, X1, Y1, X2, Y2)

Begin drawing a shape of a certain TYPE (xLib commands 0-10) at (X1,Y1) and stop at (X2,Y2).
The Pen token is unusable in programs, FYI
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #385 on: April 06, 2010, 10:42:17 pm »
Oh.
Oops.

I need to get more sleep.
EDITED.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Will_W

  • LV3 Member (Next: 100)
  • ***
  • Posts: 54
  • Rating: +1/-1
    • View Profile
Re: Features Wishlist
« Reply #386 on: April 06, 2010, 10:42:47 pm »
It's not a token at all.
ex de,hl
ld (hl),e
inc hl
ld (hl),d
ld a,(hl)

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Features Wishlist
« Reply #387 on: April 06, 2010, 10:45:40 pm »
Changed the command to DS<().

It works, too.
:D

Draw Shape! :)
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Features Wishlist
« Reply #388 on: April 06, 2010, 10:49:43 pm »
Remember for sprite width, they would need to be multiples of 8, though.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #389 on: April 06, 2010, 10:59:34 pm »
I think Quigibo is already planning to use IS>() and DS<() for increasing and decreasing with a specified "wrap" value
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman