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 - Sorunome

Pages: 1 2 3 [4] 5 6 ... 591
46
Hall MrApplecraft, wilkommen auf Omnimaga!

Wenn ichs richtig verstanden habe suchst du eine allgemeine Methode wie du einen bestimmten text aus der Liste anzeigen kannst, trotz der verschiedenen Längen, ist das richtig? Ich würde es so machen dass ich ne liste an pointern zu den texten erstelle...

Code: [Select]
Texte:
  .dw Texteins1,Texteins2,Texteins3,Texteins4, [...]
Texteins1:
 .db " Text",0
Texteins2:
 .db "Text2",0
Texteins3:
 .db "Text3",0
Texteins4:
 .db "Text4",0
Texteins5:
 .db "Text5",0
Texteins6:
 .db "Text6",0
Texteins7:
 .db "Text7",0
Texteins8:
 .db "Text8",0
Texteins9:
 .db "Text9",0
Texteins10:
 .db "Text10",0
Dann kannst du, wenn in 'a' jetzt die zahl ist, startend bei null, also 0 = Texteins1, 1 = Texteins2 usw. den pointer zum text so kriegen:
Code: [Select]
; erstmal tun wir den index von a in hl und multiplizieren ihn dann mit zwei, da ein pointer zwei byte groß ist
ld h,0
ld l,a
add hl,hl

; jetzt addieren wir den texte offset hinzu
ld de,Texte
add hl,de

; nun ist in hl ein pointer zum pointer vom text, also tun wir ihn in de und dann in hl per 'ex de,hl'
ld e,(hl)
inc hl
ld d,(hl)
ex de,hl

; jetzt ist der pointer zum text in hl
Ich kenne mich nicht so sehr mit dem TIOS aus aber nach wikiti sollte bcall(_VPutS) gerade den pointer in hl wollen, also genau das was diese routine dir gibt.
Ich hoffe ich konnte dir helfen, zögere nicht zu fragen wenn du etwas nicht verstehst ^.^


EDIT:
ich hab grad das hier in deinem code gesehen:
Code: [Select]
call _eraseeol
 ret
Das könnte optimiert werden zu
Code: [Select]
jp _eraseeol
Das ist ein byte kleiner und 17cc schneller! Falls das label dicht genug dran ist kannst du natürlich auch jr anstelle von jp verenden.
Das ist die sogenannte "tail-end optimization", wenn du einen call direkt gefolgt von ret hast ists das selbe als ob du einfach zu dem label hinspringst.


EDIT2:
ich habe gerade
Code: [Select]
    cp 0          ; Don't decrement B if it's at its minimum value.gesehen. "or a" ist ein byte kleiner als "cp 0" und macht immer genau das selbe ^.^

47
News / Re: Reuben Quest: Lost Between Times
« on: January 02, 2017, 06:55:08 am »
I haven't played an awful lot, but it's fun so far!
I have one major bug to report, though: Whenever I press the down arrow when I'm charged for an attack, I get an error (Err:Link I believe) and it causes my calc to freeze and I have to pull a battery.
This is.....odd.
Which calculator?
Did you have an item selected? Which one? Was it a bottle? What was inside the bottle?

48
The Axe Parser Project / Re: Getting Started with Axe Parser
« on: January 01, 2017, 12:24:49 pm »
What helped me is to read the documentation ( http://axe.eeems.ca/Documentation.pdf ) and then just start asking questions :)

49
Introduce Yourself! / Re: Hello, Omnimaga Forums.
« on: January 01, 2017, 12:23:59 pm »
Hello there!
There is less activity here then there used to be, yes. But we still have fun coding! ^.^

Anyhow, have some peanuts
!peanuts

50
News / Re: Reuben Quest: Lost Between Times
« on: December 29, 2016, 01:55:21 pm »
I just finished beating the game. Woah! It was AWESOAME!  :thumbsup:
Awesome!
Quote
I just have a couple of bugs to report.
heehee, that is what they are good for :P
Quote
When you use the hookshot, it can pull you partly into a wall. It doesn't do anything bad (you can't walk though walls then) but Ruben IS partly inside a wall.
Yeah, known bug and i was too lazy to fix it.....i still didn't >.>
Quote
The other is a little more serious. If you collect a special item (like swimsuit) save the game, and then start a new game, you will still gain the effect. I noticed this when I loaded my beaten game, created a new one, and was able to swim in shallow water! The inventory doesn't report me having the swimsuit though and when I reloaded it I could no longer swim.
Thanks, fixed!
Quote
It appears that buying elxir inside the Ailreon shop is free. While the text says it is 100 gold, my gold doesn't go down when I buy some. All the other items have normal prices as far as I can tell.
it was 1 gold, fail on my side, fixed!
Quote
Other than that, it is a really awesome game! I was blown away!
Thank you!

So yeah I updated the ticalc.org thing, so when it'll be accepted then you'll be albe to download the fixes
EDIT: Approved on ticalc now. Savefiles are compatible

51
News / Re: Reuben Quest: Lost Between Times
« on: December 28, 2016, 06:21:22 am »
Good to see that this is finally released! I'll definitely play this when I get a chance!
And it also means I get to have a whole 'nother year to work on Escheron since I know what's winning the 2017 POTY award...
Heehee, thanks ;) Also I'd not be sure if reuben would win against escheron.. ;)
Holy canoli, +1 for that, for sure! It looks sooo good! Gonna start playing when I boot up my pi to send to my calc!

I wonder if this will make it into next year's POTY then? I sure hope so XD
Thanks! Featured programs on ticalc are automatically enrolled for POTY, so the requirement would be to get it featured ;)
It looks amazing!!! Congratulations on finishing.
thank you!
Congrats on the release! It looks awesome ;)
thanks~

EDIT: Wooops, forgot SpiroH's post!
It's been about two years since I started working on <url>, but now it is finally done!
Sometimes you get lost. Current times are a  mess. 'Lost between times' is the way forward.
It's kinda nice you've just missed this year's POTY (less fame bound can also be cool at times  :blah:).
Heehee, nice pun, and I hope you'll enjoy playing it :)

52
News / Re: Reuben Quest: Lost Between Times
« on: December 17, 2016, 12:48:05 pm »
Wuhu, it's finally finished :)

So I known what I am going to during the time I have to spent on my travel to Hamburg ;)


Thank you!


I made a trailer thing and added it to first post

53
News / Re: Reuben Quest: Lost Between Times
« on: December 17, 2016, 08:26:29 am »
That's so cool, I can't wait to have my TI-z80 back now!
Thanks! I sure hope you'll enjoy it!
Quote
I can see in the image the term "cought", does it actually exist or is it a mispelling?
How embarissing, it's actually a misspelling :P
I fixed it now in my local version so that if i ever update a bugfix release or something it will be fixed, too, however IMO it is too minor to spam the ticalc file archives with that :P

54
News / Re: Reuben Quest: Lost Between Times
« on: December 16, 2016, 07:06:14 pm »
I see you made it just in time for the TI Calc POTY award! I know who I'm voting for! lol
Actually I didn't, deadline was the program to be featured before 1st december :P
Quote
Seriously guys, just from the demo that I saw, this game is amazing! There's the main quest, but so many little secrets hidden everywhere. You feel your character's strength when he levels up, and the bad guys' sprites are beautiful! The plot is more than just the main story; it's a whole world to explore. Go ahead, give it a download and see for yourself!

This would be a 10/10 in my book.
Thank you! It did take a lot of work to make this thing after all :)

55
Reuben Quest / Re: Reuben 3 teasers / change / stuff
« on: December 16, 2016, 12:23:48 pm »
aaaaaaand it is released!
You can view the news-topic about that here: https://www.omnimaga.org/news/reuben-quest-lost-between-times-22408

56
News / Reuben Quest: Lost Between Times
« on: December 16, 2016, 12:20:50 pm »
Reuben Quest: Lost Between Times

It's been about two years since I started working on Reuben Quest: Lost Between Times, but now it is finally done!

Have fun joining Reuben in an epic adventure, to do so just download it over here: http://www.ticalc.org/archives/files/fileinfo/468/46837.html
This RPG is full of monsters, caves, secrets, side-quests and much more! With many hours of playtime the fun is guaranteed to last quite some time.





Also, happy holidays!

57
The Axe Parser Project / Re: Dynamically access variables
« on: December 13, 2016, 03:48:19 pm »
You can do this by writing the addresses of the three sprites into a buffer, yes. The code would look something like this:

Code: [Select]
Pt-On(X,Y,{L*2-2+Data(Pic1ʳ,Pic2ʳ,Pic3ʳ)}ʳ)
However, best would be to declare the sprite data in sequence so each one's data immediately follows the next, which allows this:

Code: [Select]
[0123456789ABCDEF]→Pic1
[FEDCBA9876543210]→Pic2
[FFFFFFFFFFFFFFFF]→Pic3
...
other stuff here
...
Pt-On(X,Y,L*8-8+Pic1)

And a suggestion: in either case, your life would be made easier by using zero-based numbering. That generally translates into simpler/more efficient code. In the first case, you could remove the -2, and in the second case, you could remove the -8.
You actually only have to name the first block, so that your code looks like this (assuming now you have zero-based numbering):
Code: [Select]
[0123456789ABCDEF]→Pic1
[FEDCBA9876543210
[FFFFFFFFFFFFFFFF
...
other stuff here
...
Pt-On(X,Y,L*8+Pic1)

58
The Axe Parser Project / Re: Dynamically access variables
« on: December 13, 2016, 01:09:56 pm »
Well, you could do something like
Code: [Select]
Pt-On(....,L=1?Pic1,(L=2?Pic2,(L=3?Pic3))))
Or, preferable, probably a pointer-table, however it slipped my mind right now how to do those in axe....
If you are wondering what that question-mark stuff does: https://derpybot.sorunome.de/axe.php?q=%3F

59
Introduce Yourself! / Re: Heyo!
« on: November 23, 2016, 02:51:54 pm »
Hey, welcome to omnimaga!
I hope you'll enjoy your stay ^.^

Long live the community, indeed! Are you working on anything interesting?

60
Computer Projects and Ideas / Re: Pebble MPD Client
« on: November 20, 2016, 10:57:32 am »
Aaaaaand updated to 1.1.0 to support way more watch models and added a proxy server to use optionally if direct connections aren't working with your setup! (as the pebble SDK actually doesn't allow raw socket connections and i do some tricks with http requests and stuff....)

Pages: 1 2 3 [4] 5 6 ... 591