Author Topic: Features Wishlist  (Read 607404 times)

0 Members and 5 Guests are viewing this topic.

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 #1410 on: October 12, 2010, 10:04:12 pm »
I have an interesting request.  I request that the user variables are moved into L2 so that L1 can be opened up into a 3rd full screen buffer, or a larger span of memory.  L2 *is* the location for some interrupt data for MirageOS and Axe alike, but MirageOS does not seem to use the last 56 bytes of L2 and i believe Axe could be restructured in itself.  What do you think?  Is this possible?
« Last Edit: October 12, 2010, 10:25:27 pm by Builderboy »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #1411 on: October 12, 2010, 10:38:07 pm »
1) Do not use the variables A-Z or Theta or rand and use L1-56 as a third buffer.
I thought those vars were moved elsewhere to allow the usage of both the 768 bytes there and the variables?

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 #1412 on: October 12, 2010, 10:51:21 pm »
I just checked and they are still at L1-56 as of version 0.4.5.  Moving them is what i was suggesting :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #1413 on: October 12, 2010, 11:20:14 pm »
Ah ok. I thought Quigibo said he might move them before.

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 #1414 on: October 13, 2010, 01:50:19 am »
I was able to work around it.  A bit of a slowdown, but oh well.
The line request still stands though ;)
Vy'o'us pleorsdti thl'e gjaemue

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1415 on: October 13, 2010, 05:41:22 am »
I have an interesting request.  I request that the user variables are moved into L2 so that L1 can be opened up into a 3rd full screen buffer, or a larger span of memory.  L2 *is* the location for some interrupt data for MirageOS and Axe alike, but MirageOS does not seem to use the last 56 bytes of L2 and i believe Axe could be restructured in itself.  What do you think?  Is this possible?

I second this.

SirCmpwn

  • Guest
Re: Features Wishlist
« Reply #1416 on: October 13, 2010, 08:43:54 am »
I agree with moving the variables to L2.
I also second the backbuffer line drawing request, but I want to extend it to allow lines to be safely drawn off screen.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Features Wishlist
« Reply #1417 on: October 13, 2010, 10:03:03 am »
I don't really care where the vars are located. I was using their locations to edit them in some old code, but I replaced that code with new code, so for me this is not a problem at all. I could become very handy in cases when you need to store the current screen to an extra buffer, though you could use an Appvar for that. But when L1 would become 768 bytes, then it will be faster to use that, but the difference in duration would be unnoticably small, I think.
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

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 #1418 on: October 13, 2010, 10:37:56 am »
The reason three buffers would help--1st buffer:2nd and 3rd buffer write to and use for dispgraph--2nd buffer:use for static (not moving) map--3rd buffer:enemies
Vy'o'us pleorsdti thl'e gjaemue

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 #1419 on: October 13, 2010, 11:20:28 am »
I'm not sure how _InsertMem and _DeleteMem work, but couldn't they mess up data pointers in the VAT? I thought they were used only in edit buffers.




Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1420 on: October 13, 2010, 12:49:32 pm »
I'm not sure how _InsertMem and _DeleteMem work, but couldn't they mess up data pointers in the VAT? I thought they were used only in edit buffers.

Seeing that there's a bcall called InsertMemNoUpdateVAT, I would have to assume that InsertMem (and DelMem) automatically update the VAT.

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 #1421 on: October 13, 2010, 01:48:26 pm »
Oh, I see.

And yes, I second (or whatever this is) the request to move the vars to L2.




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #1422 on: October 13, 2010, 03:24:53 pm »
I agree with moving the variables to L2.
I also second the backbuffer line drawing request, but I want to extend it to allow lines to be safely drawn off screen.
Would it cause problem with Mirage, though?
* DJ Omnimaga hopes Doors CS doesn't have those issues with L2...

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 #1423 on: October 13, 2010, 03:50:48 pm »
Builderboy mentioned earlier that Mirage doesn't use at least the last 56 bytes of L2, so it should work. I don't think DCS has any built-in interrupts at all, so you can toy with L2 all you want.




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Features Wishlist
« Reply #1424 on: October 13, 2010, 03:56:50 pm »
Ah ok, sounds good if it's the case.