Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 22:50:47 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 99 100 [101] 102 103 ... 110   Go Down
  Print  
Author Topic: Axe Q&A -  (Read 59487 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Today at 19:39:26
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2055


Total Post Ratings: +256

View Profile
« Reply #1500 on: 25 May, 2012, 18:34:50 »
0

Where can I find the Freq() function?
Also what do the green Key:Sinreq mean? Is that supposed to be an indication as to where i can find Freq() ?
Yes in fact Axe replaced the Sinreg token by a custom Freq token. It means that the Freq function is at the same place as Sinreg.
So what you would have to do is [2nd],[0],[S] then scroll down until you find the Freq/Sinreg token Smiley
Be sure to have launched Axe at least once so that the hook is installed. Else, Freq would appear as Sinreg.

Also, welcome on the forums, you can introduce yourself here
« Last Edit: 25 May, 2012, 18:35:55 by Hayleia » Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
MGOS
LV5 Advanced (Next: 300)
*****
Online Online

Gender: Male
Last Login: Today at 22:28:40
Date Registered: 29 July, 2011, 16:54:53
Location: Germany
Posts: 297


Total Post Ratings: +74

View Profile
« Reply #1501 on: 25 May, 2012, 21:39:02 »
+1

The fastest way to access SinReg/Freq is pressing STAT, Right, Up (I know because I used it in many of my sound programs)
Logged

Click those to see more information Smiley
Current   
Projects: 
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Today at 19:39:26
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2055


Total Post Ratings: +256

View Profile
« Reply #1502 on: 26 May, 2012, 06:55:58 »
0

Thanks for the tip Smiley
The only program in which I used Freq was done through TI-Convert so I just had to type Freq Tongue
But it is easier to go to the catalog when you don't know where a command is (and if you know which token it replaces)

edit: 1024th post I must have had too much radiation for breakfast...
« Last Edit: 26 May, 2012, 06:56:33 by Hayleia » Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 03:56:01
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #1503 on: 26 May, 2012, 06:56:52 »
0

Thanks for the tip Smiley
The only program in which I used Freq was done through TI-Convert so I just had to type Freq Tongue
But it is easier to go to the catalog when you don't know where a command is (and if you know which token it replaces)
That must have taken a long time to scroll, especially if you can't jump to the first letter shocked
Logged




Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Today at 19:39:26
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2055


Total Post Ratings: +256

View Profile
« Reply #1504 on: 26 May, 2012, 07:00:43 »
0

Thanks for the tip Smiley
The only program in which I used Freq was done through TI-Convert so I just had to type Freq Tongue
But it is easier to go to the catalog when you don't know where a command is (and if you know which token it replaces)
That must have taken a long time to scroll, especially if you can't jump to the first letter shocked
Well he knew that Freq started with an S (← lol) so he could have jumped to the S.
But yeah, I tried it and Sinreg is not that close from the first S token Sad
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 22:10:54
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3121


Total Post Ratings: +120

View Profile
« Reply #1505 on: 28 May, 2012, 16:54:33 »
0

beh its super easy to find in the menus.
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
squidgetx
Food.
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:48:06
Date Registered: 30 May, 2010, 19:54:18
Location: eating somewhere
Posts: 1834


Topic starter
Total Post Ratings: +477

View Profile
« Reply #1506 on: 07 June, 2012, 04:11:02 »
0

So when you use Text(Y*256+X) to set the pen cursor, you're storing a 2 byte value somewhere right? Where is that somewhere? And if not, is it still possible to access this value?
Logged

Read my webcomic! | My SoundCloud
Projects:

Check out the demo now!- Current progress: battle engine and stuff
Proud author of: Cuberunner | SpaceDash | The Psyche | XXEdit | AxeSynth | StickNinja | Gravity Guy | Embers:Phoenix | Zombie Gun
Axe: Need help optimizing?
User of Axe | zStart | TokenIDE | CalcGS | MirageOS
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Today at 19:39:26
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2055


Total Post Ratings: +256

View Profile
« Reply #1507 on: 07 June, 2012, 06:55:36 »
0

I think Text(...) sets curRow and curCol so the adress would be 844Bh (and 844Ch next).
Correct me if I am wrong
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 03:56:01
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #1508 on: 07 June, 2012, 20:23:41 »
+1

I think Text(...) sets curRow and curCol so the adress would be 844Bh (and 844Ch next).
Output(NUM) sets curRow and curCol (home screen cursor position). Text(NUM) sets penCol and penRow (notice the order is backwards for whatever reason), which control starting points for drawing commands.

penCol is $86D7 (low byte, X coordinate) and penRow is $86D8 (high byte, Y coordinate).
« Last Edit: 07 June, 2012, 20:28:34 by Deep Thought » Logged




Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Today at 19:39:26
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2055


Total Post Ratings: +256

View Profile
« Reply #1509 on: 10 June, 2012, 14:32:46 »
0

Is it possible to only shift the 8 bottom rows of a buffer ?
Like "Horizontal - " but only for the 8 last rows ?

(At worst, I could copy them somewhere and use some Bitmapping to pseudo-shift them)
Nope, I tried this and it is too slow Big frown
« Last Edit: 10 June, 2012, 14:47:14 by Hayleia » Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
MGOS
LV5 Advanced (Next: 300)
*****
Online Online

Gender: Male
Last Login: Today at 22:28:40
Date Registered: 29 July, 2011, 16:54:53
Location: Germany
Posts: 297


Total Post Ratings: +74

View Profile
« Reply #1510 on: 10 June, 2012, 14:58:26 »
0

I think you'd have to write your own routine for that.
It's quite slow but you could copy the last 8 rows of the buffer to another buffer, shift that and copy it back.

example with L6 and L3 (if you use them for something else you'd have to use other buffers)

1
2
3
4
Copy(L6+672,L3,96)
Horizontal -(L3)    //or Horizontal -r
Copy(L3,L6+672,96)
Logged

Click those to see more information Smiley
Current   
Projects: 
Hayleia
Programming Absol
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Last Login: Today at 19:39:26
Date Registered: 01 June, 2011, 20:12:47
Location: ud-ud ?
Posts: 2055


Total Post Ratings: +256

View Profile
« Reply #1511 on: 10 June, 2012, 16:19:11 »
0

I think you'd have to write your own routine for that.
It's quite slow but you could copy the last 8 rows of the buffer to another buffer, shift that and copy it back.

example with L6 and L3 (if you use them for something else you'd have to use other buffers)

1
2
3
4
Copy(L6+672,L3,96)
Horizontal -(L3)    //or Horizontal -r
Copy(L3,L6+672,96)
Yes, I tried this. The main problem is that I wanted to shift two buffers so it was very slow.
Moreover, what I tried was an optimized version of yours that only needed one copy instead of two, but it was still slow as hell Big frown
But nevermind, I found a way to avoid having to shift two buffers in my program Wink
Logged





Spoiler for what I am according to...:
me: useless
Pokemon Test: an Absol
turiqwalrus: an eggplant
p2: A HUMAN BEING !
Blackpilar and p2: iplantonlyplantwantplanttoplantknowplantifplantyouplantareplantaplantboyplantorplantaplantgirlplant
click here to know where you got your last +1s
Darl181
Vy'o'us pleorsdtu tlh'e gjaemue.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Today at 22:02:23
Date Registered: 10 June, 2010, 00:32:08
Location: {I*9+L₁+1},{I*9+L₁+3}
Posts: 3280


Total Post Ratings: +267

View Profile WWW
« Reply #1512 on: 10 June, 2012, 18:35:07 »
0

I remember getting some runercode to shift the buffers, tho iirc it started from the top instead of the bottom.
I can't find the stuff in the irc logs, I guess I'll check my etherpads and stuff to see if they're in the chatlogs/code.
Logged




 
Spoiler for Stuff:



OS 2.43  Boot 1.02  Hardware Rev. B

OS 1.04.32

OS 3.1.0.392  Boot1 3.0.99  Boot2 3.10.16
Spoiler for Misc:
Quote
You'll understand / It's not a shame / To be always / Losing the game / Burma-Shave
"Dynamic userbars!"
Omnimaga radio
Interactive Omnimaga radio
Our World of Text
Draw on websites
Then blow them up
In-browser flight simulator
Haxball: MMO soccer/air hockey game
  Draw with sand.  Yay?
The Game
You just lost the game
Zombo.com
light post color is #dfefff
dark post color is #cae4ff
quote box color is #6699ff
transparent color is...transparent 0.o
Spoiler for Forum search alternative (bookmarklet):
https://www.squarefree.com/bookmarklets/search.html
javascript:q=""+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt("No%20selected%20text;%20enter%20search%20term.").replace(/\s\+/g,"%252B");if(q!=null)location="http://www.google.com/search?q="+q.replace(/\s+/g,"+")+"+site:"+location.hostname;void(0);
shmibs
bonsai bok choy wiseguy waterboy
Administrator
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Last Login: Today at 20:58:41
Date Registered: 11 June, 2010, 19:36:15
Location: 89B6
Posts: 1850


Total Post Ratings: +238

View Profile
« Reply #1513 on: 15 June, 2012, 15:52:01 »
0

is there some way that only part of a file could be copied over when reading from the archive?
Logged



We're not human, are we?
squidgetx
Food.
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 05:48:06
Date Registered: 30 May, 2010, 19:54:18
Location: eating somewhere
Posts: 1834


Topic starter
Total Post Ratings: +477

View Profile
« Reply #1514 on: 15 June, 2012, 18:04:11 »
0

What do you mean, "copied"? When you GetCalc() a file, all that happens is that a pointer (2 bytes) and a mem bank ID (1 byte) are stored to an area in memory (oYn) to where the archived file resides. No copying is done unless you use the Copy()/conj() command, and there you can choose exactly how many bytes you want to copy.
Logged

Read my webcomic! | My SoundCloud
Projects:

Check out the demo now!- Current progress: battle engine and stuff
Proud author of: Cuberunner | SpaceDash | The Psyche | XXEdit | AxeSynth | StickNinja | Gravity Guy | Embers:Phoenix | Zombie Gun
Axe: Need help optimizing?
User of Axe | zStart | TokenIDE | CalcGS | MirageOS
Pages: 1 ... 99 100 [101] 102 103 ... 110   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.364 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.