Author Topic: Features Wishlist  (Read 681793 times)

0 Members and 6 Guests are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Features Wishlist
« Reply #3165 on: February 21, 2013, 03:21:06 pm »
It would be nice if you could import a binary file as inline assembly. This would allow easier use of Mimas.

Really the proper thing to do would be to make an Axiom. :P But I'll look into it.
I'm too lazy for that and I want crazy freaking subroutineless speed. :P

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3166 on: February 21, 2013, 03:58:14 pm »
Commands in Axioms can be marked to be inserted inline. Anyways there isn't really a reason why you should want to include a raw assembly program directly into an Axe program, because a proper assembly program should have things like a header and could have absolute jumps and calls and such.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #3167 on: February 23, 2013, 07:57:53 pm »
Could the check for a too-large app happen after the first pass, instead of after the second pass and defragmentation?
And could it say, "ERR: App Too Big" or something like that?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Features Wishlist
« Reply #3168 on: February 24, 2013, 01:27:23 am »
Commands in Axioms can be marked to be inserted inline. Anyways there isn't really a reason why you should want to include a raw assembly program directly into an Axe program, because a proper assembly program should have things like a header and could have absolute jumps and calls and such.
Actually, I'm writing small routines and assembling them without a header. Currently, I'm importing them as data and using an address call. Which is probably not the way to do it.
« Last Edit: February 24, 2013, 01:27:48 am by Streetwalker »

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #3169 on: February 26, 2013, 04:18:09 pm »
RectCopy(X1,Y1,dX,dY,X2,Y2[Buf1[,Buf2]])
This would take a rectangle with the top left corner at (X1,Y1), dX wide, dY tall, and copy it to X2,Y2.
No buffer arguments would copy from L6 to L6, and r from L3 to L3. One buffer argument would be from Buf1 to Buf1, and two would be from Buf1 to Buf2.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Features Wishlist
« Reply #3170 on: February 26, 2013, 06:44:51 pm »
^that would actually be very very useful, if it could be managed at a decent speed.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3171 on: February 26, 2013, 06:56:46 pm »
That would be insanely hard to code. Basically it's like drawing an arbitrarily sized sprite, which is hard enough, but on top of that the source data for the sprite doesn't have to be aligned to byte boundaries, you have to clip off any garbage in the leftmost and rightmost bytes, you have to draw the new sprite either from top to bottom and either from left to right according to the relative positions of the rectangles... It's a big mess.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Features Wishlist
« Reply #3172 on: February 26, 2013, 07:37:38 pm »
what about just drawing sprites from byte-aligned positions on a buffer (so reading every twelfth byte rather than all in one contiguous chunk)? that would give, basically, the same functionality.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3173 on: February 26, 2013, 07:44:38 pm »
I'm not sure I know what you mean by that.

Also I should probably ask, in what situations would you use a command like this? That might give me slightly better insight to the value of something like it.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Features Wishlist
« Reply #3174 on: February 26, 2013, 07:54:11 pm »
it would be useful for copying chunks of the back buffer to the front buffer, rather than recalling the whole thing.
what i'm talking about could be accomplished with:
For(L,0,7
copy(L*12+<buffer one offset>, L*12+<buffer two offset>,1
End
, for example.
« Last Edit: February 26, 2013, 07:54:35 pm by shmibs »

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #3175 on: February 26, 2013, 10:31:06 pm »
I'm trying to "roll" parts of the screen, make them behave as if they were a toroid.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #3176 on: February 26, 2013, 10:35:09 pm »
Since I don't even know what a toroid is... I think you're on your own for this one lol.



EDIT: Didn't see shmibs' post, here's my response to that: Doing the same thing with a custom assembly routine wouldn't be substantially smaller or faster, so I don't see a reason to implement such a command.
« Last Edit: February 26, 2013, 10:39:15 pm by Runer112 »

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #3177 on: February 26, 2013, 11:15:41 pm »
You know how the ship behaves when it goes off the edge of the screen in Asteroids?
I'm trying to do that, but with a smaller portion of the screen.
And it's not a ship. It's just that kind of behavior.
« Last Edit: February 26, 2013, 11:17:14 pm by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #3178 on: February 27, 2013, 12:02:50 am »
You probably would be better off just displaying 2 or more sprites at the proper offsets at the edges of the area, and then masking off the unwanted parts with rect commands or copy commands or something.

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 #3179 on: February 27, 2013, 08:02:58 am »
Did everybody forget about Pt-Get? D:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman