• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 704482 times)

0 Members and 1 Guest 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 #1440 on: October 14, 2010, 01:28:22 am »
I do not know if it's already been asked, but it would be nice to compile a program Axe Parser in ASM/Ion TI-83 (from the calculator or computer).
Is it possible?
I've been thinking of writing a program to do this, I'll get back to you on it later.
That might be cool, as there are still 82 STATS/83 users (both the same calc) around in Europe.

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 #1441 on: October 14, 2010, 06:46:54 pm »
New thing.  ERR: UNKNOWN ERR  Error code: 4535555  has to do with garbage collecting.  Maybe in 1.0 it could know what the code is and garbage collect.
On second thought, it seemed to miss it or something... I had tried it ~20 times and had given up on it.  I tried again just now and it asked.  Maybe have it garbage collect on that error.
Vy'o'us pleorsdti thl'e gjaemue

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Features Wishlist
« Reply #1442 on: October 23, 2010, 09:38:13 pm »
is there a way you could let getKey() take a variable as an argument? so getKey(A) would be valid. it'd help if you wanted to let the user configure his controls.


ASHBAD_ALVIN

  • Guest
Re: Features Wishlist
« Reply #1443 on: October 23, 2010, 09:39:14 pm »
is there a way you could let getKey() take a variable as an argument? so getKey(A) would be valid. it'd help if you wanted to let the user configure his controls.

I'd say maybe putting it in parens so that it won't be confused for key number values.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1444 on: October 23, 2010, 10:15:06 pm »
is there a way you could let getKey() take a variable as an argument? so getKey(A) would be valid. it'd help if you wanted to let the user configure his controls.

I guess such a routine could exist, but because of how the keyboard hardware works, it would be fairly bulky and slow. It's probably better to just stick with preassigned keys.



EDIT: So as not to double post, I'll add the following as an edit. It is, however, entirely unrelated.

I guess this request is sort of a form of look-ahead parsing, which is generally difficult to implement, but I believe this is a very basic form that has already been similarly implemented with pre-calculation involving constants. I was wondering if statements such as A+{L1+4}r, which is currently parsed as:
Code: [Select]
ld hl,(A)
push hl
ld hl,(L?+4)
pop de
add hl,de
Could be optimized to be like normal variable addition:
Code: [Select]
ld hl,(A)
ld de,(L?+4)
add hl,de
The same goes for things like subtraction and any other things I may be forgetting that could be optimized this way.


EDIT 2: Oh, by the way, you misspelled "routines" in the fourth line of the Commands.inc file :P



EDIT 3: Man, this post is getting really big! But I promise this next feature request will be simple, I'll even give you the code for it!

Code: (Hexadecimal display (?Rect or ?Polar seems like the best choice)) [Select]
p_DispHex:
.db __DispHexEnd-$-1
ld c,h
call __DispHexByte
ld c,l
__DispHexByte:
ld a,c
rra
rra
rra
rra
call __DispHexNib
ld a,c
__DispHexNib:
or F0h
daa
add a,A0h
adc a,40h
B_CALL(_PutC)
ret
__DispHexEnd:

p_TextHex:
.db __TextHexEnd-$-1
ld c,h
call __TextHexByte
ld c,l
__TextHexByte:
ld a,c
rra
rra
rra
rra
call __TextHexNib
ld a,c
__TextHexNib:
or F0h
daa
add a,A0h
adc a,40h
B_CALL(_VPutMap)
ret
__TextHexEnd:



EDIT 4: Oh, and you haven't forgotten about this, have you? Haha sorry for swamping you. ;)
« Last Edit: October 24, 2010, 08:28:27 am by Runer112 »

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 #1445 on: October 24, 2010, 09:42:51 am »
Hex display, definitely :D Either ▸Rect or ▸Polar would work.

And this:

Not that important, but a length()r would come in handy for me.
Would that search backwards from a pointer?  I think that could be useful. :)




Offline BlackRabbit

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 8
  • Rating: +0/-0
    • View Profile
Re: Features Wishlist
« Reply #1446 on: October 24, 2010, 12:01:08 pm »
Mabe you could make it so you can insert program icons. (Like in Doors or Mirage.)

Code: [Select]
.PROGRAM Description
.[16*16 hex icon]
[i]program code[/i]

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1447 on: October 24, 2010, 12:13:23 pm »
Hex display, definitely :D Either ▸Rect or ▸Polar would work.

And this:

Not that important, but a length()r would come in handy for me.
Would that search backwards from a pointer?  I think that could be useful. :)

If you urgently need a routine for that, you could do it with the following assembly:
Code: [Select]
Asm(AF474FEDB921FFFFED42)Just put the pointer value right before that.
« Last Edit: October 24, 2010, 12:13:31 pm by Runer112 »

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 #1448 on: October 24, 2010, 04:27:13 pm »
If you urgently need a routine for that, you could do it with the following assembly:
Code: [Select]
Asm(AF474FEDB921FFFFED42)Just put the pointer value right before that.

That's actually exactly what I'm doing right now (even the hex string, I'm pretty sure). I just thought it might be a feature that someone might need in the future, and length( doesn't take an r yet anyway.




Offline BlackRabbit

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 8
  • Rating: +0/-0
    • View Profile
Re: Features Wishlist
« Reply #1449 on: October 24, 2010, 09:36:25 pm »
Thanks for the help.  :)

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Features Wishlist
« Reply #1450 on: October 25, 2010, 10:08:25 am »
Setting the rand seed (think K->rand in BASIC).

(Also, on another rand note, when I use the included Guess the Number program from Mirage, the number is always either 4 or 6. Another reason for this command.)
See you, space cowboy...

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1451 on: October 25, 2010, 10:20:50 am »
AFAIK the Axe rand seed is two bytes somewhere in RAM. Maybe using °rand could get us that address? at which point you could use something like S->{°rand}r.
« Last Edit: October 25, 2010, 10:21:06 am by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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 #1452 on: October 25, 2010, 10:35:10 am »
I think it's {L1-2}r, the two bytes after A-Z and theta vars.




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #1453 on: October 25, 2010, 10:48:31 am »
Nice to know :)
However, just in case he'll decide to change where it is ;)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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 #1454 on: October 25, 2010, 05:15:05 pm »
Mhmm interesting. Personally for a game I would kinda be relunctant about setting the seed, though, because then people can memorize random number patterns and abuse luck manipulation in games :P