Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xeda112358

Pages: 1 ... 75 76 [77] 78 79 ... 317
1141
Instead of using 27 pixels for a number like 999, you can use only 10 by storing it as binary. Then again, if it is 16-bit color and pxl-Test( can return the precise value, then you will only need one pixel.

I have made BASIC programs that convert pictures to lists or lists to pictures, too :D I remember I used a picture to store all of the game data for an RPG once and the save screen was kind  of cool because the user could watch their data being modified ^_^

1142
Introduce Yourself! / Re: This is Samos!
« on: February 16, 2013, 07:41:57 am »
I saw that you are in TI-Concours, so I recognised your name o.o Welcome to Omnimaga! By the way, your English seems to be pretty good o.o

1143
The Axe Parser Project / Re: Assembly Programmers - Help Axe Optimize!
« on: February 16, 2013, 07:27:26 am »
You do have an outdated version of Axe, I already added that optimizaion in 1.2.0. :P
Darn, I actually do have 1.2.1 in a different folder, I completely forgot about that .__. I am glad that I got something right, though :D

I'm not so sure that would work, because there's a possible case where you could be running code from an app and finding the Nth string in a large appvar in RAM, for example (which could be more than 16KB in size).
I was worried about that, but I figured that it would be pretty rare. It would definitely be the only scenario that it would fail, too. .__.

1144
The Axe Parser Project / Re: Assembly Programmers - Help Axe Optimize!
« on: February 15, 2013, 07:02:51 pm »
I am not sure if I had an outdated source (1.1.2) but I saw this code and a one -byte optimisation:
Code: [Select]
p_NthStr:
.db __NthStrEnd-$+1
pop bc
pop de
push bc
ex de,hl
__NthStrLoop:
ld a,d
or e
ret z
xor a
ld b,h
cpir
dec de
jr __NthStrLoop
__NthStrEnd:
It took me a second to figure out what you were doing with 'ld b,h', but when I did, I saw that you could just move it outside the loop to save 4 t-states each loop. But then I realised that BC is already large enough since it holds the return address, so you can actually just remove it altogether.
Code: [Select]
p_NthStr:
.db __NthStrEnd-$+1
pop bc
pop de
push bc
ex de,hl
__NthStrLoop:
ld a,d
or e
ret z
xor a
cpir
dec de
jr __NthStrLoop
__NthStrEnd:

I hope that actually works!

1145
TI Z80 / Re: ORG: online Z80 IDE and assembler
« on: February 14, 2013, 06:21:31 am »
That's good news! It wasn't too big of a deal for me since I don't use many equates, but I know how useful include files are.

1146
Grammer / Re: Grammer Feature Requests
« on: February 13, 2013, 08:47:27 pm »
Yeah, I will need to rewrite the graphics commands, but so long as it can run z80 code, the rest shouldn't be tough to convert.

1147
Grammer / Re: Grammer Feature Requests
« on: February 13, 2013, 01:14:09 pm »
My plan for an 84+C version is to maintain backwards compatibility. This way programs can be identical and work the same. The main difference will be color and how big pixels are.

1148
Miscellaneous / Re: Poetry
« on: February 13, 2013, 12:48:25 pm »
Hehe, "welcome to the asylum" sounds like an Emilie Autumn thing XD

1149
Miscellaneous / Re: Poetry
« on: February 13, 2013, 07:40:44 am »
Homer-16, that is pretty awesome o.o

1150
Grammer / Re: What's wrong with this code ?
« on: February 12, 2013, 07:41:46 pm »
I still would like to at some point, but I don't know when I would do that .__. Also, welcome blg_flg :D The code wasn't that bad. At least it worked when the bugs were fixed :)

1151
TI Z80 / Re: Simulated Keypresses
« on: February 12, 2013, 07:31:49 pm »
Yeah, I am not exactly sure what it is that I made. I know Runer said it was a macro and an IRL friend said it was like a macro that you would use in excel.

@tr1p1ea: I was thinking about that, but the OS doesn't let these hooks work during program execution unless you are at a Pause, Input, Menu( or something similar :[ It would be pretty awesome if it did, though.

1152
Humour and Jokes / Re: Some people just get stuck
« on: February 12, 2013, 01:28:39 pm »
Yes, stupefying is a word in English :D It is a pretty cool idea and very useful o.o

1153
Humour and Jokes / Re: Some people just get stuck
« on: February 12, 2013, 12:58:31 pm »
So according to them, gravity is nonexistent and objects fall to the earth because the earth is perpetually accelerating upward.
Hmm, disproof:

1] Assume gravity does not exist and that in fact, the earth is perpetually accelerating upward.
2] Ignore the fact that 'up' is defined in relation to the direction of gravity. Assume that 'up' simply means that the earth is accelerating in one direction.
3] Select two objects.
4] Drop object one from a reasonable height, followed by object two.
5] Record the velocity of both objects at any given moment.
6] Note that the velocities are different.

If the Earth was in fact accelerating toward the objects and the objects were in fact not moving relative to the universe, there velocity relative to the Earth would be identical.

It is too bad that it is easily disproven :[ The consequences are mindblowing:
1] Observe the atmosphere.
2] Observe that generally, the atmosphere remains above the Earth.
3] Ask: How does the atmosphere remain above the Earth?
4] By the assumption, there is no gravity and the Earth is moving toward the atmosphere.
5] This means that the Earth is pushing the atmosphere.
6] If the atmosphere is finite, the Earth will push through the atmosphere.
7] Therefore, the atmosphere is infinite.
8] Celestial objects are thus part of the atmosphere and must not be more dense than the atmosphere.
9] What happens to the sun when we no longer see it? o__o

1154
Grammer / Re: What's wrong with this code ?
« on: February 11, 2013, 06:30:13 pm »
Yes, you should bring him over ! Even if he only speaks french, it will make me have to get better at speaking/reading french ^^'

Also, I made another version >.>

1155
TI Z80 / Re: [AXE] input routine.
« on: February 11, 2013, 06:02:20 pm »
Nice, that seems much better already!

Pages: 1 ... 75 76 [77] 78 79 ... 317